Support for new version of Firebase
loranttoth opened this issue ยท 6 comments
Due to European Union legislation, it becomes necessary to add 2 new elements to the consent data to be sent to firebase (via analytics version 21.5.0). Accordingly, firebase released a new version of the library (firebaseBOMVersion: 32.5.0+). We would therefore need a new version of nativescript/firebase, which would enable the transfer of this data.
Are you planning to release a new version accordingly?
Thanks for the heads-up, I'll release an update soon.
Thank you for your quick answer, I'll be waiting for the update version!
Hi triniwiz,
thanks for the new version! Unfortunately I have a new error on Android platform, that I've not seen before. It caused when I call logEvent() from NativeScript.
The message: "Error: java.lang.Exception: Failed resolving method logEvent on class com.google.firebase.analytics.AnalyticsKt"
These are the versions we use in the package.json:
"@angular/compiler-cli": "^14.3.0",
"@nativescript/android": "8.6.2",
"@nativescript/ios": "8.6.3",
"@nativescript/types": "8.6.1",
"@nativescript/webpack": "^5.0.18",
"nativescript": "8.6.5",
Do yo have any idea or suggestion how to solve this error?
Also I think, still missing the 2 new consent type use case from the index.android.ts setConsent() function (there are two case in the switch, and need another two new ones (AD_USER_DATA, AD_PERSONALIZATION).
Thanks for your help, keep going with the good job!
@loranttoth good to go on the latest
Hi triniwiz,
Thank you very match! The latest version works well!