Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error calling setConsent() in the last version. #242

Open
loranttoth opened this issue Feb 27, 2024 · 2 comments
Open

Error calling setConsent() in the last version. #242

loranttoth opened this issue Feb 27, 2024 · 2 comments

Comments

@loranttoth
Copy link

Hi!

I got another error in the firebase-analytics lib.

An uncaught Exception occurred on "main" thread.
Calling js method run failed
Error: java.lang.Exception: Failed resolving method setConsent on class com.google.firebase.analytics.AnalyticsKt

version: 3.2.2

I hope, this time again can solve this problem soon!

Best regards,
Lorant

@loranttoth loranttoth changed the title Error calling setContent() in the last version. Error calling setConsent() in the last version. Feb 29, 2024
@dsvishchov
Copy link

Adding my 50 cents here. For me setConsent does not work in the previous version as well, but only in release build (working fine in debug) throwing an issue that FIRConsentTypeAdStorage is not defined.

Actually trying to access any of variables declared in @nativescript/firebase-analytics/typings/objc!FirebaseAnalytics.d.ts leads to this issue.

@sommistica
Copy link

For me i get the same error in debug mode, but also in release mode. Did any of you get it to work somehow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants