简体   繁体   English

将ionic3应用程序与Firebase Analytics离子本机插件集成

[英]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: 我将GoogleService-Info.plist放在应用程序文件夹的根目录(而不是plaforms / ios /)中,并在xcode中构建了该应用程序,该文件在以下文件中显示错误:

FirebaseAnalyticsPlugin.m: 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 . 我强烈建议使用此firebase本机插件 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 . 但是,如果您需要更多有关Firebase Analytics的信息,请参阅这篇精彩的文章

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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