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 · 1 comment
Open

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

loranttoth opened this issue Feb 27, 2024 · 1 comment

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.

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

2 participants