I’m going through a difficulty whereas constructing a react-native app on iOS as I replace all Firebase dependencies to 18.8.0 every thing works superb. Nonetheless, after I set up @react-native-firebase/[email protected] I get an error within the fileRNFBFirestoreTransactionModule.m file.
/Customers/mac/Desktop/salon-app/node_modules/@react-native-firebase/firestore/ios/RNFBFirestore/RNFBFirestoreTransactionModule.m:88:83 Definition of ‘FIRApp’ have to be imported from module ‘RNFBApp.RCTerror picture is right hereConvert_FIRApp’ earlier than it’s required
i’ve up to date pod file every thing however nonetheless points not resolved is my difficulty associated to firestore model or what i have to do im utilizing xcode model 15.2 ios construct model 13.0
My AppDelegate.mm file code is right here
#import "AppDelegate.h"
#import <Firebase.h>
#import <React/RCTBundleURLProvider.h>
#import <GoogleMaps/GoogleMaps.h>
@implementation AppDelegate
- (BOOL)software:(UIApplication *)software didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[FIRApp configure];
[GMSServices provideAPIKey:@"AIzaSyDAurBSi8KW9fONgSH2auhXWT9_vmTX4-w"];
self.moduleName = @"SalonApp";
// You possibly can add your customized preliminary props within the dictionary under.
// They are going to be handed right down to the ViewController utilized by React Native.
self.initialProps = @{};
return [super application:application didFinishLaunchingWithOptions:launchOptions];
}
- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
{
#if DEBUG
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
#else
return [[NSBundle mainBundle] URLForResource:@"principal" withExtension:@"jsbundle"];
#endif
}
@finish