Open dpdragnev opened 3 years ago
Yes we did try the same here, and did a new ticket about it, no one knows and no one answers..
looks like the version of SDK was changes and the plugin have to be updated to use Firebase Crashlytics SDK 17.0.0+ https://firebase.google.com/docs/crashlytics/upgrade-sdk?hl=en&authuser=0&platform=android --Make sure you add version 17.0.0 or later (beginning November 15, 2020, this is required for your crash reports to appear in the Firebase console).--
@dnepromell the the thing is we are on nativescript 6.5.1, and we didn't want to upgrade to 7+ to not change everything in the app and we have some plugins that does not work on nativescript 7+. And from what i see if we have 6 it should be version 10 of the plugin. Is there a way to do something about it ?
That's the issue we're also facing right now, and due to number of plugins update to NS7 isn't possible. Basically Crashlytics goes silent with latest firebase 10 plugin
@EddyVerbruggen any updates on this? I'm having the same problem in all my projects 😞
On NS7 I managed to log to Crashlytics with this: import {crashlytics} from '@nativescript/firebase/crashlytics'; declare var java: any; declare var NSError: any;
if (isAndroid) { crashlytics.sendCrashLog(new java.lang.Exception('test Exception')); } else if (isIOS) { crashlytics.sendCrashLog(new NSError({ domain: 'ShiploopHttpResponseErrorDomain', code: 42, userInfo: null })); }
This should crash your app unless you have discardUncaughtJsExceptions set to true in nativescript.config
Hello,
I am having trouble logging crash events on iOS (have not tried Android yet). Here is my setup:
Here is now I initialize Firebase:
Here is how I test it:
I have enabled the Crashlytics in Firebase and have been waiting for 2 days now, but all I see is this message:
Am I missing a step?
Thanks.