简体   繁体   中英

Integrate ionic3 app with firebase analytics ionic native plugin

I have put the GoogleService-Info.plist at the root of app folder(not the plaforms/ios/), and i build the app in xcode it show error in the below file:

FirebaseAnalyticsPlugin.m:

[FIROptions defaultOptions].deepLinkURLScheme = [FIROptions defaultOptions].bundleID;

and the error is:

property 'bundle id' not found on object of type 'FIRoptions'

Anyone know how to fix this problem?Thanks

I highly recommend using this firebase native plugin . It is working fine.

ionic cordova plugin add cordova-plugin-firebase
npm install --save @ionic-native/firebase

But if you need to know more about Firebase Analytics then see this great article .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM