DrMoriarty / godot-firebase-analytics

Firebase Analytics plugin for Godot engine
17 stars 5 forks source link

Google Analytics for Firebase version does not match Google App Measurement #10

Closed kyoz closed 2 years ago

kyoz commented 2 years ago

When try running with firebase-analytics plugin on iOS, i'v face this problem and is cause the app the crash immediately on load. Is there any fix for this like changing Google App Measurement version @@

*** Terminating app due to uncaught exception 'FIRAnalyticsVersionMismatch', reason: 'Google Analytics for Firebase version (70100000) does not match with Google App Measurement (80101000) version. Please update.'
terminating with uncaught exception of type NSException
DrMoriarty commented 2 years ago

Do you use any firebase frameworks in addition to firebase-analytics plugin?

kyoz commented 2 years ago

This is the list of current plugins i'm using:

Admob - 1.1.0 Local Notification - 0.2.2 Firebase Analytics - 0.2.2

kyoz commented 2 years ago

I don't know exactly if Admob plugins is using firebase or not. I'v search through the code and it seem doesn't use Firebase @@

kyoz commented 2 years ago
Screen Shot 2021-08-22 at 16 34 47

Just found out, seem that's by the admob plugins. To solve this problem, do i have to rebuild that plugin or just copy and paste the GoogleAppMeasurement in Firebase Analytics plugin to Admob plugin :D..

Thank you very much

kyoz commented 2 years ago
Screen Shot 2021-08-22 at 16 49 45

This is my currently Framework folders in Xcode project

kyoz commented 2 years ago

For more information, the Admob Plugin is using Google Mobile Ads SDK (8.9.0)

DrMoriarty commented 2 years ago

Yes, this is a version mismatch issue. Try to change GoogleAppMeasurement in AdMob with version from firebase plugin (or vice verce if this don't work) At any time you can reinstall NativeLib plugins in order to rollback all changes in them.

kyoz commented 2 years ago

Thank you so much, i'll give it a try :D