mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-05-07 18:37:42 +08:00
[build][ios] generate iOS version file for Core
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#import "RNFBPreferences.h"
|
||||
#import "RNFBJSON.h"
|
||||
#import "RNFBMeta.h"
|
||||
#import "RNFBVersion.h"
|
||||
|
||||
#if __has_include(<FirebaseCore/FIRAppInternal.h>)
|
||||
#import <FirebaseCore/FIRAppInternal.h>
|
||||
@@ -54,7 +55,7 @@ RCT_EXPORT_MODULE();
|
||||
#ifdef REGISTER_LIB
|
||||
static dispatch_once_t once;
|
||||
dispatch_once(&once, ^{
|
||||
[FIRApp registerLibrary:@"react-native-firebase" withVersion:@"0.1.5"];
|
||||
[FIRApp registerLibrary:@"react-native-firebase" withVersion:RNFBVersionString];
|
||||
});
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user