com.facebook.react.modules.location.LocationModule Java Examples
The following examples show how to use
com.facebook.react.modules.location.LocationModule.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BaseReactPackage.java From react-native-workers with BSD 2-Clause "Simplified" License | 6 votes |
@Override public List<NativeModule> createNativeModules(ReactApplicationContext catalystApplicationContext) { return Arrays.<NativeModule>asList( // Core list new AndroidInfoModule(), new ExceptionsManagerModule(reactInstanceManager.getDevSupportManager()), new Timing(catalystApplicationContext, reactInstanceManager.getDevSupportManager()), new UIManagerStubModule(catalystApplicationContext), new SourceCodeModule(reactInstanceManager.getSourceUrl()), new JSCHeapCapture(catalystApplicationContext), // Main list new AsyncStorageModule(catalystApplicationContext), new IntentModule(catalystApplicationContext), new LocationModule(catalystApplicationContext), new NetworkingModule(catalystApplicationContext), new NetInfoModule(catalystApplicationContext), new VibrationModule(catalystApplicationContext), new WebSocketModule(catalystApplicationContext), new WorkerSelfModule(catalystApplicationContext) ); }
Example #2
Source File: MainReactPackage.java From react-native-gcm-android with MIT License | 5 votes |
@Override public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) { return Arrays.<NativeModule>asList( new AsyncStorageModule(reactContext), // new ClipboardModule(reactContext), new FrescoModule(reactContext), new IntentModule(reactContext), new LocationModule(reactContext), new NetworkingModule(reactContext), // new NetInfoModule(reactContext), new WebSocketModule(reactContext)); // new ToastModule(reactContext)); }