mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-24 04:24:52 +08:00
[js][internals] _NATIVE_MODULE mapping for nativeModuleExists
This commit is contained in:
@@ -129,7 +129,7 @@ export default class FirebaseApp {
|
||||
};
|
||||
|
||||
Object.assign(getInstance, statics, {
|
||||
nativeModuleExists: !!NativeModules[`RNFirebase${capitalizeFirstLetter(name)}`],
|
||||
nativeModuleExists: !!NativeModules[`RNFirebase${InstanceClass._NATIVE_MODULE || capitalizeFirstLetter(name)}`],
|
||||
});
|
||||
|
||||
return getInstance;
|
||||
|
||||
Reference in New Issue
Block a user