mayo-firebase-config 1.2.6 → 1.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/src/main/java/com/mayorana/mayofirebaseconfig/FirebaseConfigExtractorPackage.java
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
package com.mayorana.mayofirebaseconfig;
|
2
|
+
|
3
|
+
import androidx.annotation.NonNull;
|
4
|
+
|
5
|
+
import com.facebook.react.ReactPackage;
|
6
|
+
import com.facebook.react.bridge.NativeModule;
|
7
|
+
import com.facebook.react.bridge.ReactApplicationContext;
|
8
|
+
import com.facebook.react.uimanager.ViewManager;
|
9
|
+
|
10
|
+
import java.util.ArrayList;
|
11
|
+
import java.util.Collections;
|
12
|
+
import java.util.List;
|
13
|
+
|
14
|
+
public class FirebaseConfigExtractorPackage implements ReactPackage {
|
15
|
+
|
16
|
+
@NonNull
|
17
|
+
@Override
|
18
|
+
public List<NativeModule> createNativeModules(@NonNull ReactApplicationContext reactContext) {
|
19
|
+
List<NativeModule> modules = new ArrayList<>();
|
20
|
+
modules.add(new FirebaseConfigExtractorModule(reactContext));
|
21
|
+
return modules;
|
22
|
+
}
|
23
|
+
|
24
|
+
@NonNull
|
25
|
+
@Override
|
26
|
+
public List<ViewManager> createViewManagers(@NonNull ReactApplicationContext reactContext) {
|
27
|
+
// Return an empty list if you are not using any view managers
|
28
|
+
return Collections.emptyList();
|
29
|
+
}
|
30
|
+
}
|
package/package.json
CHANGED
File without changes
|