docstring_tokens
stringlengths
18
16.9k
code_tokens
stringlengths
75
1.81M
html_url
stringlengths
74
116
file_name
stringlengths
3
311
keep keep keep keep replace replace replace replace replace replace replace keep keep keep keep keep
<mask> import android.view.View; <mask> <mask> import java.util.Map; <mask> <mask> import expo.core.ExportedModule; <mask> import expo.core.ModuleRegistry; <mask> import expo.core.Promise; <mask> import expo.core.interfaces.ExpoMethod; <mask> import expo.core.interfaces.ModuleRegistryConsumer; <mask> import expo.core.interfaces.services.UIManager; <mask> import expo.interfaces.camera.ExpoCameraViewInterface; <mask> <mask> public class GLObjectManagerModule extends ExportedModule implements ModuleRegistryConsumer { <mask> private SparseArray<GLObject> mGLObjects = new SparseArray<>(); <mask> private SparseArray<GLContext> mGLContextMap = new SparseArray<>(); <mask> </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.LifecycleEventListener; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.LifecycleEventListener; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.LifecycleEventListener; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.LifecycleEventListener; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.interfaces.taskManager.TaskManagerInterface; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.interfaces.taskManager.TaskManagerInterface; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/android/src/main/java/expo/modules/gl/GLObjectManagerModule.java
keep replace keep replace keep keep keep keep
<mask> <mask> uiManager.addUIBlock(cameraViewTag, new UIManager.UIBlock<ExpoCameraViewInterface>() { <mask> @Override <mask> public void resolve(final ExpoCameraViewInterface cameraView) { <mask> final GLContext glContext = getContextWithId(exglCtxId); <mask> <mask> if (glContext == null) { <mask> promise.reject("E_GL_NO_CONTEXT", "ExponentGLObjectManager.createCameraTextureAsync: GLContext not found for given context id."); </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove }, ExpoCameraViewInterface.class); </s> add }, CameraViewInterface.class); </s> remove GLCameraObject(final GLContext glContext, final ExpoCameraViewInterface cameraView) { </s> add GLCameraObject(final GLContext glContext, final CameraViewInterface cameraView) { </s> remove private ExpoCameraViewInterface mCameraView; </s> add private CameraViewInterface mCameraView; </s> remove return Collections.singletonList((Class) expo.interfaces.barcodescanner.BarCodeScannerProvider.class); </s> add return Collections.singletonList((Class) org.unimodules.interfaces.barcodescanner.BarCodeScannerProvider.class); </s> remove } </s> add
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/android/src/main/java/expo/modules/gl/GLObjectManagerModule.java
keep keep keep keep replace keep keep keep keep keep
<mask> @Override <mask> public void reject(Throwable throwable) { <mask> promise.reject("E_GL_BAD_CAMERA_VIEW_TAG", "ExponentGLObjectManager.createCameraTextureAsync: Expected a CameraView", throwable); <mask> } <mask> }, ExpoCameraViewInterface.class); <mask> } <mask> <mask> @ExpoMethod <mask> public void takeSnapshotAsync(final int exglCtxId, final Map<String, Object> options, final Promise promise) { <mask> GLContext glContext = getContextWithId(exglCtxId); </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove public void resolve(final ExpoCameraViewInterface cameraView) { </s> add public void resolve(final CameraViewInterface cameraView) { </s> remove uiManager.addUIBlock(cameraViewTag, new UIManager.UIBlock<ExpoCameraViewInterface>() { </s> add uiManager.addUIBlock(cameraViewTag, new UIManager.UIBlock<CameraViewInterface>() { </s> remove } </s> add </s> remove import expo.core.ModuleRegistry; </s> add import org.unimodules.core.ModuleRegistry; </s> remove } </s> add </s> remove GLCameraObject(final GLContext glContext, final ExpoCameraViewInterface cameraView) { </s> add GLCameraObject(final GLContext glContext, final CameraViewInterface cameraView) {
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/android/src/main/java/expo/modules/gl/GLObjectManagerModule.java
keep keep keep keep replace replace replace keep keep keep keep keep
<mask> <mask> import java.util.Collections; <mask> import java.util.List; <mask> <mask> import expo.core.ExportedModule; <mask> import expo.core.BasePackage; <mask> import expo.core.ViewManager; <mask> <mask> public class GLPackage extends BasePackage { <mask> @Override <mask> public List<ExportedModule> createExportedModules(Context context) { <mask> return Collections.singletonList((ExportedModule) new GLObjectManagerModule(context)); </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; import expo.core.ViewManager; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; import org.unimodules.core.ViewManager; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; import expo.core.ViewManager; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; import org.unimodules.core.ViewManager; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/android/src/main/java/expo/modules/gl/GLPackage.java
keep keep keep keep replace
<mask> @Override <mask> public List<ViewManager> createViewManagers(Context context) { <mask> return Collections.singletonList((ViewManager) new GLViewManager()); <mask> } <mask> } </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.BasePackage; import expo.core.ViewManager; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ViewManager; </s> remove } </s> add </s> remove return Collections.singletonList((Class) expo.interfaces.barcodescanner.BarCodeScannerProvider.class); </s> add return Collections.singletonList((Class) org.unimodules.interfaces.barcodescanner.BarCodeScannerProvider.class); </s> remove return Collections.singletonList((Class) expo.interfaces.facedetector.FaceDetectorProvider.class); </s> add return Collections.singletonList((Class) org.unimodules.interfaces.facedetector.FaceDetectorProvider.class); </s> remove } </s> add </s> remove import expo.core.interfaces.SingletonModule; </s> add import org.unimodules.core.interfaces.SingletonModule;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/android/src/main/java/expo/modules/gl/GLPackage.java
keep keep keep keep replace replace keep keep keep keep keep
<mask> import android.graphics.SurfaceTexture; <mask> import android.os.Bundle; <mask> import android.view.TextureView; <mask> <mask> import expo.core.ModuleRegistry; <mask> import expo.core.interfaces.services.EventEmitter; <mask> <mask> public class GLView extends TextureView implements TextureView.SurfaceTextureListener { <mask> private boolean mOnSurfaceCreateCalled = false; <mask> private boolean mOnSurfaceTextureCreatedWithZeroSize = false; <mask> </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.Promise; </s> add import org.unimodules.core.Promise; </s> remove import expo.core.interfaces.SingletonModule; </s> add import org.unimodules.core.interfaces.SingletonModule; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.LifecycleEventListener; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.LifecycleEventListener; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager; </s> remove import expo.core.ModuleRegistry; import expo.interfaces.barcodescanner.BarCodeScanner; import expo.interfaces.barcodescanner.BarCodeScannerProvider; import expo.interfaces.barcodescanner.BarCodeScannerResult; import expo.interfaces.barcodescanner.BarCodeScannerSettings; </s> add import org.unimodules.core.ModuleRegistry; import org.unimodules.interfaces.barcodescanner.BarCodeScanner; import org.unimodules.interfaces.barcodescanner.BarCodeScannerProvider; import org.unimodules.interfaces.barcodescanner.BarCodeScannerResult; import org.unimodules.interfaces.barcodescanner.BarCodeScannerSettings; </s> remove import expo.core.interfaces.services.EventEmitter; </s> add import org.unimodules.core.interfaces.services.EventEmitter; </s> remove import expo.core.interfaces.services.EventEmitter; </s> add import org.unimodules.core.interfaces.services.EventEmitter;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/android/src/main/java/expo/modules/gl/GLView.java
keep keep keep keep replace replace replace replace keep keep keep keep keep
<mask> import java.util.Arrays; <mask> import java.util.List; <mask> import java.util.Map; <mask> <mask> import expo.core.ModuleRegistry; <mask> import expo.core.ViewManager; <mask> import expo.core.interfaces.ExpoProp; <mask> import expo.core.interfaces.ModuleRegistryConsumer; <mask> <mask> public class GLViewManager extends ViewManager<GLView> implements ModuleRegistryConsumer { <mask> private ModuleRegistry mModuleRegistry; <mask> <mask> @Override </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.ModuleRegistry; import expo.core.ViewManager; import expo.core.interfaces.ExpoProp; import expo.core.interfaces.ModuleRegistryConsumer; </s> add import org.unimodules.core.ModuleRegistry; import org.unimodules.core.ViewManager; import org.unimodules.core.interfaces.ExpoProp; import org.unimodules.core.interfaces.ModuleRegistryConsumer; </s> remove import expo.core.ModuleRegistry; import expo.core.ViewManager; import expo.core.interfaces.ExpoProp; import expo.core.interfaces.ModuleRegistryConsumer; </s> add import org.unimodules.core.ModuleRegistry; import org.unimodules.core.ViewManager; import org.unimodules.core.interfaces.ExpoProp; import org.unimodules.core.interfaces.ModuleRegistryConsumer; </s> remove import expo.interfaces.filesystem.Permission; </s> add import org.unimodules.interfaces.filesystem.Permission; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; </s> remove import expo.core.ModuleRegistry; import expo.core.ViewManager; import expo.core.interfaces.ExpoProp; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.EventEmitter; </s> add import org.unimodules.core.ModuleRegistry; import org.unimodules.core.ViewManager; import org.unimodules.core.interfaces.ExpoProp; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.EventEmitter; </s> remove import expo.core.ModuleRegistry; import expo.core.ViewManager; import expo.core.interfaces.ExpoProp; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.EventEmitter; </s> add import org.unimodules.core.ModuleRegistry; import org.unimodules.core.ViewManager; import org.unimodules.core.interfaces.ExpoProp; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.EventEmitter;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/android/src/main/java/expo/modules/gl/GLViewManager.java
keep replace keep keep replace
<mask> import PropTypes from 'prop-types'; <mask> import { NativeModulesProxy, requireNativeViewManager } from 'expo-core'; <mask> import { Platform, View, ViewPropTypes, findNodeHandle } from 'react-native'; <mask> const packageJSON = require('../package.json'); <mask> import { UnavailabilityError } from 'expo-errors'; </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import { NativeModulesProxy, requireNativeViewManager } from 'expo-core'; </s> add import { NativeModulesProxy, requireNativeViewManager } from '@unimodules/core'; </s> remove import { NativeModulesProxy, requireNativeViewManager } from 'expo-core'; </s> add import { NativeModulesProxy, requireNativeViewManager } from '@unimodules/core'; </s> remove import { NativeModulesProxy, requireNativeViewManager } from 'expo-core'; </s> add import { NativeModulesProxy, requireNativeViewManager } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { requireNativeViewManager } from 'expo-core'; </s> add import { requireNativeViewManager } from '@unimodules/core';
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/build/GLView.js
keep keep keep keep replace keep keep keep keep keep
<mask> import invariant from 'invariant'; <mask> import PropTypes from 'prop-types'; <mask> import React from 'react'; <mask> import { StyleSheet } from 'react-native'; <mask> import { UnavailabilityError, CodedError } from 'expo-errors'; <mask> function getImageForAsset(asset) { <mask> if (asset != null && typeof asset === 'object' && asset !== null && asset.downloadAsync) { <mask> const dataURI = asset.localUri || asset.uri || ''; <mask> const image = new Image(); <mask> image.src = dataURI; </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import { UnavailabilityError, CodedError } from 'expo-errors'; </s> add import { UnavailabilityError, CodedError } from '@unimodules/core'; </s> remove import { Platform } from 'expo-core'; </s> add import { Platform } from '@unimodules/core'; </s> remove import { NativeModulesProxy, requireNativeViewManager } from 'expo-core'; </s> add import { NativeModulesProxy, requireNativeViewManager } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { NativeModulesProxy, requireNativeViewManager } from 'expo-core'; </s> add import { NativeModulesProxy, requireNativeViewManager } from '@unimodules/core'; </s> remove import { Platform } from 'expo-core'; </s> add import { Platform } from '@unimodules/core';
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/build/GLView.web.js
keep keep keep keep replace replace replace keep keep
<mask> s.source_files = '**/*.{h,m}' <mask> s.preserve_paths = '**/*.{h,m}' <mask> s.requires_arc = true <mask> <mask> s.dependency 'EXCore' <mask> s.dependency 'EXFileSystemInterface' <mask> s.dependency 'EXCameraInterface' <mask> s.dependency 'EXGL-CPP' <mask> end </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove s.dependency 'EXCore' s.dependency 'EXFileSystemInterface' </s> add s.dependency 'UMCore' s.dependency 'UMFileSystemInterface' </s> remove s.dependency 'EXCore' s.dependency 'EXFileSystemInterface' </s> add s.dependency 'UMCore' s.dependency 'UMFileSystemInterface' </s> remove s.dependency 'EXCore' s.dependency 'EXFileSystemInterface' s.dependency 'EXImageLoaderInterface' </s> add s.dependency 'UMCore' s.dependency 'UMFileSystemInterface' s.dependency 'UMImageLoaderInterface' </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore' </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore' </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore'
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/ios/EXGL.podspec
keep keep replace keep keep keep keep keep
<mask> // Copyright 2016-present 650 Industries. All rights reserved. <mask> <mask> #import <EXCameraInterface/EXCameraInterface.h> <mask> <mask> #import <EXGL/EXGLContext.h> <mask> #import <EXGL/EXGLObject.h> <mask> <mask> @interface EXGLCameraObject : EXGLObject </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove #import <EXCore/EXModuleRegistry.h> </s> add #import <UMCore/UMModuleRegistry.h> </s> remove #import <EXCore/EXViewManager.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMViewManager.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXViewManager.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMViewManager.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXViewManager.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMViewManager.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXExportedModule.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMExportedModule.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXInternalModule.h> #import <EXBarCodeScannerInterface/EXBarCodeScannerProviderInterface.h> </s> add #import <UMCore/UMInternalModule.h> #import <UMBarCodeScannerInterface/UMBarCodeScannerProviderInterface.h>
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/ios/EXGL/EXGLCameraObject.h
keep keep keep keep replace keep keep
<mask> #import <EXGL/EXGLObject.h> <mask> <mask> @interface EXGLCameraObject : EXGLObject <mask> <mask> - (instancetype)initWithContext:(EXGLContext *)glContext andCamera:(id<EXCameraInterface>)camera; <mask> <mask> @end </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove #import <EXCameraInterface/EXCameraInterface.h> </s> add #import <UMCameraInterface/UMCameraInterface.h> </s> remove - (instancetype)initWithContext:(EXGLContext *)glContext andCamera:(id<EXCameraInterface>)camera </s> add - (instancetype)initWithContext:(EXGLContext *)glContext andCamera:(id<UMCameraInterface>)camera </s> remove - (instancetype)initWithUserNotificationCenter:(id<EXUserNotificationCenterProxyInterface>)userNotificationCenter; </s> add - (instancetype)initWithUserNotificationCenter:(id<UMUserNotificationCenterProxyInterface>)userNotificationCenter; </s> remove @interface EXExpoUserNotificationCenterProxy : NSObject <EXInternalModule, EXUserNotificationCenterProxyInterface> </s> add @interface EXExpoUserNotificationCenterProxy : NSObject <UMInternalModule, UMUserNotificationCenterProxyInterface> </s> remove @interface EXBarCodeScanner : NSObject <EXBarCodeScannerInterface> </s> add @interface EXBarCodeScanner : NSObject <UMBarCodeScannerInterface> </s> remove @interface EXUtilService : EXSingletonModule </s> add @interface EXUtilService : UMSingletonModule
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/ios/EXGL/EXGLCameraObject.h
keep keep keep keep replace keep keep keep keep keep
<mask> <mask> #include <OpenGLES/ES3/gl.h> <mask> #include <OpenGLES/ES3/glext.h> <mask> <mask> #import <EXCameraInterface/EXCameraInterface.h> <mask> <mask> #import <EXGL/EXGLCameraObject.h> <mask> #import <EXGL/EXGLContext.h> <mask> <mask> @interface EXGLCameraObject () <AVCaptureVideoDataOutputSampleBufferDelegate> </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove #import <EXCameraInterface/EXCameraInterface.h> </s> add #import <UMCameraInterface/UMCameraInterface.h> </s> remove @property (nonatomic, strong) id<EXCameraInterface> camera; </s> add @property (nonatomic, strong) id<UMCameraInterface> camera; </s> remove #import <EXCore/EXModuleRegistry.h> </s> add #import <UMCore/UMModuleRegistry.h> </s> remove - (instancetype)initWithContext:(EXGLContext *)glContext andCamera:(id<EXCameraInterface>)camera; </s> add - (instancetype)initWithContext:(EXGLContext *)glContext andCamera:(id<UMCameraInterface>)camera; </s> remove @property (nonatomic, weak) id<EXConstantsInterface> constantsModule; </s> add @property (nonatomic, weak) id<UMConstantsInterface> constantsModule; </s> remove #import <EXCore/EXDefines.h> #import <EXCore/EXEventEmitter.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMDefines.h> #import <UMCore/UMEventEmitter.h> #import <UMCore/UMModuleRegistryConsumer.h>
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/ios/EXGL/EXGLCameraObject.m
keep keep keep keep replace keep keep keep keep keep
<mask> #import <EXGL/EXGLContext.h> <mask> <mask> @interface EXGLCameraObject () <AVCaptureVideoDataOutputSampleBufferDelegate> <mask> <mask> @property (nonatomic, strong) id<EXCameraInterface> camera; <mask> @property (nonatomic, strong) EAGLContext *eaglCtx; <mask> @property (nonatomic, strong) AVCaptureVideoDataOutput *cameraOutput; <mask> @property (nonatomic, assign) CVOpenGLESTextureCacheRef cameraTextureCache; <mask> <mask> @end </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove @property (nonatomic, strong) EXPromiseResolveBlock resolve; @property (nonatomic, strong) EXPromiseRejectBlock reject; </s> add @property (nonatomic, strong) UMPromiseResolveBlock resolve; @property (nonatomic, strong) UMPromiseRejectBlock reject; </s> remove @property (nonatomic, weak) EXModuleRegistry *moduleRegistry; @property (nonatomic, weak) id<EXFileSystemInterface> fileSystem; @property (nonatomic, weak) id<EXUtilitiesInterface> utilities; </s> add @property (nonatomic, weak) UMModuleRegistry *moduleRegistry; @property (nonatomic, weak) id<UMFileSystemInterface> fileSystem; @property (nonatomic, weak) id<UMUtilitiesInterface> utilities; </s> remove @property (nonatomic, strong) id<EXTaskInterface> task; </s> add @property (nonatomic, strong) id<UMTaskInterface> task; </s> remove @interface EXBarCodeScannerView : UIView <EXAppLifecycleListener> </s> add @interface EXBarCodeScannerView : UIView <UMAppLifecycleListener> </s> remove - (instancetype)initWithModuleRegistry:(EXModuleRegistry *)moduleRegistry; </s> add - (instancetype)initWithModuleRegistry:(UMModuleRegistry *)moduleRegistry; </s> remove @property (nonatomic, copy, nullable) EXDirectEventBlock onSurfaceCreate; </s> add @property (nonatomic, copy, nullable) UMDirectEventBlock onSurfaceCreate;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/ios/EXGL/EXGLCameraObject.m
keep keep keep keep replace keep keep keep keep keep
<mask> @end <mask> <mask> @implementation EXGLCameraObject <mask> <mask> - (instancetype)initWithContext:(EXGLContext *)glContext andCamera:(id<EXCameraInterface>)camera <mask> { <mask> UEXGLContextId exglCtxId = [glContext contextId]; <mask> <mask> if (self = [super initWithConfig:@{ @"exglCtxId": @(exglCtxId) }]) { <mask> _eaglCtx = [glContext createSharedEAGLContext]; </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove - (instancetype)initWithContext:(EXGLContext *)glContext andCamera:(id<EXCameraInterface>)camera; </s> add - (instancetype)initWithContext:(EXGLContext *)glContext andCamera:(id<UMCameraInterface>)camera; </s> remove _constantsModule = [moduleRegistry getModuleImplementingProtocol:@protocol(EXConstantsInterface)]; </s> add _constantsModule = [moduleRegistry getModuleImplementingProtocol:@protocol(UMConstantsInterface)]; </s> remove - (void)setModuleRegistry:(EXModuleRegistry *)moduleRegistry </s> add - (void)setModuleRegistry:(UMModuleRegistry *)moduleRegistry </s> remove EX_EXPORT_MODULE(ExpoDocumentPicker); </s> add UM_EXPORT_MODULE(ExpoDocumentPicker); </s> remove - (void)setModuleRegistry:(EXModuleRegistry *)moduleRegistry </s> add - (void)setModuleRegistry:(UMModuleRegistry *)moduleRegistry </s> remove - (EXFileSystemPermissionFlags)getExternalPathPermissions:(NSString *)path </s> add - (UMFileSystemPermissionFlags)getExternalPathPermissions:(NSString *)path
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/ios/EXGL/EXGLCameraObject.m
keep keep keep keep replace keep keep keep keep keep
<mask> // Copyright 2016-present 650 Industries. All rights reserved. <mask> <mask> #import <OpenGLES/EAGL.h> <mask> #import <EXGL-CPP/UEXGL.h> <mask> #import <EXCore/EXModuleRegistry.h> <mask> <mask> @class EXGLContext; <mask> <mask> @protocol EXGLContextDelegate <NSObject> <mask> </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove #import <EXCore/EXModuleRegistry.h> </s> add #import <UMCore/UMModuleRegistry.h> </s> remove #import <EXCameraInterface/EXCameraInterface.h> </s> add #import <UMCameraInterface/UMCameraInterface.h> </s> remove #import <EXCore/EXViewManager.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMViewManager.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXViewManager.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMViewManager.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXViewManager.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMViewManager.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXExportedModule.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMExportedModule.h> #import <UMCore/UMModuleRegistryConsumer.h>
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/ios/EXGL/EXGLContext.h
keep keep keep keep replace keep keep keep keep keep
<mask> @end <mask> <mask> @interface EXGLContext : NSObject <mask> <mask> - (instancetype)initWithDelegate:(id<EXGLContextDelegate>)delegate andModuleRegistry:(nonnull EXModuleRegistry *)moduleRegistry; <mask> - (void)initialize:(void(^)(BOOL))callback; <mask> - (BOOL)isInitialized; <mask> - (EAGLContext *)createSharedEAGLContext; <mask> - (void)runAsync:(void(^)(void))callback; <mask> - (void)runInEAGLContext:(EAGLContext*)context callback:(void(^)(void))callback; </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove - (void)takeSnapshotWithOptions:(nonnull NSDictionary *)options resolve:(EXPromiseResolveBlock)resolve reject:(EXPromiseRejectBlock)reject; </s> add - (void)takeSnapshotWithOptions:(nonnull NSDictionary *)options resolve:(UMPromiseResolveBlock)resolve reject:(UMPromiseRejectBlock)reject; </s> remove - (instancetype)initWithModuleRegistry:(EXModuleRegistry *)moduleRegistry; - (EXModuleRegistry *)moduleRegistry; </s> add - (instancetype)initWithModuleRegistry:(UMModuleRegistry *)moduleRegistry; - (UMModuleRegistry *)moduleRegistry; </s> remove - (instancetype)initWithModuleRegistry:(EXModuleRegistry *)moduleRegistry; </s> add - (instancetype)initWithModuleRegistry:(UMModuleRegistry *)moduleRegistry; </s> remove - (instancetype)initWithModuleRegistry:(EXModuleRegistry *)moduleRegistry; </s> add - (instancetype)initWithModuleRegistry:(UMModuleRegistry *)moduleRegistry; </s> remove - (id<EXInternalModule>)pickInternalModuleImplementingInterface:(Protocol *)interface fromAmongModules:(NSArray<id<EXInternalModule>> *)internalModules; </s> add - (id<UMInternalModule>)pickInternalModuleImplementingInterface:(Protocol *)interface fromAmongModules:(NSArray<id<UMInternalModule>> *)internalModules; </s> remove - (instancetype)initWithUserNotificationCenter:(id<EXUserNotificationCenterProxyInterface>)userNotificationCenter; </s> add - (instancetype)initWithUserNotificationCenter:(id<UMUserNotificationCenterProxyInterface>)userNotificationCenter;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/ios/EXGL/EXGLContext.h
keep keep keep keep replace keep keep keep keep keep
<mask> - (BOOL)isInitialized; <mask> - (EAGLContext *)createSharedEAGLContext; <mask> - (void)runAsync:(void(^)(void))callback; <mask> - (void)runInEAGLContext:(EAGLContext*)context callback:(void(^)(void))callback; <mask> - (void)takeSnapshotWithOptions:(nonnull NSDictionary *)options resolve:(EXPromiseResolveBlock)resolve reject:(EXPromiseRejectBlock)reject; <mask> - (void)destroy; <mask> <mask> // "protected" <mask> @property (nonatomic, assign) UEXGLContextId contextId; <mask> @property (nonatomic, strong, nonnull) EAGLContext *eaglCtx; </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove @property (nonatomic, copy, nullable) EXDirectEventBlock onSurfaceCreate; </s> add @property (nonatomic, copy, nullable) UMDirectEventBlock onSurfaceCreate; </s> remove - (instancetype)initWithDelegate:(id<EXGLContextDelegate>)delegate andModuleRegistry:(nonnull EXModuleRegistry *)moduleRegistry; </s> add - (instancetype)initWithDelegate:(id<EXGLContextDelegate>)delegate andModuleRegistry:(nonnull UMModuleRegistry *)moduleRegistry; </s> remove - (instancetype)initWithModuleRegistry:(EXModuleRegistry *)moduleRegistry; </s> add - (instancetype)initWithModuleRegistry:(UMModuleRegistry *)moduleRegistry; </s> remove @property (nonatomic, weak) id<EXUIManager> uiManager; @property (nonatomic, weak) id<EXFileSystemInterface> fileSystem; </s> add @property (nonatomic, weak) id<UMUIManager> uiManager; @property (nonatomic, weak) id<UMFileSystemInterface> fileSystem; </s> remove @property (nonatomic, copy) EXDirectEventBlock onSizeChange; @property (nonatomic, copy) EXDirectEventBlock onAdViewDidReceiveAd; @property (nonatomic, copy) EXDirectEventBlock onDidFailToReceiveAdWithError; @property (nonatomic, copy) EXDirectEventBlock onAdViewWillPresentScreen; @property (nonatomic, copy) EXDirectEventBlock onAdViewWillDismissScreen; @property (nonatomic, copy) EXDirectEventBlock onAdViewDidDismissScreen; @property (nonatomic, copy) EXDirectEventBlock onAdViewWillLeaveApplication; </s> add @property (nonatomic, copy) UMDirectEventBlock onSizeChange; @property (nonatomic, copy) UMDirectEventBlock onAdViewDidReceiveAd; @property (nonatomic, copy) UMDirectEventBlock onDidFailToReceiveAdWithError; @property (nonatomic, copy) UMDirectEventBlock onAdViewWillPresentScreen; @property (nonatomic, copy) UMDirectEventBlock onAdViewWillDismissScreen; @property (nonatomic, copy) UMDirectEventBlock onAdViewDidDismissScreen; @property (nonatomic, copy) UMDirectEventBlock onAdViewWillLeaveApplication; </s> remove @property (nonatomic, strong) id<EXCameraInterface> camera; </s> add @property (nonatomic, strong) id<UMCameraInterface> camera;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/ios/EXGL/EXGLContext.h
keep keep replace replace keep keep keep keep keep
<mask> // Copyright 2016-present 650 Industries. All rights reserved. <mask> <mask> #import <EXCore/EXExportedModule.h> <mask> #import <EXCore/EXModuleRegistryConsumer.h> <mask> <mask> #import <EXCore/EXUIManager.h> <mask> #import <EXFileSystemInterface/EXFileSystemInterface.h> <mask> <mask> @interface EXGLObjectManager : EXExportedModule <EXModuleRegistryConsumer> </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove #import <EXCore/EXExportedModule.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMExportedModule.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXExportedModule.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMExportedModule.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXExportedModule.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMExportedModule.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXExportedModule.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMExportedModule.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXViewManager.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMViewManager.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXViewManager.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMViewManager.h> #import <UMCore/UMModuleRegistryConsumer.h>
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/ios/EXGL/EXGLObjectManager.h
keep keep keep keep replace replace keep keep keep keep keep
<mask> <mask> #import <EXCore/EXExportedModule.h> <mask> #import <EXCore/EXModuleRegistryConsumer.h> <mask> <mask> #import <EXCore/EXUIManager.h> <mask> #import <EXFileSystemInterface/EXFileSystemInterface.h> <mask> <mask> @interface EXGLObjectManager : EXExportedModule <EXModuleRegistryConsumer> <mask> <mask> @property (nonatomic, weak) id<EXUIManager> uiManager; <mask> @property (nonatomic, weak) id<EXFileSystemInterface> fileSystem; </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove @interface EXGLObjectManager : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXGLObjectManager : UMExportedModule <UMModuleRegistryConsumer> </s> remove @property (nonatomic, weak) id<EXUIManager> uiManager; @property (nonatomic, weak) id<EXFileSystemInterface> fileSystem; </s> add @property (nonatomic, weak) id<UMUIManager> uiManager; @property (nonatomic, weak) id<UMFileSystemInterface> fileSystem; </s> remove @property (nonatomic, weak) EXModuleRegistry *moduleRegistry; @property (nonatomic, weak) id<EXFileSystemInterface> fileSystem; @property (nonatomic, weak) id<EXUtilitiesInterface> utilities; </s> add @property (nonatomic, weak) UMModuleRegistry *moduleRegistry; @property (nonatomic, weak) id<UMFileSystemInterface> fileSystem; @property (nonatomic, weak) id<UMUtilitiesInterface> utilities; </s> remove @property (nonatomic, strong) EXPromiseResolveBlock resolve; @property (nonatomic, strong) EXPromiseRejectBlock reject; </s> add @property (nonatomic, strong) UMPromiseResolveBlock resolve; @property (nonatomic, strong) UMPromiseRejectBlock reject; </s> remove #import <EXCore/EXExportedModule.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMExportedModule.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove @property (nonatomic, weak) id<EXConstantsInterface> constantsModule; </s> add @property (nonatomic, weak) id<UMConstantsInterface> constantsModule;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/ios/EXGL/EXGLObjectManager.h
keep keep replace keep replace replace keep keep keep
<mask> #import <EXFileSystemInterface/EXFileSystemInterface.h> <mask> <mask> @interface EXGLObjectManager : EXExportedModule <EXModuleRegistryConsumer> <mask> <mask> @property (nonatomic, weak) id<EXUIManager> uiManager; <mask> @property (nonatomic, weak) id<EXFileSystemInterface> fileSystem; <mask> <mask> - (void)saveContext:(nonnull id)glContext; <mask> - (void)deleteContextWithId:(nonnull NSNumber *)contextId; </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove #import <EXCore/EXUIManager.h> #import <EXFileSystemInterface/EXFileSystemInterface.h> </s> add #import <UMCore/UMUIManager.h> #import <UMFileSystemInterface/UMFileSystemInterface.h> </s> remove @property (nonatomic, weak) EXModuleRegistry *moduleRegistry; @property (nonatomic, weak) id<EXFileSystemInterface> fileSystem; @property (nonatomic, weak) id<EXUtilitiesInterface> utilities; </s> add @property (nonatomic, weak) UMModuleRegistry *moduleRegistry; @property (nonatomic, weak) id<UMFileSystemInterface> fileSystem; @property (nonatomic, weak) id<UMUtilitiesInterface> utilities; </s> remove @property (nonatomic, strong) EXPromiseResolveBlock resolve; @property (nonatomic, strong) EXPromiseRejectBlock reject; </s> add @property (nonatomic, strong) UMPromiseResolveBlock resolve; @property (nonatomic, strong) UMPromiseRejectBlock reject; </s> remove @property (nonatomic, weak) id<EXConstantsInterface> constantsModule; </s> add @property (nonatomic, weak) id<UMConstantsInterface> constantsModule; </s> remove @property (nonatomic, copy, nullable) EXDirectEventBlock onSurfaceCreate; </s> add @property (nonatomic, copy, nullable) UMDirectEventBlock onSurfaceCreate;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/ios/EXGL/EXGLObjectManager.h
keep keep keep keep replace keep keep keep keep keep
<mask> // Copyright 2016-present 650 Industries. All rights reserved. <mask> <mask> #import <EXGL-CPP/UEXGL.h> <mask> #import <EXGL/EXGLContext.h> <mask> #import <EXCore/EXModuleRegistry.h> <mask> <mask> NS_ASSUME_NONNULL_BEGIN <mask> <mask> @interface EXGLView : UIView <EXGLContextDelegate> <mask> </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove #import <EXCore/EXModuleRegistry.h> </s> add #import <UMCore/UMModuleRegistry.h> </s> remove #import <EXCameraInterface/EXCameraInterface.h> </s> add #import <UMCameraInterface/UMCameraInterface.h> </s> remove #import <EXCore/EXModuleRegistry.h> #import <EXCore/EXAppLifecycleListener.h> </s> add #import <UMCore/UMModuleRegistry.h> #import <UMCore/UMAppLifecycleListener.h> </s> remove #import <EXConstantsInterface/EXConstantsInterface.h> </s> add </s> remove #import <EXTaskManagerInterface/EXTaskConsumerInterface.h> </s> add #import <UMTaskManagerInterface/UMTaskConsumerInterface.h> </s> remove #import <EXCore/EXModuleRegistry.h> #import <EXCore/EXAppLifecycleListener.h> </s> add #import <UMCore/UMModuleRegistry.h> #import <UMCore/UMAppLifecycleListener.h>
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/ios/EXGL/EXGLView.h
keep keep keep keep replace keep keep keep keep keep
<mask> NS_ASSUME_NONNULL_BEGIN <mask> <mask> @interface EXGLView : UIView <EXGLContextDelegate> <mask> <mask> - (instancetype)initWithModuleRegistry:(EXModuleRegistry *)moduleRegistry; <mask> - (UEXGLContextId)exglCtxId; <mask> <mask> // AR <mask> - (void)setArSessionManager:(id)arSessionManager; <mask> - (void)maybeStopARSession; </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove - (instancetype)initWithModuleRegistry:(EXModuleRegistry *)moduleRegistry; - (EXModuleRegistry *)moduleRegistry; </s> add - (instancetype)initWithModuleRegistry:(UMModuleRegistry *)moduleRegistry; - (UMModuleRegistry *)moduleRegistry; </s> remove @interface EXBarCodeScannerView : UIView <EXAppLifecycleListener> </s> add @interface EXBarCodeScannerView : UIView <UMAppLifecycleListener> </s> remove - (instancetype)initWithModuleRegistry:(EXModuleRegistry *)moduleRegistry; </s> add - (instancetype)initWithModuleRegistry:(UMModuleRegistry *)moduleRegistry; </s> remove @property (nonatomic, copy, nullable) EXDirectEventBlock onSurfaceCreate; </s> add @property (nonatomic, copy, nullable) UMDirectEventBlock onSurfaceCreate; </s> remove - (instancetype)initWithDelegate:(id<EXGLContextDelegate>)delegate andModuleRegistry:(nonnull EXModuleRegistry *)moduleRegistry; </s> add - (instancetype)initWithDelegate:(id<EXGLContextDelegate>)delegate andModuleRegistry:(nonnull UMModuleRegistry *)moduleRegistry; </s> remove resolver:(EXPromiseResolveBlock)resolve rejecter:(EXPromiseRejectBlock)reject; </s> add resolver:(UMPromiseResolveBlock)resolve rejecter:(UMPromiseRejectBlock)reject;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/ios/EXGL/EXGLView.h
keep keep keep keep replace keep keep keep keep keep
<mask> // AR <mask> - (void)setArSessionManager:(id)arSessionManager; <mask> - (void)maybeStopARSession; <mask> <mask> @property (nonatomic, copy, nullable) EXDirectEventBlock onSurfaceCreate; <mask> @property (nonatomic, assign) NSNumber *msaaSamples; <mask> <mask> // "protected" <mask> @property (nonatomic, strong, nullable) EXGLContext *glContext; <mask> @property (nonatomic, strong, nullable) EAGLContext *uiEaglCtx; </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove - (void)takeSnapshotWithOptions:(nonnull NSDictionary *)options resolve:(EXPromiseResolveBlock)resolve reject:(EXPromiseRejectBlock)reject; </s> add - (void)takeSnapshotWithOptions:(nonnull NSDictionary *)options resolve:(UMPromiseResolveBlock)resolve reject:(UMPromiseRejectBlock)reject; </s> remove @property (nonatomic, copy) EXDirectEventBlock onSizeChange; @property (nonatomic, copy) EXDirectEventBlock onAdViewDidReceiveAd; @property (nonatomic, copy) EXDirectEventBlock onDidFailToReceiveAdWithError; @property (nonatomic, copy) EXDirectEventBlock onAdViewWillPresentScreen; @property (nonatomic, copy) EXDirectEventBlock onAdViewWillDismissScreen; @property (nonatomic, copy) EXDirectEventBlock onAdViewDidDismissScreen; @property (nonatomic, copy) EXDirectEventBlock onAdViewWillLeaveApplication; </s> add @property (nonatomic, copy) UMDirectEventBlock onSizeChange; @property (nonatomic, copy) UMDirectEventBlock onAdViewDidReceiveAd; @property (nonatomic, copy) UMDirectEventBlock onDidFailToReceiveAdWithError; @property (nonatomic, copy) UMDirectEventBlock onAdViewWillPresentScreen; @property (nonatomic, copy) UMDirectEventBlock onAdViewWillDismissScreen; @property (nonatomic, copy) UMDirectEventBlock onAdViewDidDismissScreen; @property (nonatomic, copy) UMDirectEventBlock onAdViewWillLeaveApplication; </s> remove @property (nonatomic, copy) EXDirectEventBlock onSizeChange; @property (nonatomic, copy) EXDirectEventBlock onAdmobDispatchAppEvent; @property (nonatomic, copy) EXDirectEventBlock onAdViewDidReceiveAd; @property (nonatomic, copy) EXDirectEventBlock onDidFailToReceiveAdWithError; @property (nonatomic, copy) EXDirectEventBlock onAdViewWillPresentScreen; @property (nonatomic, copy) EXDirectEventBlock onAdViewWillDismissScreen; @property (nonatomic, copy) EXDirectEventBlock onAdViewDidDismissScreen; @property (nonatomic, copy) EXDirectEventBlock onAdViewWillLeaveApplication; </s> add @property (nonatomic, copy) UMDirectEventBlock onSizeChange; @property (nonatomic, copy) UMDirectEventBlock onAdmobDispatchAppEvent; @property (nonatomic, copy) UMDirectEventBlock onAdViewDidReceiveAd; @property (nonatomic, copy) UMDirectEventBlock onDidFailToReceiveAdWithError; @property (nonatomic, copy) UMDirectEventBlock onAdViewWillPresentScreen; @property (nonatomic, copy) UMDirectEventBlock onAdViewWillDismissScreen; @property (nonatomic, copy) UMDirectEventBlock onAdViewDidDismissScreen; @property (nonatomic, copy) UMDirectEventBlock onAdViewWillLeaveApplication; </s> remove @property (nonatomic, strong) id<EXCameraInterface> camera; </s> add @property (nonatomic, strong) id<UMCameraInterface> camera; </s> remove @property (nonatomic, weak) id<EXUIManager> uiManager; @property (nonatomic, weak) id<EXFileSystemInterface> fileSystem; </s> add @property (nonatomic, weak) id<UMUIManager> uiManager; @property (nonatomic, weak) id<UMFileSystemInterface> fileSystem; </s> remove @property (nonatomic, strong) EXPromiseResolveBlock resolve; @property (nonatomic, strong) EXPromiseRejectBlock reject; </s> add @property (nonatomic, strong) UMPromiseResolveBlock resolve; @property (nonatomic, strong) UMPromiseRejectBlock reject;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/ios/EXGL/EXGLView.h
keep keep replace replace keep keep keep keep
<mask> // Copyright 2016-present 650 Industries. All rights reserved. <mask> <mask> #import <EXCore/EXViewManager.h> <mask> #import <EXCore/EXModuleRegistryConsumer.h> <mask> <mask> @interface EXGLViewManager : EXViewManager <EXModuleRegistryConsumer> <mask> <mask> @end </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove #import <EXCore/EXViewManager.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMViewManager.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXViewManager.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMViewManager.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXViewManager.h> #import <EXCore/EXExportedModule.h> </s> add #import <UMCore/UMViewManager.h> #import <UMCore/UMExportedModule.h> </s> remove #import <EXCore/EXExportedModule.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMExportedModule.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXExportedModule.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMExportedModule.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXExportedModule.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMExportedModule.h> #import <UMCore/UMModuleRegistryConsumer.h>
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/ios/EXGL/EXGLViewManager.h
keep keep keep keep replace keep keep
<mask> <mask> #import <EXCore/EXViewManager.h> <mask> #import <EXCore/EXModuleRegistryConsumer.h> <mask> <mask> @interface EXGLViewManager : EXViewManager <EXModuleRegistryConsumer> <mask> <mask> @end </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove #import <EXCore/EXViewManager.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMViewManager.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove @interface EXBlurViewManager : EXViewManager <EXModuleRegistryConsumer> </s> add @interface EXBlurViewManager : UMViewManager <UMModuleRegistryConsumer> </s> remove @interface EXBarCodeScannerViewManager : EXViewManager <EXModuleRegistryConsumer> </s> add @interface EXBarCodeScannerViewManager : UMViewManager <UMModuleRegistryConsumer> </s> remove #import <EXCore/EXViewManager.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMViewManager.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXViewManager.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMViewManager.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXViewManager.h> </s> add #import <UMCore/UMViewManager.h>
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/ios/EXGL/EXGLViewManager.h
keep keep keep keep replace replace replace replace keep keep keep keep keep
<mask> "jest": { <mask> "preset": "expo-module-scripts" <mask> }, <mask> "unimodulePeerDependencies": { <mask> "expo-camera-interface": "*", <mask> "expo-core": "*", <mask> "expo-errors": "*", <mask> "expo-file-system-interface": "*", <mask> "expo-gl-cpp": "*" <mask> }, <mask> "dependencies": { <mask> "prop-types": "^15.6.2" <mask> }, </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove "expo-core": "*", "expo-errors": "*", "expo-barcode-scanner-interface": "*" </s> add "@unimodules/core": "*", "unimodules-barcode-scanner-interface": "*" </s> remove "expo-core": "*", "expo-errors": "*" </s> add "@unimodules/core": "*" </s> remove "expo-core": "*", "expo-errors": "*", "expo-permissions-interface": "*" </s> add "@unimodules/core": "*", "unimodules-permissions-interface": "*" </s> remove "expo-core": "*", "expo-constants-interface": "*" </s> add "@unimodules/core": "*", "unimodules-constants-interface": "*" </s> remove "expo-core": "*", "expo-face-detector-interface": "*", "expo-permissions-interface": "*" </s> add "@unimodules/core": "*", "unimodules-face-detector-interface": "*", "unimodules-permissions-interface": "*" </s> remove "expo-core": "*", "expo-errors": "*", "expo-file-system-interface": "*" </s> add "@unimodules/core": "*", "unimodules-file-system-interface": "*"
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/package.json
keep keep replace keep keep keep keep keep
<mask> import * as React from 'react'; <mask> import PropTypes from 'prop-types'; <mask> import { NativeModulesProxy, requireNativeViewManager } from 'expo-core'; <mask> import { Platform, View, ViewPropTypes, findNodeHandle } from 'react-native'; <mask> <mask> const packageJSON = require('../package.json'); <mask> <mask> import { SurfaceCreateEvent, GLSnapshot, ExpoWebGLRenderingContext, SnapshotOptions, BaseGLViewProps } from './GLView.types'; </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import { NativeModulesProxy, requireNativeViewManager } from 'expo-core'; </s> add import { NativeModulesProxy, requireNativeViewManager } from '@unimodules/core'; </s> remove import { NativeModulesProxy, requireNativeViewManager } from 'expo-core'; </s> add import { NativeModulesProxy, requireNativeViewManager } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { NativeModulesProxy, requireNativeViewManager } from 'expo-core'; </s> add import { NativeModulesProxy, requireNativeViewManager } from '@unimodules/core'; </s> remove import { requireNativeViewManager } from 'expo-core'; </s> add import { requireNativeViewManager } from '@unimodules/core';
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/src/GLView.tsx
keep keep keep keep replace keep keep keep keep keep
<mask> <mask> const packageJSON = require('../package.json'); <mask> <mask> import { SurfaceCreateEvent, GLSnapshot, ExpoWebGLRenderingContext, SnapshotOptions, BaseGLViewProps } from './GLView.types'; <mask> import { UnavailabilityError } from 'expo-errors'; <mask> <mask> declare let global: any; <mask> <mask> const { ExponentGLObjectManager, ExponentGLViewManager } = NativeModulesProxy; <mask> </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import { NativeModulesProxy, requireNativeViewManager } from 'expo-core'; </s> add import { NativeModulesProxy, requireNativeViewManager } from '@unimodules/core'; </s> remove import { NativeModulesProxy, requireNativeViewManager } from 'expo-core'; </s> add import { NativeModulesProxy, requireNativeViewManager } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError, CodedError } from 'expo-errors'; </s> add import { UnavailabilityError, CodedError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; import { Platform, NativeModulesProxy } from 'expo-core'; </s> add import { UnavailabilityError } from '@unimodules/core'; import { Platform, NativeModulesProxy } from '@unimodules/core'; </s> remove import { EventEmitter } from 'expo-core'; import { UnavailabilityError } from 'expo-errors'; </s> add import { EventEmitter } from '@unimodules/core'; import { UnavailabilityError } from '@unimodules/core';
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/src/GLView.tsx
keep keep keep keep replace keep keep keep keep keep
<mask> import invariant from 'invariant'; <mask> import PropTypes from 'prop-types'; <mask> import React from 'react'; <mask> import { StyleSheet } from 'react-native'; <mask> import { UnavailabilityError, CodedError } from 'expo-errors'; <mask> import { <mask> BaseGLViewProps, <mask> GLSnapshot, <mask> ExpoWebGLRenderingContext, <mask> SnapshotOptions, </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import { UnavailabilityError, CodedError } from 'expo-errors'; </s> add import { UnavailabilityError, CodedError } from '@unimodules/core'; </s> remove import { NativeModulesProxy, requireNativeViewManager } from 'expo-core'; </s> add import { NativeModulesProxy, requireNativeViewManager } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { requireNativeViewManager } from 'expo-core'; </s> add import { requireNativeViewManager } from '@unimodules/core'; </s> remove import { requireNativeViewManager } from 'expo-core'; </s> add import { requireNativeViewManager } from '@unimodules/core';
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-gl/src/GLView.web.tsx
keep replace keep keep replace keep keep keep keep
<mask> if (new File(rootProject.projectDir.parentFile, 'package.json').exists()) { <mask> apply from: project(":expo-core").file("../expo-core.gradle") <mask> } else { <mask> throw new GradleException( <mask> "'expo-core.gradle' was not found in the usual Flutter or React Native dependency locations. " + <mask> "This package can only be used in such projects. Are you sure you've installed the dependencies properly?") <mask> } <mask> <mask> dependencies { </s> [packages] Move unimodules foundation to `org.unimodules` scope
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/android/build.gradle
keep replace keep replace
<mask> dependencies { <mask> expendency "expo-core" <mask> api 'com.google.android.gms:play-services-auth:16.0.1' <mask> implementation project(path: ':expo-constants-interface') </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove expendency "expo-core" expendency "expo-barcode-scanner-interface" expendency "expo-image-loader-interface" </s> add unimodule "unimodules-core" unimodule "unimodules-barcode-scanner-interface" unimodule "unimodules-image-loader-interface" </s> remove expendency "expo-core" expendency "expo-permissions-interface" </s> add unimodule "unimodules-core" unimodule "unimodules-permissions-interface" </s> remove expendency "expo-core" </s> add unimodule "unimodules-core" </s> remove expendency 'expo-core' expendency 'expo-face-detector-interface' expendency 'expo-file-system-interface' </s> add unimodule 'unimodules-core' unimodule 'unimodules-face-detector-interface' unimodule 'unimodules-file-system-interface' </s> remove expendency "expo-core" </s> add unimodule "unimodules-core"
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/android/build.gradle
keep keep replace keep keep keep keep keep
<mask> package expo.modules.google.signin; <mask> <mask> import expo.core.Promise; <mask> <mask> import static expo.modules.google.signin.GoogleSignInModule.ERROR_CONCURRENT_TASK_IN_PROGRESS; <mask> <mask> public class AuthTask { <mask> private Promise mPromise; </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.LifecycleEventListener; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.LifecycleEventListener; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager; </s> remove import expo.core.ModuleRegistry; import expo.core.Promise; </s> add import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; </s> remove import expo.core.ModuleRegistry; import expo.core.Promise; </s> add import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; </s> remove import expo.core.arguments.ReadableArguments; </s> add import org.unimodules.core.arguments.ReadableArguments; </s> remove public class ExpoFaceDetector implements expo.interfaces.facedetector.FaceDetector { </s> add public class ExpoFaceDetector implements org.unimodules.interfaces.facedetector.FaceDetector {
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/android/src/main/java/expo/modules/google/signin/AuthTask.java
keep keep keep keep replace replace replace replace replace replace replace replace replace keep keep keep keep keep
<mask> import java.util.ArrayList; <mask> import java.util.HashMap; <mask> import java.util.Map; <mask> <mask> import expo.core.ExportedModule; <mask> import expo.core.ModuleRegistry; <mask> import expo.core.Promise; <mask> import expo.core.interfaces.ActivityEventListener; <mask> import expo.core.interfaces.ActivityProvider; <mask> import expo.core.interfaces.ExpoMethod; <mask> import expo.core.interfaces.ModuleRegistryConsumer; <mask> import expo.core.interfaces.services.UIManager; <mask> import expo.interfaces.constants.ConstantsInterface; <mask> <mask> import static expo.modules.google.signin.Serialization.getExceptionCode; <mask> import static expo.modules.google.signin.Serialization.getSignInOptions; <mask> import static expo.modules.google.signin.Serialization.jsonFromGoogleUser; <mask> import static expo.modules.google.signin.Serialization.scopesToString; </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityEventListener; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityEventListener; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager; </s> remove import expo.core.ExportedModule; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityEventListener; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; import expo.core.utilities.FileUtilities; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityEventListener; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager; import org.unimodules.core.utilities.FileUtilities; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityEventListener; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityEventListener; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.interfaces.barcodescanner.BarCodeScanner; import expo.interfaces.barcodescanner.BarCodeScannerResult; import expo.interfaces.barcodescanner.BarCodeScannerSettings; import expo.interfaces.imageloader.ImageLoader; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.interfaces.barcodescanner.BarCodeScanner; import org.unimodules.interfaces.barcodescanner.BarCodeScannerResult; import org.unimodules.interfaces.barcodescanner.BarCodeScannerSettings; import org.unimodules.interfaces.imageloader.ImageLoader;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/android/src/main/java/expo/modules/google/signin/GoogleSignInModule.java
keep keep keep keep replace
<mask> public void onNewIntent(Intent intent) { <mask> // do nothing <mask> } <mask> } <mask> } </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove } </s> add </s> remove public void resolve(final ExpoCameraViewInterface cameraView) { </s> add public void resolve(final CameraViewInterface cameraView) { </s> remove }, ExpoCameraViewInterface.class); </s> add }, CameraViewInterface.class); </s> remove uiManager.addUIBlock(cameraViewTag, new UIManager.UIBlock<ExpoCameraViewInterface>() { </s> add uiManager.addUIBlock(cameraViewTag, new UIManager.UIBlock<CameraViewInterface>() { </s> remove import { Platform } from 'expo-core'; </s> add import { Platform } from '@unimodules/core'; </s> remove EX_EXPORT_METHOD_AS(isUsingSystemBrightnessAsync, isUsingSystemBrightnessAsync:(EXPromiseResolveBlock)resolve rejecter:(EXPromiseRejectBlock)reject) </s> add UM_EXPORT_METHOD_AS(isUsingSystemBrightnessAsync, isUsingSystemBrightnessAsync:(UMPromiseResolveBlock)resolve rejecter:(UMPromiseRejectBlock)reject)
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/android/src/main/java/expo/modules/google/signin/GoogleSignInModule.java
keep keep keep keep replace replace keep keep keep keep keep
<mask> <mask> import java.util.Collections; <mask> import java.util.List; <mask> <mask> import expo.core.ExportedModule; <mask> import expo.core.BasePackage; <mask> <mask> public class GoogleSignInPackage extends BasePackage { <mask> @Override <mask> public List<ExportedModule> createExportedModules(Context context) { <mask> return Collections.singletonList((ExportedModule) new GoogleSignInModule(context)); </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/android/src/main/java/expo/modules/google/signin/GoogleSignInPackage.java
keep keep keep keep replace
<mask> @Override <mask> public List<ExportedModule> createExportedModules(Context context) { <mask> return Collections.singletonList((ExportedModule) new GoogleSignInModule(context)); <mask> } <mask> } </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> add } </s> remove import expo.core.ExportedModule; import expo.core.BasePackage; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.BasePackage; </s> remove } </s> add </s> remove import expo.core.interfaces.SingletonModule; </s> add import org.unimodules.core.interfaces.SingletonModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/android/src/main/java/expo/modules/google/signin/GoogleSignInPackage.java
keep keep keep add
<mask> public List<ExportedModule> createExportedModules(Context context) { <mask> return Collections.singletonList((ExportedModule) new GoogleSignInModule(context)); <mask> } <mask> } </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove } </s> add </s> remove import expo.core.ExportedModule; import expo.core.BasePackage; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.BasePackage; </s> remove } </s> add </s> remove import expo.core.interfaces.SingletonModule; </s> add import org.unimodules.core.interfaces.SingletonModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/android/src/main/java/expo/modules/google/signin/GoogleSignInPackage.java
keep keep keep keep replace keep keep keep keep keep
<mask> <mask> import java.util.ArrayList; <mask> import java.util.Map; <mask> <mask> import expo.core.Promise; <mask> <mask> public class Serialization { <mask> <mask> private Bundle auth; <mask> </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.ModuleRegistry; import expo.core.Promise; </s> add import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager; </s> remove import expo.core.ModuleRegistry; import expo.core.Promise; </s> add import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; </s> remove import expo.core.ModuleRegistry; import expo.core.Promise; </s> add import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; </s> remove import expo.interfaces.taskManager.TaskManagerUtilsInterface; import expo.interfaces.taskManager.TaskInterface; </s> add import org.unimodules.interfaces.taskManager.TaskManagerUtilsInterface; import org.unimodules.interfaces.taskManager.TaskInterface; </s> remove import expo.core.Promise; </s> add import org.unimodules.core.Promise;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/android/src/main/java/expo/modules/google/signin/Serialization.java
keep keep keep keep replace
<mask> return exception.getStatusCode(); <mask> } <mask> return CommonStatusCodes.INTERNAL_ERROR; <mask> } <mask> } </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove return @[@protocol(EXFaceDetectorManagerProvider)]; </s> add return @[@protocol(UMFaceDetectorManagerProvider)]; </s> remove return @[@protocol(EXBarCodeScannerProviderInterface)]; </s> add return @[@protocol(UMBarCodeScannerProviderInterface)]; </s> remove - (id<EXBarCodeScannerInterface>)createBarCodeScanner </s> add - (id<UMBarCodeScannerInterface>)createBarCodeScanner </s> remove return EXFileSystemPermissionNone; </s> add return UMFileSystemPermissionNone; </s> remove return Collections.singletonList((Class) expo.interfaces.facedetector.FaceDetectorProvider.class); </s> add return Collections.singletonList((Class) org.unimodules.interfaces.facedetector.FaceDetectorProvider.class); </s> remove - (id<EXFaceDetectorManager>)createFaceDetectorManager { </s> add - (id<UMFaceDetectorManager>)createFaceDetectorManager {
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/android/src/main/java/expo/modules/google/signin/Serialization.java
keep replace keep keep keep keep keep
<mask> import Constants from 'expo-constants'; <mask> import { UnavailabilityError } from 'expo-errors'; <mask> import invariant from 'invariant'; <mask> import ExpoGoogleSignIn from './ExpoGoogleSignIn'; <mask> import GoogleUser from './GoogleUser'; <mask> export const { ERRORS, SCOPES, TYPES } = ExpoGoogleSignIn; <mask> const DEFAULT_SCOPES = [SCOPES.PROFILE, SCOPES.EMAIL]; </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { Platform } from 'expo-core'; </s> add import { Platform } from '@unimodules/core'; </s> remove import { Platform } from 'expo-core'; import { UnavailabilityError } from 'expo-errors'; </s> add import { Platform, UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core';
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/build/GoogleSignIn.js
replace keep keep keep keep keep
<mask> import { UnavailabilityError } from 'expo-errors'; <mask> import ExpoGoogleSignIn from './ExpoGoogleSignIn'; <mask> import GoogleAuthentication from './GoogleAuthentication'; <mask> import GoogleIdentity from './GoogleIdentity'; <mask> class GoogleUser extends GoogleIdentity { <mask> constructor(options) { </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core';
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/build/GoogleUser.js
keep keep keep keep replace keep keep keep keep
<mask> s.source_files = 'EXGoogleSignIn/**/*.{h,m}' <mask> s.preserve_paths = 'EXGoogleSignIn/**/*.{h,m}' <mask> s.requires_arc = true <mask> <mask> s.dependency 'EXCore' <mask> s.dependency 'GoogleSignIn', '~> 4.4' <mask> end <mask> <mask> </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove s.dependency 'EXCore' s.dependency 'EXFaceDetectorInterface' </s> add s.dependency 'UMCore' s.dependency 'UMFaceDetectorInterface' </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore' </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore' </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore' </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore' </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore'
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/ios/EXGoogleSignIn.podspec
keep keep keep replace keep keep keep keep keep
<mask> // Copyright 2018-present 650 Industries. All rights reserved. <mask> <mask> #import <Foundation/Foundation.h> <mask> #import <EXCore/EXModuleRegistry.h> <mask> <mask> static NSString *const EX_E_CONCURRENT_TASK_IN_PROGRESS = @"EX_E_CONCURRENT_TASK_IN_PROGRESS"; <mask> static NSString *const EX_E_EXCEPTION = @"EX_E_GOOGLE_SIGN_IN"; <mask> <mask> @interface EXAuthTask : NSObject </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove resolver:(EXPromiseResolveBlock)resolve rejecter:(EXPromiseRejectBlock)reject; </s> add resolver:(UMPromiseResolveBlock)resolve rejecter:(UMPromiseRejectBlock)reject; </s> remove #import <EXTaskManagerInterface/EXTaskConsumerInterface.h> </s> add #import <UMTaskManagerInterface/UMTaskConsumerInterface.h> </s> remove #import <EXCore/EXUtilitiesInterface.h> #import <EXFileSystemInterface/EXFileSystemInterface.h> </s> add #import <UMCore/UMUtilitiesInterface.h> #import <UMFileSystemInterface/UMFileSystemInterface.h> </s> remove #import <EXPermissionsInterface/EXUserNotificationCenterProxyInterface.h> </s> add #import <UMPermissionsInterface/UMUserNotificationCenterProxyInterface.h> </s> remove #import <EXCore/EXInternalModule.h> #import <EXFaceDetectorInterface/EXFaceDetectorManagerProvider.h> </s> add #import <UMCore/UMInternalModule.h> #import <UMFaceDetectorInterface/UMFaceDetectorManagerProvider.h> </s> remove #import <EXConstantsInterface/EXConstantsInterface.h> </s> add #import <UMConstantsInterface/UMConstantsInterface.h>
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/ios/EXGoogleSignIn/EXAuthTask.h
keep keep keep keep replace replace keep keep
<mask> static NSString *const EX_E_EXCEPTION = @"EX_E_GOOGLE_SIGN_IN"; <mask> <mask> @interface EXAuthTask : NSObject <mask> - (BOOL)update:(NSString *)tag <mask> resolver:(EXPromiseResolveBlock)resolve <mask> rejecter:(EXPromiseRejectBlock)reject; <mask> - (void)parse:(NSDictionary *)user error:(NSError *)error; <mask> @end </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove #import <EXCore/EXModuleRegistry.h> </s> add #import <UMCore/UMModuleRegistry.h> </s> remove resolver:(EXPromiseResolveBlock)resolve rejecter:(EXPromiseRejectBlock)reject; </s> add resolver:(UMPromiseResolveBlock)resolve rejecter:(UMPromiseRejectBlock)reject; </s> remove resolver:(EXPromiseResolveBlock)resolve rejecter:(EXPromiseRejectBlock)reject; </s> add resolver:(UMPromiseResolveBlock)resolve rejecter:(UMPromiseRejectBlock)reject; </s> remove resolver:(EXPromiseResolveBlock)resolve rejecter:(EXPromiseRejectBlock)reject; </s> add resolver:(UMPromiseResolveBlock)resolve rejecter:(UMPromiseRejectBlock)reject; </s> remove resolver:(EXPromiseResolveBlock)resolve rejecter:(EXPromiseRejectBlock)reject; </s> add resolver:(UMPromiseResolveBlock)resolve rejecter:(UMPromiseRejectBlock)reject; </s> remove - (instancetype)initWithModuleRegistry:(EXModuleRegistry *)moduleRegistry; - (EXModuleRegistry *)moduleRegistry; </s> add - (instancetype)initWithModuleRegistry:(UMModuleRegistry *)moduleRegistry; - (UMModuleRegistry *)moduleRegistry;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/ios/EXGoogleSignIn/EXAuthTask.h
keep keep keep replace keep keep keep keep keep
<mask> // Copyright 2018-present 650 Industries. All rights reserved. <mask> <mask> #import <EXGoogleSignIn/EXGoogleSignIn+Serialization.h> <mask> #import <EXCore/EXUtilities.h> <mask> <mask> @implementation EXGoogleSignIn (Serialization) <mask> <mask> + (NSDictionary *)jsonFromGIDSignIn:(GIDSignIn *)input <mask> { </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove #import <EXCore/EXUtilities.h> </s> add #import <UMCore/UMUtilities.h> </s> remove #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXTaskManagerInterface/EXTaskConsumerInterface.h> </s> add #import <UMTaskManagerInterface/UMTaskConsumerInterface.h> </s> remove #import <EXFileSystemInterface/EXFileSystemInterface.h> #import <EXConstantsInterface/EXConstantsInterface.h> </s> add #import <UMFileSystemInterface/UMFileSystemInterface.h> #import <UMConstantsInterface/UMConstantsInterface.h> </s> remove #import <EXCore/EXSingletonModule.h> #import <EXFontInterface/EXFontScalersManagerInterface.h> </s> add #import <UMCore/UMSingletonModule.h> #import <UMFontInterface/UMFontScalersManagerInterface.h> </s> remove #import <EXCore/EXExportedModule.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMExportedModule.h> #import <UMCore/UMModuleRegistryConsumer.h>
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/ios/EXGoogleSignIn/EXGoogleSignIn+Serialization.m
keep keep keep keep replace replace replace replace replace replace replace replace replace keep keep keep keep keep
<mask> { <mask> if (!input) return nil; <mask> <mask> return @{ <mask> @"scopes": EXNullIfNil([input scopes]), <mask> @"language": EXNullIfNil([input language]), <mask> @"openIdRealm": EXNullIfNil([input openIDRealm]), <mask> @"accountName": EXNullIfNil([input loginHint]), <mask> @"hostedDomain": EXNullIfNil([input hostedDomain]), <mask> @"webClientId": EXNullIfNil([input serverClientID]), <mask> @"shouldFetchBasicProfile": EXNullIfNil(@([input shouldFetchBasicProfile])), <mask> @"currentUser": EXNullIfNil([EXGoogleSignIn jsonFromGIDGoogleUser:input.currentUser]), <mask> @"hasAuthInKeychain": EXNullIfNil(@([input hasAuthInKeychain])) <mask> }; <mask> } <mask> <mask> + (NSDictionary *)jsonFromGIDGoogleUser:(GIDGoogleUser *)input <mask> { </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove @"clientId": EXNullIfNil([input clientID]), @"accessToken": EXNullIfNil([input accessToken]), @"accessTokenExpirationDate": EXNullIfNil([EXGoogleSignIn jsonFromNSDate:[input accessTokenExpirationDate]]), @"refreshToken": EXNullIfNil([input refreshToken]), @"idToken": EXNullIfNil([input idToken]), @"idTokenExpirationDate": EXNullIfNil([EXGoogleSignIn jsonFromNSDate:[input idTokenExpirationDate]]) </s> add @"clientId": UMNullIfNil([input clientID]), @"accessToken": UMNullIfNil([input accessToken]), @"accessTokenExpirationDate": UMNullIfNil([EXGoogleSignIn jsonFromNSDate:[input accessTokenExpirationDate]]), @"refreshToken": UMNullIfNil([input refreshToken]), @"idToken": UMNullIfNil([input idToken]), @"idTokenExpirationDate": UMNullIfNil([EXGoogleSignIn jsonFromNSDate:[input idTokenExpirationDate]]) </s> remove @"uid": EXNullIfNil([input userID]), @"auth": EXNullIfNil([EXGoogleSignIn jsonFromGIDAuthentication:[input authentication]]), @"scopes": EXNullIfNil([input grantedScopes]), @"domain": EXNullIfNil([input hostedDomain]), @"serverAuthCode": EXNullIfNil([input serverAuthCode]), </s> add @"uid": UMNullIfNil([input userID]), @"auth": UMNullIfNil([EXGoogleSignIn jsonFromGIDAuthentication:[input authentication]]), @"scopes": UMNullIfNil([input grantedScopes]), @"domain": UMNullIfNil([input hostedDomain]), @"serverAuthCode": UMNullIfNil([input serverAuthCode]), </s> remove @"email": EXNullIfNil([input email]), @"displayName": EXNullIfNil([input name]), @"firstName": EXNullIfNil([input givenName]), @"lastName": EXNullIfNil([input familyName]), </s> add @"email": UMNullIfNil([input email]), @"displayName": UMNullIfNil([input name]), @"firstName": UMNullIfNil([input givenName]), @"lastName": UMNullIfNil([input familyName]), </s> remove #import <EXCore/EXUtilities.h> </s> add #import <UMCore/UMUtilities.h> </s> remove return @[@protocol(EXBarCodeScannerProviderInterface)]; </s> add return @[@protocol(UMBarCodeScannerProviderInterface)]; </s> remove return @[@protocol(EXFaceDetectorManagerProvider)]; </s> add return @[@protocol(UMFaceDetectorManagerProvider)];
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/ios/EXGoogleSignIn/EXGoogleSignIn+Serialization.m
keep keep keep keep replace replace replace replace replace keep keep keep keep keep
<mask> { <mask> if (!input) return nil; <mask> <mask> NSMutableDictionary *output = [[NSMutableDictionary alloc] initWithDictionary:@{ <mask> @"uid": EXNullIfNil([input userID]), <mask> @"auth": EXNullIfNil([EXGoogleSignIn jsonFromGIDAuthentication:[input authentication]]), <mask> @"scopes": EXNullIfNil([input grantedScopes]), <mask> @"domain": EXNullIfNil([input hostedDomain]), <mask> @"serverAuthCode": EXNullIfNil([input serverAuthCode]), <mask> }]; <mask> <mask> <mask> NSDictionary *profileData = [EXGoogleSignIn jsonFromGIDProfileData:[input profile]]; <mask> if (profileData != nil) { </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove @"email": EXNullIfNil([input email]), @"displayName": EXNullIfNil([input name]), @"firstName": EXNullIfNil([input givenName]), @"lastName": EXNullIfNil([input familyName]), </s> add @"email": UMNullIfNil([input email]), @"displayName": UMNullIfNil([input name]), @"firstName": UMNullIfNil([input givenName]), @"lastName": UMNullIfNil([input familyName]), </s> remove @"scopes": EXNullIfNil([input scopes]), @"language": EXNullIfNil([input language]), @"openIdRealm": EXNullIfNil([input openIDRealm]), @"accountName": EXNullIfNil([input loginHint]), @"hostedDomain": EXNullIfNil([input hostedDomain]), @"webClientId": EXNullIfNil([input serverClientID]), @"shouldFetchBasicProfile": EXNullIfNil(@([input shouldFetchBasicProfile])), @"currentUser": EXNullIfNil([EXGoogleSignIn jsonFromGIDGoogleUser:input.currentUser]), @"hasAuthInKeychain": EXNullIfNil(@([input hasAuthInKeychain])) </s> add @"scopes": UMNullIfNil([input scopes]), @"language": UMNullIfNil([input language]), @"openIdRealm": UMNullIfNil([input openIDRealm]), @"accountName": UMNullIfNil([input loginHint]), @"hostedDomain": UMNullIfNil([input hostedDomain]), @"webClientId": UMNullIfNil([input serverClientID]), @"shouldFetchBasicProfile": UMNullIfNil(@([input shouldFetchBasicProfile])), @"currentUser": UMNullIfNil([EXGoogleSignIn jsonFromGIDGoogleUser:input.currentUser]), @"hasAuthInKeychain": UMNullIfNil(@([input hasAuthInKeychain])) </s> remove @"clientId": EXNullIfNil([input clientID]), @"accessToken": EXNullIfNil([input accessToken]), @"accessTokenExpirationDate": EXNullIfNil([EXGoogleSignIn jsonFromNSDate:[input accessTokenExpirationDate]]), @"refreshToken": EXNullIfNil([input refreshToken]), @"idToken": EXNullIfNil([input idToken]), @"idTokenExpirationDate": EXNullIfNil([EXGoogleSignIn jsonFromNSDate:[input idTokenExpirationDate]]) </s> add @"clientId": UMNullIfNil([input clientID]), @"accessToken": UMNullIfNil([input accessToken]), @"accessTokenExpirationDate": UMNullIfNil([EXGoogleSignIn jsonFromNSDate:[input accessTokenExpirationDate]]), @"refreshToken": UMNullIfNil([input refreshToken]), @"idToken": UMNullIfNil([input idToken]), @"idTokenExpirationDate": UMNullIfNil([EXGoogleSignIn jsonFromNSDate:[input idTokenExpirationDate]]) </s> remove EX_EXPORT_METHOD_AS(getDocumentAsync, </s> add UM_EXPORT_METHOD_AS(getDocumentAsync, </s> remove - (void)setModuleRegistry:(EXModuleRegistry *)moduleRegistry </s> add - (void)setModuleRegistry:(UMModuleRegistry *)moduleRegistry </s> remove resolve:(EXPromiseResolveBlock)resolve reject:(EXPromiseRejectBlock)reject) </s> add resolve:(UMPromiseResolveBlock)resolve reject:(UMPromiseRejectBlock)reject)
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/ios/EXGoogleSignIn/EXGoogleSignIn+Serialization.m
keep keep keep keep replace replace replace replace replace replace keep keep keep keep keep
<mask> + (NSDictionary *)jsonFromGIDAuthentication:(GIDAuthentication *)input <mask> { <mask> if (!input) return nil; <mask> return @{ <mask> @"clientId": EXNullIfNil([input clientID]), <mask> @"accessToken": EXNullIfNil([input accessToken]), <mask> @"accessTokenExpirationDate": EXNullIfNil([EXGoogleSignIn jsonFromNSDate:[input accessTokenExpirationDate]]), <mask> @"refreshToken": EXNullIfNil([input refreshToken]), <mask> @"idToken": EXNullIfNil([input idToken]), <mask> @"idTokenExpirationDate": EXNullIfNil([EXGoogleSignIn jsonFromNSDate:[input idTokenExpirationDate]]) <mask> }; <mask> } <mask> <mask> + (NSDictionary *)jsonFromGIDProfileData:(GIDProfileData *)input <mask> { </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove @"scopes": EXNullIfNil([input scopes]), @"language": EXNullIfNil([input language]), @"openIdRealm": EXNullIfNil([input openIDRealm]), @"accountName": EXNullIfNil([input loginHint]), @"hostedDomain": EXNullIfNil([input hostedDomain]), @"webClientId": EXNullIfNil([input serverClientID]), @"shouldFetchBasicProfile": EXNullIfNil(@([input shouldFetchBasicProfile])), @"currentUser": EXNullIfNil([EXGoogleSignIn jsonFromGIDGoogleUser:input.currentUser]), @"hasAuthInKeychain": EXNullIfNil(@([input hasAuthInKeychain])) </s> add @"scopes": UMNullIfNil([input scopes]), @"language": UMNullIfNil([input language]), @"openIdRealm": UMNullIfNil([input openIDRealm]), @"accountName": UMNullIfNil([input loginHint]), @"hostedDomain": UMNullIfNil([input hostedDomain]), @"webClientId": UMNullIfNil([input serverClientID]), @"shouldFetchBasicProfile": UMNullIfNil(@([input shouldFetchBasicProfile])), @"currentUser": UMNullIfNil([EXGoogleSignIn jsonFromGIDGoogleUser:input.currentUser]), @"hasAuthInKeychain": UMNullIfNil(@([input hasAuthInKeychain])) </s> remove @"uid": EXNullIfNil([input userID]), @"auth": EXNullIfNil([EXGoogleSignIn jsonFromGIDAuthentication:[input authentication]]), @"scopes": EXNullIfNil([input grantedScopes]), @"domain": EXNullIfNil([input hostedDomain]), @"serverAuthCode": EXNullIfNil([input serverAuthCode]), </s> add @"uid": UMNullIfNil([input userID]), @"auth": UMNullIfNil([EXGoogleSignIn jsonFromGIDAuthentication:[input authentication]]), @"scopes": UMNullIfNil([input grantedScopes]), @"domain": UMNullIfNil([input hostedDomain]), @"serverAuthCode": UMNullIfNil([input serverAuthCode]), </s> remove @"email": EXNullIfNil([input email]), @"displayName": EXNullIfNil([input name]), @"firstName": EXNullIfNil([input givenName]), @"lastName": EXNullIfNil([input familyName]), </s> add @"email": UMNullIfNil([input email]), @"displayName": UMNullIfNil([input name]), @"firstName": UMNullIfNil([input givenName]), @"lastName": UMNullIfNil([input familyName]), </s> remove #import <EXCore/EXUtilities.h> </s> add #import <UMCore/UMUtilities.h> </s> remove return @[@protocol(EXBarCodeScannerProviderInterface)]; </s> add return @[@protocol(UMBarCodeScannerProviderInterface)]; </s> remove return @[@protocol(EXFaceDetectorManagerProvider)]; </s> add return @[@protocol(UMFaceDetectorManagerProvider)];
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/ios/EXGoogleSignIn/EXGoogleSignIn+Serialization.m
keep keep keep keep replace replace replace replace keep keep keep keep keep
<mask> { <mask> if (!input) return nil; <mask> NSMutableDictionary *output = <mask> [NSMutableDictionary dictionaryWithDictionary:@{ <mask> @"email": EXNullIfNil([input email]), <mask> @"displayName": EXNullIfNil([input name]), <mask> @"firstName": EXNullIfNil([input givenName]), <mask> @"lastName": EXNullIfNil([input familyName]), <mask> }]; <mask> if (input.hasImage) { <mask> NSURL *imageURL = [input imageURLWithDimension:128]; <mask> if (imageURL) [output setValue:[imageURL absoluteString] forKey:@"photoURL"]; <mask> } </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove @"uid": EXNullIfNil([input userID]), @"auth": EXNullIfNil([EXGoogleSignIn jsonFromGIDAuthentication:[input authentication]]), @"scopes": EXNullIfNil([input grantedScopes]), @"domain": EXNullIfNil([input hostedDomain]), @"serverAuthCode": EXNullIfNil([input serverAuthCode]), </s> add @"uid": UMNullIfNil([input userID]), @"auth": UMNullIfNil([EXGoogleSignIn jsonFromGIDAuthentication:[input authentication]]), @"scopes": UMNullIfNil([input grantedScopes]), @"domain": UMNullIfNil([input hostedDomain]), @"serverAuthCode": UMNullIfNil([input serverAuthCode]), </s> remove @"scopes": EXNullIfNil([input scopes]), @"language": EXNullIfNil([input language]), @"openIdRealm": EXNullIfNil([input openIDRealm]), @"accountName": EXNullIfNil([input loginHint]), @"hostedDomain": EXNullIfNil([input hostedDomain]), @"webClientId": EXNullIfNil([input serverClientID]), @"shouldFetchBasicProfile": EXNullIfNil(@([input shouldFetchBasicProfile])), @"currentUser": EXNullIfNil([EXGoogleSignIn jsonFromGIDGoogleUser:input.currentUser]), @"hasAuthInKeychain": EXNullIfNil(@([input hasAuthInKeychain])) </s> add @"scopes": UMNullIfNil([input scopes]), @"language": UMNullIfNil([input language]), @"openIdRealm": UMNullIfNil([input openIDRealm]), @"accountName": UMNullIfNil([input loginHint]), @"hostedDomain": UMNullIfNil([input hostedDomain]), @"webClientId": UMNullIfNil([input serverClientID]), @"shouldFetchBasicProfile": UMNullIfNil(@([input shouldFetchBasicProfile])), @"currentUser": UMNullIfNil([EXGoogleSignIn jsonFromGIDGoogleUser:input.currentUser]), @"hasAuthInKeychain": UMNullIfNil(@([input hasAuthInKeychain])) </s> remove @"clientId": EXNullIfNil([input clientID]), @"accessToken": EXNullIfNil([input accessToken]), @"accessTokenExpirationDate": EXNullIfNil([EXGoogleSignIn jsonFromNSDate:[input accessTokenExpirationDate]]), @"refreshToken": EXNullIfNil([input refreshToken]), @"idToken": EXNullIfNil([input idToken]), @"idTokenExpirationDate": EXNullIfNil([EXGoogleSignIn jsonFromNSDate:[input idTokenExpirationDate]]) </s> add @"clientId": UMNullIfNil([input clientID]), @"accessToken": UMNullIfNil([input accessToken]), @"accessTokenExpirationDate": UMNullIfNil([EXGoogleSignIn jsonFromNSDate:[input accessTokenExpirationDate]]), @"refreshToken": UMNullIfNil([input refreshToken]), @"idToken": UMNullIfNil([input idToken]), @"idTokenExpirationDate": UMNullIfNil([EXGoogleSignIn jsonFromNSDate:[input idTokenExpirationDate]]) </s> remove if (moduleName === 'ExpoNativeModuleProxy') { </s> add if (moduleName === 'NativeUnimoduleProxy') { </s> remove serializedItem[@"timeZone"] = EXNullIfNil(item.timeZone.name); serializedItem[@"url"] = EXNullIfNil(item.URL.absoluteString.stringByRemovingPercentEncoding); serializedItem[@"notes"] = EXNullIfNil(item.notes); </s> add serializedItem[@"timeZone"] = UMNullIfNil(item.timeZone.name); serializedItem[@"url"] = UMNullIfNil(item.URL.absoluteString.stringByRemovingPercentEncoding); serializedItem[@"notes"] = UMNullIfNil(item.notes); </s> remove return EXFileSystemPermissionNone; </s> add return UMFileSystemPermissionNone;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/ios/EXGoogleSignIn/EXGoogleSignIn+Serialization.m
keep keep replace keep keep keep keep
<mask> // Copyright 2018-present 650 Industries. All rights reserved. <mask> <mask> #import <EXCore/EXModuleRegistryConsumer.h> <mask> #import <GoogleSignIn/GoogleSignIn.h> <mask> <mask> @interface EXGoogleSignIn : EXExportedModule <EXModuleRegistryConsumer, GIDSignInDelegate, GIDSignInUIDelegate> <mask> @end </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove @interface EXGoogleSignIn : EXExportedModule <EXModuleRegistryConsumer, GIDSignInDelegate, GIDSignInUIDelegate> </s> add @interface EXGoogleSignIn : UMExportedModule <UMModuleRegistryConsumer, GIDSignInDelegate, GIDSignInUIDelegate> </s> remove #import <EXCore/EXExportedModule.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMExportedModule.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXExportedModule.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMExportedModule.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXExportedModule.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMExportedModule.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXExportedModule.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMExportedModule.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXSingletonModule.h> #import <EXFontInterface/EXFontScalersManagerInterface.h> </s> add #import <UMCore/UMSingletonModule.h> #import <UMFontInterface/UMFontScalersManagerInterface.h>
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/ios/EXGoogleSignIn/EXGoogleSignIn.h
keep keep keep keep replace keep
<mask> <mask> #import <EXCore/EXModuleRegistryConsumer.h> <mask> #import <GoogleSignIn/GoogleSignIn.h> <mask> <mask> @interface EXGoogleSignIn : EXExportedModule <EXModuleRegistryConsumer, GIDSignInDelegate, GIDSignInUIDelegate> <mask> @end </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMModuleRegistryConsumer.h> </s> remove @interface EXHapticsModule : EXExportedModule </s> add @interface EXHapticsModule : UMExportedModule </s> remove @interface EXFaceDetectorModule : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXFaceDetectorModule : UMExportedModule <UMModuleRegistryConsumer> </s> remove @interface EXKeepAwake : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXKeepAwake : UMExportedModule <UMModuleRegistryConsumer> </s> remove @interface EXDocumentPickerModule : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXDocumentPickerModule : UMExportedModule <UMModuleRegistryConsumer> </s> remove @interface EXCalendar : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXCalendar : UMExportedModule <UMModuleRegistryConsumer>
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/ios/EXGoogleSignIn/EXGoogleSignIn.h
keep keep keep keep replace replace keep keep keep keep keep
<mask> "preset": "expo-module-scripts" <mask> }, <mask> "unimodulePeerDependencies": { <mask> "expo-constants": "*", <mask> "expo-core": "*", <mask> "expo-errors": "*" <mask> }, <mask> "peerDependencies": { <mask> "react-native": "*" <mask> }, <mask> "dependencies": { </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove "expo-core": "*", "expo-errors": "*", "expo-barcode-scanner-interface": "*" </s> add "@unimodules/core": "*", "unimodules-barcode-scanner-interface": "*" </s> remove "expo-camera-interface": "*", "expo-core": "*", "expo-errors": "*", "expo-file-system-interface": "*", </s> add "unimodules-camera-interface": "*", "@unimodules/core": "*", "unimodules-file-system-interface": "*", </s> remove "expo-core": "*", "expo-constants-interface": "*" </s> add "@unimodules/core": "*", "unimodules-constants-interface": "*" </s> remove "expo-core": "*", "expo-errors": "*", "expo-permissions-interface": "*" </s> add "@unimodules/core": "*", "unimodules-permissions-interface": "*" </s> remove "expo-core": "*", "expo-font-interface": "*" </s> add "@unimodules/core": "*", "unimodules-font-interface": "*" </s> remove "expo-core": "*", "expo-face-detector-interface": "*", "expo-permissions-interface": "*" </s> add "@unimodules/core": "*", "unimodules-face-detector-interface": "*", "unimodules-permissions-interface": "*"
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/package.json
keep replace keep keep keep keep keep
<mask> import Constants from 'expo-constants'; <mask> import { UnavailabilityError } from 'expo-errors'; <mask> import invariant from 'invariant'; <mask> <mask> import ExpoGoogleSignIn from './ExpoGoogleSignIn'; <mask> import GoogleUser from './GoogleUser'; <mask> </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core';
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/src/GoogleSignIn.ts
replace keep keep keep keep keep
<mask> import { UnavailabilityError } from 'expo-errors'; <mask> import invariant from 'invariant'; <mask> <mask> import ExpoGoogleSignIn from './ExpoGoogleSignIn'; <mask> import GoogleAuthentication from './GoogleAuthentication'; <mask> import GoogleIdentity from './GoogleIdentity'; </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError, CodedError } from 'expo-errors'; </s> add import { UnavailabilityError, CodedError } from '@unimodules/core';
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-google-sign-in/src/GoogleUser.ts
keep keep replace keep keep replace
<mask> <mask> if (new File(rootProject.projectDir.parentFile, 'package.json').exists()) { <mask> apply from: project(':expo-core').file('../expo-core.gradle') <mask> } else { <mask> throw new GradleException( <mask> '\'expo-core.gradle\' was not found in the usual Flutter or React Native dependency locations. ' + </s> [packages] Move unimodules foundation to `org.unimodules` scope
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-haptics/android/build.gradle
keep keep keep keep replace replace keep keep keep
<mask> 'This package can only be used in such projects. Are you sure you\'ve installed the dependencies properly?') <mask> } <mask> <mask> dependencies { <mask> expendency 'expo-core' <mask> expendency 'expo-errors' <mask> <mask> api 'com.android.support:support-annotations:27.1.1' <mask> } </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove expendency 'expo-core' expendency 'expo-errors' </s> add unimodule 'unimodules-core' </s> remove expendency 'expo-core' expendency 'expo-image-loader-interface' </s> add unimodule 'unimodules-core' unimodule 'unimodules-image-loader-interface' </s> remove expendency 'expo-core' </s> add unimodule 'unimodules-core' </s> remove expendency 'expo-core' </s> add unimodule 'unimodules-core' </s> remove expendency 'expo-core' expendency 'expo-permissions-interface' </s> add unimodule 'unimodules-core' unimodule 'unimodules-permissions-interface' </s> remove expendency 'expo-core' expendency 'expo-gl-cpp' expendency 'expo-camera-interface' </s> add unimodule 'unimodules-core' unimodule 'expo-gl-cpp' unimodule 'unimodules-camera-interface'
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-haptics/android/build.gradle
keep keep keep keep replace replace replace keep keep keep keep keep
<mask> import android.os.Build; <mask> import android.os.VibrationEffect; <mask> import android.os.Vibrator; <mask> <mask> import expo.core.ExportedModule; <mask> import expo.core.Promise; <mask> import expo.core.interfaces.ExpoMethod; <mask> import expo.modules.haptics.arguments.HapticsInvalidArgumentException; <mask> import expo.modules.haptics.arguments.HapticsImpactType; <mask> import expo.modules.haptics.arguments.HapticsNotificationType; <mask> import expo.modules.haptics.arguments.HapticsSelectionType; <mask> import expo.modules.haptics.arguments.HapticsVibrationType; </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.ExportedModule; import expo.core.InvalidArgumentException; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.InvalidArgumentException; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; </s> remove import expo.core.ExportedModule; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.arguments.ReadableArguments; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.interfaces.imageloader.ImageLoader; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.arguments.ReadableArguments; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.interfaces.imageloader.ImageLoader; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.java
keep keep keep keep replace replace replace keep keep keep keep keep
<mask> <mask> import java.util.Collections; <mask> import java.util.List; <mask> <mask> import expo.core.BasePackage; <mask> import expo.core.ExportedModule; <mask> import expo.core.ViewManager; <mask> <mask> public class HapticsPackage extends BasePackage { <mask> @Override <mask> public List<ExportedModule> createExportedModules(Context context) { <mask> return Collections.singletonList((ExportedModule) new HapticsModule(context)); </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.ExportedModule; import expo.core.BasePackage; import expo.core.ViewManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.BasePackage; import org.unimodules.core.ViewManager; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; import expo.core.ViewManager; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; import org.unimodules.core.ViewManager; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsPackage.java
keep keep replace keep keep keep keep keep
<mask> package expo.modules.haptics.arguments; <mask> <mask> import expo.errors.CodedException; <mask> <mask> public class HapticsInvalidArgumentException extends CodedException { <mask> HapticsInvalidArgumentException(String message) { <mask> super(message); <mask> } </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.interfaces.CodedThrowable; import expo.errors.CodedException; </s> add import org.unimodules.core.interfaces.CodedThrowable; import org.unimodules.core.errors.CodedException; </s> remove import { Platform } from 'expo-core'; </s> add import { Platform } from '@unimodules/core'; </s> remove import expo.core.ViewManager; </s> add import org.unimodules.core.ViewManager; </s> remove import expo.core.ViewManager; </s> add import org.unimodules.core.ViewManager; </s> remove import expo.core.ViewManager; import expo.core.interfaces.ExpoProp; </s> add import org.unimodules.core.ViewManager; import org.unimodules.core.interfaces.ExpoProp; </s> remove import expo.core.arguments.ReadableArguments; </s> add import org.unimodules.core.arguments.ReadableArguments;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-haptics/android/src/main/java/expo/modules/haptics/arguments/HapticsInvalidArgumentException.java
replace keep keep keep keep keep
<mask> import { UnavailabilityError } from 'expo-errors'; <mask> import ExpoHaptics from './ExpoHaptics'; <mask> import { NotificationFeedbackType, ImpactFeedbackStyle } from './Haptics.types'; <mask> export async function notification(type = NotificationFeedbackType.Success) { <mask> console.warn('`Haptics.notification` is deprecated. Use `Haptics.notificationAsync` instead.'); <mask> await notificationAsync(type); </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core';
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-haptics/build/Haptics.js
keep keep keep keep replace keep keep keep keep
<mask> s.source_files = 'EXHaptics/**/*.{h,m}' <mask> s.preserve_paths = 'EXHaptics/**/*.{h,m}' <mask> s.requires_arc = true <mask> <mask> s.dependency 'EXCore' <mask> <mask> end <mask> <mask> </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore' </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore' </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore' </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore' </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore' </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore'
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-haptics/ios/EXHaptics.podspec
keep keep keep keep replace keep
<mask> <mask> #import <EXCore/EXExportedModule.h> <mask> #import <EXCore/EXModuleRegistryConsumer.h> <mask> <mask> @interface EXHapticsModule : EXExportedModule <mask> @end </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove @interface EXFontLoader : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXFontLoader : UMExportedModule <UMModuleRegistryConsumer> </s> remove @interface EXDocumentPickerModule : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXDocumentPickerModule : UMExportedModule <UMModuleRegistryConsumer> </s> remove @interface EXCalendar : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXCalendar : UMExportedModule <UMModuleRegistryConsumer> </s> remove @interface EXImageManipulatorModule : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXImageManipulatorModule : UMExportedModule <UMModuleRegistryConsumer> </s> remove @interface EXKeepAwake : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXKeepAwake : UMExportedModule <UMModuleRegistryConsumer> </s> remove @interface EXLocalAuthentication : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXLocalAuthentication : UMExportedModule <UMModuleRegistryConsumer>
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-haptics/ios/EXHaptics/EXHapticsModule.h
keep keep keep keep replace replace keep keep keep keep keep
<mask> "author": "650 Industries, Inc.", <mask> "license": "MIT", <mask> "homepage": "https://docs.expo.io/versions/latest/sdk/haptics/", <mask> "unimodulePeerDependencies": { <mask> "expo-core": "*", <mask> "expo-errors": "*" <mask> }, <mask> "devDependencies": { <mask> "expo-module-scripts": "^1.0.0" <mask> } <mask> } </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove "expo-core": "*", "expo-errors": "*" </s> add "@unimodules/core": "*" </s> remove "expo-core": "*", "expo-errors": "*", "expo-file-system-interface": "*" </s> add "@unimodules/core": "*", "unimodules-file-system-interface": "*" </s> remove "expo-core": "*" </s> add "@unimodules/core": "*" </s> remove "expo-core": "*" </s> add "@unimodules/core": "*" </s> remove "expo-core": "*" </s> add "@unimodules/core": "*" </s> remove "expo-core": "*", "expo-task-manager-interface": "*" </s> add "@unimodules/core": "*", "unimodules-task-manager-interface": "*"
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-haptics/package.json
replace keep keep keep keep keep
<mask> import { UnavailabilityError } from 'expo-errors'; <mask> <mask> import ExpoHaptics from './ExpoHaptics'; <mask> import { NotificationFeedbackType, ImpactFeedbackStyle } from './Haptics.types'; <mask> <mask> export async function notification(type: NotificationFeedbackType = NotificationFeedbackType.Success): Promise<void> { </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core';
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-haptics/src/Haptics.ts
keep replace keep keep replace keep keep
<mask> if (new File(rootProject.projectDir.parentFile, 'package.json').exists()) { <mask> apply from: project(':expo-core').file('../expo-core.gradle') <mask> } else { <mask> throw new GradleException( <mask> '\'expo-core.gradle\' was not found in the usual Flutter or React Native dependency locations. ' + <mask> 'This package can only be used in such projects. Are you sure you\'ve installed the dependencies properly?') <mask> } </s> [packages] Move unimodules foundation to `org.unimodules` scope
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-manipulator/android/build.gradle
keep keep keep keep replace replace keep keep keep
<mask> 'This package can only be used in such projects. Are you sure you\'ve installed the dependencies properly?') <mask> } <mask> <mask> dependencies { <mask> expendency 'expo-core' <mask> expendency 'expo-image-loader-interface' <mask> <mask> api 'com.android.support:support-annotations:27.1.1' <mask> } </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove expendency 'expo-core' expendency 'expo-errors' </s> add unimodule 'unimodules-core' </s> remove expendency 'expo-core' expendency 'expo-errors' </s> add unimodule 'unimodules-core' </s> remove expendency 'expo-core' </s> add unimodule 'unimodules-core' </s> remove expendency 'expo-core' </s> add unimodule 'unimodules-core' </s> remove expendency 'expo-core' expendency 'expo-permissions-interface' </s> add unimodule 'unimodules-core' unimodule 'unimodules-permissions-interface' </s> remove expendency 'expo-core' expendency 'expo-gl-cpp' expendency 'expo-camera-interface' </s> add unimodule 'unimodules-core' unimodule 'expo-gl-cpp' unimodule 'unimodules-camera-interface'
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-manipulator/android/build.gradle
keep keep keep keep replace replace replace replace replace replace replace keep keep keep keep keep
<mask> import java.io.IOException; <mask> import java.util.ArrayList; <mask> import java.util.Map; <mask> <mask> import expo.core.ExportedModule; <mask> import expo.core.ModuleRegistry; <mask> import expo.core.Promise; <mask> import expo.core.arguments.ReadableArguments; <mask> import expo.core.interfaces.ExpoMethod; <mask> import expo.core.interfaces.ModuleRegistryConsumer; <mask> import expo.interfaces.imageloader.ImageLoader; <mask> import expo.modules.imagemanipulator.arguments.Action; <mask> import expo.modules.imagemanipulator.arguments.ActionCrop; <mask> import expo.modules.imagemanipulator.arguments.ActionFlip; <mask> import expo.modules.imagemanipulator.arguments.ActionResize; <mask> import expo.modules.imagemanipulator.arguments.SaveOptions; </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityEventListener; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityEventListener; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.interfaces.barcodescanner.BarCodeScanner; import expo.interfaces.barcodescanner.BarCodeScannerResult; import expo.interfaces.barcodescanner.BarCodeScannerSettings; import expo.interfaces.imageloader.ImageLoader; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.interfaces.barcodescanner.BarCodeScanner; import org.unimodules.interfaces.barcodescanner.BarCodeScannerResult; import org.unimodules.interfaces.barcodescanner.BarCodeScannerSettings; import org.unimodules.interfaces.imageloader.ImageLoader; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.arguments.ReadableArguments; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.interfaces.permissions.Permissions; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.arguments.ReadableArguments; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.interfaces.permissions.Permissions; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityEventListener; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; import expo.interfaces.constants.ConstantsInterface; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityEventListener; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager; import org.unimodules.interfaces.constants.ConstantsInterface; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-manipulator/android/src/main/java/expo/modules/imagemanipulator/ImageManipulatorModule.java
keep keep keep keep replace replace keep keep keep keep keep
<mask> <mask> import java.util.Collections; <mask> import java.util.List; <mask> <mask> import expo.core.BasePackage; <mask> import expo.core.ExportedModule; <mask> <mask> public class ImageManipulatorPackage extends BasePackage { <mask> @Override <mask> public List<ExportedModule> createExportedModules(Context context) { <mask> return Collections.singletonList((ExportedModule) new ImageManipulatorModule(context)); </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.ExportedModule; import expo.core.BasePackage; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.BasePackage; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-manipulator/android/src/main/java/expo/modules/imagemanipulator/ImageManipulatorPackage.java
keep keep keep keep replace keep keep keep keep keep
<mask> package expo.modules.imagemanipulator.arguments; <mask> <mask> import android.support.annotation.NonNull; <mask> <mask> import expo.core.arguments.ReadableArguments; <mask> <mask> public class SaveOptions { <mask> private static final String TAG = "saveOptions"; <mask> <mask> private static final String KEY_BASE64 = "base64"; </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove public class ExpoFaceDetector implements expo.interfaces.facedetector.FaceDetector { </s> add public class ExpoFaceDetector implements org.unimodules.interfaces.facedetector.FaceDetector { </s> remove import expo.core.ModuleRegistry; import expo.core.Promise; </s> add import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; </s> remove import expo.core.ModuleRegistry; import expo.core.Promise; </s> add import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; </s> remove import expo.core.ModuleRegistry; import expo.core.interfaces.services.EventEmitter; </s> add import org.unimodules.core.ModuleRegistry; import org.unimodules.core.interfaces.services.EventEmitter; </s> remove import expo.core.ExportedModule; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ActivityProvider; import expo.core.ModuleRegistry; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.KeepAwakeManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.KeepAwakeManager; </s> remove import expo.core.ModuleRegistry; import expo.core.Promise; </s> add import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-manipulator/android/src/main/java/expo/modules/imagemanipulator/arguments/SaveOptions.java
replace keep keep keep keep keep
<mask> import { CodedError } from 'expo-errors'; <mask> import { FlipType, } from './ImageManipulator.types'; <mask> /** <mask> * Hermite resize - fast image resize/resample using Hermite filter. 1 cpu version! <mask> * https://stackoverflow.com/a/18320662/4047926 <mask> * </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { CodedError } from 'expo-errors'; </s> add import { CodedError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { NativeModulesProxy } from 'expo-core'; </s> add import { NativeModulesProxy } from '@unimodules/core'; </s> remove import { EventEmitter, NativeModulesProxy } from 'expo-core'; </s> add import { EventEmitter, NativeModulesProxy } from '@unimodules/core';
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-manipulator/build/ExpoImageManipulator.web.js
replace keep keep keep keep keep
<mask> import { UnavailabilityError } from 'expo-errors'; <mask> import ExpoImageManipulator from './ExpoImageManipulator'; <mask> import { SaveFormat } from './ImageManipulator.types'; <mask> export async function manipulateAsync(uri, actions = [], { format = SaveFormat.JPEG, ...rest } = {}) { <mask> if (!ExpoImageManipulator.manipulateAsync) { <mask> throw new UnavailabilityError('ImageManipulator', 'manipulateAsync'); </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core';
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-manipulator/build/ImageManipulator.js
keep keep keep keep replace replace replace keep keep keep keep
<mask> s.source_files = 'EXImageManipulator/**/*.{h,m}' <mask> s.preserve_paths = 'EXImageManipulator/**/*.{h,m}' <mask> s.requires_arc = true <mask> <mask> s.dependency 'EXCore' <mask> s.dependency 'EXFileSystemInterface' <mask> s.dependency 'EXImageLoaderInterface' <mask> <mask> end <mask> <mask> </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove s.dependency 'EXCore' s.dependency 'EXFileSystemInterface' </s> add s.dependency 'UMCore' s.dependency 'UMFileSystemInterface' </s> remove s.dependency 'EXCore' s.dependency 'EXFileSystemInterface' </s> add s.dependency 'UMCore' s.dependency 'UMFileSystemInterface' </s> remove s.dependency 'EXCore' s.dependency 'EXFileSystemInterface' s.dependency 'EXCameraInterface' </s> add s.dependency 'UMCore' s.dependency 'UMFileSystemInterface' s.dependency 'UMCameraInterface' </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore' </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore' </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore'
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-manipulator/ios/EXImageManipulator.podspec
keep keep keep keep replace keep
<mask> <mask> #import <EXCore/EXExportedModule.h> <mask> #import <EXCore/EXModuleRegistryConsumer.h> <mask> <mask> @interface EXImageManipulatorModule : EXExportedModule <EXModuleRegistryConsumer> <mask> @end </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove @interface EXDocumentPickerModule : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXDocumentPickerModule : UMExportedModule <UMModuleRegistryConsumer> </s> remove @interface EXCalendar : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXCalendar : UMExportedModule <UMModuleRegistryConsumer> </s> remove @interface EXFontLoader : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXFontLoader : UMExportedModule <UMModuleRegistryConsumer> </s> remove @interface EXLocalAuthentication : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXLocalAuthentication : UMExportedModule <UMModuleRegistryConsumer> </s> remove @interface EXKeepAwake : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXKeepAwake : UMExportedModule <UMModuleRegistryConsumer> </s> remove @interface EXFaceDetectorModule : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXFaceDetectorModule : UMExportedModule <UMModuleRegistryConsumer>
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-manipulator/ios/EXImageManipulator/EXImageManipulatorModule.h
keep keep keep keep replace replace replace keep keep keep keep keep
<mask> "author": "650 Industries, Inc.", <mask> "license": "MIT", <mask> "homepage": "https://docs.expo.io/versions/latest/sdk/imagemanipulator/", <mask> "unimodulePeerDependencies": { <mask> "expo-core": "*", <mask> "expo-errors": "*", <mask> "expo-file-system-interface": "*" <mask> }, <mask> "devDependencies": { <mask> "expo-module-scripts": "^1.0.0" <mask> }, <mask> "gitHead": "a14949a882119c0f74ca2bdc4d92183ae1c7a70b" </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove "expo-core": "*", "expo-errors": "*" </s> add "@unimodules/core": "*" </s> remove "expo-core": "*", "expo-errors": "*" </s> add "@unimodules/core": "*" </s> remove "expo-core": "*" </s> add "@unimodules/core": "*" </s> remove "expo-core": "*" </s> add "@unimodules/core": "*" </s> remove "expo-core": "*", "expo-task-manager-interface": "*" </s> add "@unimodules/core": "*", "unimodules-task-manager-interface": "*" </s> remove "expo-core": "*" </s> add "@unimodules/core": "*"
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-manipulator/package.json
replace keep keep keep keep keep
<mask> import { CodedError } from 'expo-errors'; <mask> import { <mask> ImageResult, <mask> SaveOptions, <mask> Action, <mask> ActionCrop, </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError, CodedError } from 'expo-errors'; </s> add import { UnavailabilityError, CodedError } from '@unimodules/core'; </s> remove import { CodedError } from 'expo-errors'; </s> add import { CodedError } from '@unimodules/core'; </s> remove import { UnavailabilityError, CodedError } from 'expo-errors'; </s> add import { UnavailabilityError, CodedError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core';
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-manipulator/src/ExpoImageManipulator.web.ts
replace keep keep keep keep keep
<mask> import { UnavailabilityError } from 'expo-errors'; <mask> <mask> import ExpoImageManipulator from './ExpoImageManipulator'; <mask> import { Action, ImageResult, SaveFormat, SaveOptions } from './ImageManipulator.types'; <mask> <mask> export async function manipulateAsync( </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { CodedError } from 'expo-errors'; </s> add import { CodedError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core';
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-manipulator/src/ImageManipulator.ts
keep replace keep keep replace keep
<mask> if (new File(rootProject.projectDir.parentFile, 'package.json').exists()) { <mask> apply from: project(":expo-core").file("../expo-core.gradle") <mask> } else { <mask> throw new GradleException( <mask> "'expo-core.gradle' was not found in the usual Flutter or React Native dependency locations. " + <mask> "This package can only be used in such projects. Are you sure you've installed the dependencies properly?") </s> [packages] Move unimodules foundation to `org.unimodules` scope
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-picker/android/build.gradle
keep keep keep keep replace replace keep keep keep keep keep
<mask> "This package can only be used in such projects. Are you sure you've installed the dependencies properly?") <mask> } <mask> <mask> dependencies { <mask> expendency "expo-core" <mask> expendency "expo-permissions-interface" <mask> api 'com.theartofdev.edmodo:android-image-cropper:2.7.0' <mask> api "com.android.support:support-v4:27.1.0" <mask> api 'com.facebook.fresco:fresco:1.10.0' <mask> api 'commons-codec:commons-codec:1.10' <mask> api 'commons-io:commons-io:2.6' </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove expendency "expo-core" </s> add unimodule "unimodules-core" </s> remove expendency "expo-core" </s> add unimodule "unimodules-core" </s> remove expendency "expo-core" </s> add unimodule "unimodules-core" </s> remove expendency "expo-core" expendency "expo-firebase-app" </s> add unimodule "unimodules-core" unimodule "expo-firebase-app" </s> remove expendency "expo-core" expendency "expo-firebase-app" </s> add unimodule "unimodules-core" unimodule "expo-firebase-app" </s> remove expendency "expo-core" expendency "expo-firebase-app" </s> add unimodule "unimodules-core" unimodule "expo-firebase-app"
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-picker/android/build.gradle
keep keep keep keep replace keep keep keep keep keep
<mask> import java.io.IOException; <mask> import java.io.InputStream; <mask> import java.io.OutputStream; <mask> import java.lang.ref.WeakReference; <mask> import expo.interfaces.permissions.*; <mask> import java.util.ArrayList; <mask> import java.util.List; <mask> import java.util.Map; <mask> import java.util.Objects; <mask> import java.util.UUID; </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityEventListener; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; import expo.core.utilities.FileUtilities; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityEventListener; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager; import org.unimodules.core.utilities.FileUtilities; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.arguments.ReadableArguments; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.interfaces.imageloader.ImageLoader; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.arguments.ReadableArguments; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.interfaces.imageloader.ImageLoader; </s> remove import expo.core.interfaces.SingletonModule; import expo.interfaces.taskManager.TaskExecutionCallback; import expo.interfaces.taskManager.TaskManagerUtilsInterface; import expo.interfaces.taskManager.TaskServiceInterface; import expo.interfaces.taskManager.TaskConsumerInterface; import expo.interfaces.taskManager.TaskInterface; import expo.interfaces.taskManager.TaskManagerInterface; </s> add import org.unimodules.core.interfaces.SingletonModule; import org.unimodules.interfaces.taskManager.TaskExecutionCallback; import org.unimodules.interfaces.taskManager.TaskManagerUtilsInterface; import org.unimodules.interfaces.taskManager.TaskServiceInterface; import org.unimodules.interfaces.taskManager.TaskConsumerInterface; import org.unimodules.interfaces.taskManager.TaskInterface; import org.unimodules.interfaces.taskManager.TaskManagerInterface; </s> remove import expo.core.ModuleRegistry; import expo.core.ViewManager; import expo.core.interfaces.ExpoProp; import expo.core.interfaces.ModuleRegistryConsumer; import expo.interfaces.barcodescanner.BarCodeScannerSettings; </s> add import org.unimodules.core.ModuleRegistry; import org.unimodules.core.ViewManager; import org.unimodules.core.interfaces.ExpoProp; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.interfaces.barcodescanner.BarCodeScannerSettings; </s> remove import expo.interfaces.taskManager.TaskConsumer; import expo.interfaces.taskManager.TaskManagerUtilsInterface; import expo.interfaces.taskManager.TaskConsumerInterface; import expo.interfaces.taskManager.TaskInterface; </s> add import org.unimodules.interfaces.taskManager.TaskConsumer; import org.unimodules.interfaces.taskManager.TaskManagerUtilsInterface; import org.unimodules.interfaces.taskManager.TaskConsumerInterface; import org.unimodules.interfaces.taskManager.TaskInterface; </s> remove import expo.core.Promise; </s> add import org.unimodules.core.Promise;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-picker/android/src/main/java/expo/modules/imagepicker/ImagePickerModule.java
keep keep keep keep replace replace replace replace replace replace replace replace keep keep keep keep keep
<mask> import com.theartofdev.edmodo.cropper.CropImage; <mask> <mask> import org.apache.commons.io.IOUtils; <mask> <mask> import expo.core.ExportedModule; <mask> import expo.core.ModuleRegistry; <mask> import expo.core.Promise; <mask> import expo.core.interfaces.ActivityEventListener; <mask> import expo.core.interfaces.ActivityProvider; <mask> import expo.core.interfaces.ExpoMethod; <mask> import expo.core.interfaces.ModuleRegistryConsumer; <mask> import expo.core.interfaces.services.UIManager; <mask> <mask> public class ImagePickerModule extends ExportedModule implements ModuleRegistryConsumer, ActivityEventListener { <mask> <mask> public static final String TAG = "ExponentImagePicker"; <mask> </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityEventListener; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; import expo.core.utilities.FileUtilities; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityEventListener; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager; import org.unimodules.core.utilities.FileUtilities; </s> remove import expo.core.ExportedModule; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ActivityProvider; import expo.core.ModuleRegistry; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.KeepAwakeManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.KeepAwakeManager; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.arguments.ReadableArguments; import expo.core.interfaces.ActivityEventListener; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; import expo.errors.CurrentActivityNotFoundException; import expo.errors.ModuleNotFoundException; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.arguments.ReadableArguments; import org.unimodules.core.interfaces.ActivityEventListener; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager; import org.unimodules.core.errors.CurrentActivityNotFoundException; import org.unimodules.core.errors.ModuleNotFoundException; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.LifecycleEventListener; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.LifecycleEventListener; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-picker/android/src/main/java/expo/modules/imagepicker/ImagePickerModule.java
keep keep keep keep replace replace keep keep keep keep keep
<mask> <mask> import java.util.Collections; <mask> import java.util.List; <mask> <mask> import expo.core.BasePackage; <mask> import expo.core.ExportedModule; <mask> <mask> public class ImagePickerPackage extends BasePackage { <mask> @Override <mask> public List<ExportedModule> createExportedModules(Context context) { <mask> return Collections.singletonList((ExportedModule) new ImagePickerModule(context)); </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.ExportedModule; import expo.core.BasePackage; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.BasePackage; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-picker/android/src/main/java/expo/modules/imagepicker/ImagePickerPackage.java
replace keep keep keep keep keep
<mask> import { UnavailabilityError } from 'expo-errors'; <mask> import ExponentImagePicker from './ExponentImagePicker'; <mask> import { MediaTypeOptions } from './ImagePicker.types'; <mask> export async function launchImageLibraryAsync(options = {}) { <mask> if (!ExponentImagePicker.launchImageLibraryAsync) { <mask> throw new UnavailabilityError('ImagePicker', 'launchImageLibraryAsync'); </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core';
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-picker/build/ImagePicker.js
keep keep keep keep replace replace keep keep
<mask> s.source_files = 'EXImagePicker/**/*.{h,m}' <mask> s.preserve_paths = 'EXImagePicker/**/*.{h,m}' <mask> s.requires_arc = true <mask> <mask> s.dependency 'EXCore' <mask> s.dependency 'EXFileSystemInterface' <mask> <mask> end </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove s.dependency 'EXCore' s.dependency 'EXFileSystemInterface' </s> add s.dependency 'UMCore' s.dependency 'UMFileSystemInterface' </s> remove s.dependency 'EXCore' s.dependency 'EXFileSystemInterface' s.dependency 'EXImageLoaderInterface' </s> add s.dependency 'UMCore' s.dependency 'UMFileSystemInterface' s.dependency 'UMImageLoaderInterface' </s> remove s.dependency 'EXCore' s.dependency 'EXFileSystemInterface' s.dependency 'EXCameraInterface' </s> add s.dependency 'UMCore' s.dependency 'UMFileSystemInterface' s.dependency 'UMCameraInterface' </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore' </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore' </s> remove s.dependency 'EXCore' </s> add s.dependency 'UMCore'
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-picker/ios/EXImagePicker.podspec
replace replace keep keep keep keep keep
<mask> #import <EXCore/EXExportedModule.h> <mask> #import <EXCore/EXModuleRegistryConsumer.h> <mask> #import <UIKit/UIKit.h> <mask> <mask> typedef NS_ENUM(NSInteger, EXImagePickerTarget) { <mask> EXImagePickerTargetCamera = 1, <mask> EXImagePickerTargetLibrarySingleImage, </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove #import <EXCore/EXExportedModule.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMExportedModule.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove #import <EXCore/EXExportedModule.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMExportedModule.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove @interface EXImagePicker : EXExportedModule <UINavigationControllerDelegate, UIImagePickerControllerDelegate, EXModuleRegistryConsumer> </s> add @interface EXImagePicker : UMExportedModule <UINavigationControllerDelegate, UIImagePickerControllerDelegate, UMModuleRegistryConsumer> </s> remove @interface EXFaceDetectorModule : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXFaceDetectorModule : UMExportedModule <UMModuleRegistryConsumer> </s> remove #import <EXCore/EXExportedModule.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMExportedModule.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove @interface EXHapticsModule : EXExportedModule </s> add @interface EXHapticsModule : UMExportedModule
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-picker/ios/EXImagePicker/EXImagePicker.h
keep keep keep keep replace keep keep
<mask> EXImagePickerTargetCamera = 1, <mask> EXImagePickerTargetLibrarySingleImage, <mask> }; <mask> <mask> @interface EXImagePicker : EXExportedModule <UINavigationControllerDelegate, UIImagePickerControllerDelegate, EXModuleRegistryConsumer> <mask> <mask> @end </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove #import <EXCore/EXExportedModule.h> #import <EXCore/EXModuleRegistryConsumer.h> </s> add #import <UMCore/UMExportedModule.h> #import <UMCore/UMModuleRegistryConsumer.h> </s> remove @interface EXBarCodeScannerModule : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXBarCodeScannerModule : UMExportedModule <UMModuleRegistryConsumer> </s> remove @interface EXBackgroundFetch : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXBackgroundFetch : UMExportedModule <UMModuleRegistryConsumer> </s> remove @interface EXBrightness : EXExportedModule </s> add @interface EXBrightness : UMExportedModule </s> remove @interface EXHapticsModule : EXExportedModule </s> add @interface EXHapticsModule : UMExportedModule </s> remove @interface EXImageManipulatorModule : EXExportedModule <EXModuleRegistryConsumer> </s> add @interface EXImageManipulatorModule : UMExportedModule <UMModuleRegistryConsumer>
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-picker/ios/EXImagePicker/EXImagePicker.h
keep keep keep keep replace keep keep keep keep keep
<mask> "jest": { <mask> "preset": "expo-module-scripts" <mask> }, <mask> "unimodulePeerDependencies": { <mask> "expo-core": "*" <mask> }, <mask> "devDependencies": { <mask> "expo-module-scripts": "^1.0.0" <mask> }, <mask> "gitHead": "9132f99f2ceb431006060c7f89d0928cc2053897" </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove "expo-core": "*" </s> add "@unimodules/core": "*" </s> remove "expo-core": "*", "expo-face-detector-interface": "*", "expo-permissions-interface": "*" </s> add "@unimodules/core": "*", "unimodules-face-detector-interface": "*", "unimodules-permissions-interface": "*" </s> remove "expo-core": "*", "expo-errors": "*", "expo-permissions-interface": "*" </s> add "@unimodules/core": "*", "unimodules-permissions-interface": "*" </s> remove "expo-core": "*" </s> add "@unimodules/core": "*" </s> remove "expo-core": "*" </s> add "@unimodules/core": "*" </s> remove "expo-core": "*" </s> add "@unimodules/core": "*"
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-picker/package.json
replace keep keep keep keep keep
<mask> import { UnavailabilityError } from 'expo-errors'; <mask> <mask> import ExponentImagePicker from './ExponentImagePicker'; <mask> import { ImagePickerResult, MediaTypeOptions, ImagePickerOptions } from './ImagePicker.types'; <mask> <mask> export async function launchImageLibraryAsync( </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core';
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-image-picker/src/ImagePicker/ImagePicker.ts
keep keep replace keep keep replace keep keep keep keep
<mask> <mask> if (new File(rootProject.projectDir.parentFile, 'package.json').exists()) { <mask> apply from: project(':expo-core').file('../expo-core.gradle') <mask> } else { <mask> throw new GradleException( <mask> '\'expo-core.gradle\' was not found in the usual Flutter or React Native dependency locations. ' + <mask> 'This package can only be used in such projects. Are you sure you\'ve installed the dependencies properly?') <mask> } <mask> <mask> dependencies { </s> [packages] Move unimodules foundation to `org.unimodules` scope
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-intent-launcher/android/build.gradle
keep keep keep keep replace replace keep keep keep
<mask> 'This package can only be used in such projects. Are you sure you\'ve installed the dependencies properly?') <mask> } <mask> <mask> dependencies { <mask> expendency 'expo-core' <mask> expendency 'expo-errors' <mask> <mask> api 'com.android.support:support-annotations:27.1.1' <mask> } </s> [packages] Move unimodules foundation to `org.unimodules` scope
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-intent-launcher/android/build.gradle
keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep keep
<mask> import android.os.Bundle; <mask> import android.net.Uri; <mask> import android.support.annotation.NonNull; <mask> <mask> import expo.core.ExportedModule; <mask> import expo.core.ModuleRegistry; <mask> import expo.core.Promise; <mask> import expo.core.arguments.ReadableArguments; <mask> import expo.core.interfaces.ActivityEventListener; <mask> import expo.core.interfaces.ActivityProvider; <mask> import expo.core.interfaces.ExpoMethod; <mask> import expo.core.interfaces.ModuleRegistryConsumer; <mask> import expo.core.interfaces.services.UIManager; <mask> import expo.errors.CurrentActivityNotFoundException; <mask> import expo.errors.ModuleNotFoundException; <mask> import expo.modules.intentlauncher.exceptions.ActivityAlreadyStartedException; <mask> <mask> public class IntentLauncherModule extends ExportedModule implements ModuleRegistryConsumer, ActivityEventListener { <mask> private static final int REQUEST_CODE = 12; <mask> private static final String ATTR_ACTION = "action"; </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityEventListener; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; import expo.core.utilities.FileUtilities; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityEventListener; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager; import org.unimodules.core.utilities.FileUtilities; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityEventListener; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityEventListener; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.interfaces.font.FontManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.interfaces.font.FontManager; </s> remove import expo.core.ExportedModule; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ActivityProvider; import expo.core.ModuleRegistry; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.KeepAwakeManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.KeepAwakeManager; </s> remove import expo.core.arguments.ReadableArguments; </s> add import org.unimodules.core.arguments.ReadableArguments; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.LifecycleEventListener; import expo.core.interfaces.ModuleRegistryConsumer; import expo.core.interfaces.services.UIManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.LifecycleEventListener; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.core.interfaces.services.UIManager;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-intent-launcher/android/src/main/java/expo/modules/intentlauncher/IntentLauncherModule.java
keep keep keep keep replace replace keep keep keep keep keep
<mask> <mask> import java.util.Collections; <mask> import java.util.List; <mask> <mask> import expo.core.BasePackage; <mask> import expo.core.ExportedModule; <mask> <mask> public class IntentLauncherPackage extends BasePackage { <mask> @Override <mask> public List<ExportedModule> createExportedModules(Context context) { <mask> return Collections.singletonList((ExportedModule) new IntentLauncherModule(context)); </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.ExportedModule; import expo.core.BasePackage; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.BasePackage; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule; </s> remove import expo.core.BasePackage; import expo.core.ExportedModule; </s> add import org.unimodules.core.BasePackage; import org.unimodules.core.ExportedModule;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-intent-launcher/android/src/main/java/expo/modules/intentlauncher/IntentLauncherPackage.java
keep keep replace replace keep keep keep keep keep
<mask> package expo.modules.intentlauncher.exceptions; <mask> <mask> import expo.core.interfaces.CodedThrowable; <mask> import expo.errors.CodedException; <mask> <mask> public class ActivityAlreadyStartedException extends CodedException implements CodedThrowable { <mask> public ActivityAlreadyStartedException() { <mask> super("IntentLauncher activity is already started. You need to wait for its result before starting another activity."); <mask> } </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.errors.CodedException; </s> add import org.unimodules.core.errors.CodedException; </s> add 'node_modules/@unimodules', </s> remove public class FaceDetectorProvider implements expo.interfaces.facedetector.FaceDetectorProvider, InternalModule { </s> add public class FaceDetectorProvider implements org.unimodules.interfaces.facedetector.FaceDetectorProvider, InternalModule { </s> remove public class BarCodeScannerProvider implements InternalModule, expo.interfaces.barcodescanner.BarCodeScannerProvider { </s> add public class BarCodeScannerProvider implements InternalModule, org.unimodules.interfaces.barcodescanner.BarCodeScannerProvider { </s> remove import expo.core.interfaces.InternalModule; import expo.interfaces.sensors.services.MagnetometerUncalibratedService; </s> add import org.unimodules.core.interfaces.InternalModule; import org.unimodules.interfaces.sensors.services.MagnetometerUncalibratedService; </s> remove import expo.core.interfaces.InternalModule; import expo.interfaces.sensors.services.RotationVectorSensorService; </s> add import org.unimodules.core.interfaces.InternalModule; import org.unimodules.interfaces.sensors.services.RotationVectorSensorService;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-intent-launcher/android/src/main/java/expo/modules/intentlauncher/exceptions/ActivityAlreadyStartedException.java
replace keep keep keep keep keep
<mask> import { UnavailabilityError } from 'expo-errors'; <mask> import ExpoIntentLauncher from './ExpoIntentLauncher'; <mask> /** <mask> * Constants are from the source code of Settings: <mask> * https://developer.android.com/reference/android/provider/Settings.html <mask> */ </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { Platform } from 'expo-core'; </s> add import { Platform } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { CodedError } from 'expo-errors'; </s> add import { CodedError } from '@unimodules/core'; </s> remove import expo.core.interfaces.SingletonModule; </s> add import org.unimodules.core.interfaces.SingletonModule; </s> remove import { NativeModulesProxy } from 'expo-core'; </s> add import { NativeModulesProxy } from '@unimodules/core';
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-intent-launcher/build/IntentLauncher.js
keep keep keep keep replace replace keep keep keep keep keep
<mask> "author": "650 Industries, Inc.", <mask> "license": "MIT", <mask> "homepage": "https://docs.expo.io/versions/latest/sdk/intent-launcher/", <mask> "unimodulePeerDependencies": { <mask> "expo-core": "*", <mask> "expo-errors": "*" <mask> }, <mask> "devDependencies": { <mask> "expo-module-scripts": "^1.0.0" <mask> } <mask> } </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove "expo-core": "*", "expo-errors": "*" </s> add "@unimodules/core": "*" </s> remove "expo-core": "*", "expo-errors": "*", "expo-file-system-interface": "*" </s> add "@unimodules/core": "*", "unimodules-file-system-interface": "*" </s> remove "expo-core": "*" </s> add "@unimodules/core": "*" </s> remove "expo-core": "*" </s> add "@unimodules/core": "*" </s> remove "expo-core": "*" </s> add "@unimodules/core": "*" </s> remove "expo-core": "*", "expo-task-manager-interface": "*" </s> add "@unimodules/core": "*", "unimodules-task-manager-interface": "*"
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-intent-launcher/package.json
replace keep keep keep keep keep
<mask> import { UnavailabilityError } from 'expo-errors'; <mask> import ExpoIntentLauncher from './ExpoIntentLauncher'; <mask> <mask> /** <mask> * Constants are from the source code of Settings: <mask> * https://developer.android.com/reference/android/provider/Settings.html </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { Platform } from 'expo-core'; </s> add import { Platform } from '@unimodules/core'; </s> remove import { CodedError } from 'expo-errors'; </s> add import { CodedError } from '@unimodules/core'; </s> remove import { NativeModulesProxy } from 'expo-core'; </s> add import { NativeModulesProxy } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core'; </s> remove import { UnavailabilityError } from 'expo-errors'; </s> add import { UnavailabilityError } from '@unimodules/core';
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-intent-launcher/src/IntentLauncher.ts
keep keep keep replace keep keep replace keep keep keep keep
<mask> } <mask> <mask> if (new File(rootProject.projectDir.parentFile, 'package.json').exists()) { <mask> apply from: project(":expo-core").file("../expo-core.gradle") <mask> } else { <mask> throw new GradleException( <mask> "'expo-core.gradle' was not found in the usual Flutter or React Native dependency locations. " + <mask> "This package can only be used in such projects. Are you sure you've installed the dependencies properly?") <mask> } <mask> <mask> dependencies { </s> [packages] Move unimodules foundation to `org.unimodules` scope
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-keep-awake/android/build.gradle
keep keep keep keep replace keep
<mask> "This package can only be used in such projects. Are you sure you've installed the dependencies properly?") <mask> } <mask> <mask> dependencies { <mask> expendency "expo-core" <mask> } </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove expendency "expo-core" </s> add unimodule "unimodules-core" </s> remove expendency "expo-core" </s> add unimodule "unimodules-core" </s> remove expendency "expo-core" </s> add unimodule "unimodules-core" </s> remove expendency "expo-core" </s> add unimodule "unimodules-core" </s> remove expendency "expo-core" </s> add unimodule "unimodules-core" </s> remove expendency "expo-core" expendency "expo-font-interface" </s> add unimodule "unimodules-core" unimodule "unimodules-font-interface"
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-keep-awake/android/build.gradle
keep keep keep keep replace replace replace replace replace replace replace keep keep keep keep keep
<mask> import android.content.Context; <mask> import android.app.Activity; <mask> import android.view.WindowManager; <mask> <mask> import expo.core.ExportedModule; <mask> import expo.core.Promise; <mask> import expo.core.interfaces.ExpoMethod; <mask> import expo.core.interfaces.ActivityProvider; <mask> import expo.core.ModuleRegistry; <mask> import expo.core.interfaces.ModuleRegistryConsumer; <mask> import expo.core.interfaces.services.KeepAwakeManager; <mask> <mask> public class KeepAwakeModule extends ExportedModule implements ModuleRegistryConsumer, KeepAwakeManager { <mask> private static final String NAME = "ExpoKeepAwake"; <mask> private static final String TAG = KeepAwakeModule.class.getSimpleName(); <mask> </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; import expo.interfaces.font.FontManager; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; import org.unimodules.interfaces.font.FontManager; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer; </s> remove import expo.core.ExportedModule; import expo.core.ModuleRegistry; import expo.core.Promise; import expo.core.interfaces.ActivityProvider; import expo.core.interfaces.ExpoMethod; import expo.core.interfaces.ModuleRegistryConsumer; </s> add import org.unimodules.core.ExportedModule; import org.unimodules.core.ModuleRegistry; import org.unimodules.core.Promise; import org.unimodules.core.interfaces.ActivityProvider; import org.unimodules.core.interfaces.ExpoMethod; import org.unimodules.core.interfaces.ModuleRegistryConsumer;
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-keep-awake/android/src/main/java/expo/modules/keepawake/KeepAwakeModule.java
keep keep keep keep replace
<mask> <mask> public boolean isActivated() { <mask> return mIsActivated; <mask> } <mask> } </s> [packages] Move unimodules foundation to `org.unimodules` scope </s> remove import expo.core.ModuleRegistry; import expo.core.interfaces.services.EventEmitter; </s> add import org.unimodules.core.ModuleRegistry; import org.unimodules.core.interfaces.services.EventEmitter; </s> remove return Collections.singletonList((Class) expo.interfaces.facedetector.FaceDetectorProvider.class); </s> add return Collections.singletonList((Class) org.unimodules.interfaces.facedetector.FaceDetectorProvider.class); </s> remove return Collections.singletonList((Class) expo.interfaces.barcodescanner.BarCodeScannerProvider.class); </s> add return Collections.singletonList((Class) org.unimodules.interfaces.barcodescanner.BarCodeScannerProvider.class); </s> add } </s> remove } </s> add </s> add }
https://github.com/expo/expo/commit/8d441c7e9b081cfdd6a45edc165251d7273225a0
packages/expo-keep-awake/android/src/main/java/expo/modules/keepawake/KeepAwakeModule.java