Help with Crashlytics
See original GitHub issueHello
Today I tried the latest version of nativescript-plugin-firebase
for the new Crashlytics in my “old” NS 3.4.2 project for Android but wasn’t able to force a crash send report with this code (which I did with old reporting tool):
firebase.sendCrashLog({
message: "Hey, I was logged!",
showInConsole: true
}).then(
function () {
console.log('ok crash');
},
function (error) {
console.log(error);
console.log('nok');
}
);
What I see in console:
JS: Make sure firebase-crash is in the plugin's include.gradle
JS: nok
Also tried with…
...
declare const Crashlytics: any;
...
Crashlytics.getInstance().crash();
...
… in main.ts
, which throws an Crashlytics is not defined
error.
Any ideas?
My package.json: https://gist.github.com/carrbrpoa/fad3b9e9414a28002e157f018b8c9ada
Thanks in advance!
Issue Analytics
- State:
- Created 5 years ago
- Comments:9
Top Results From Across the Web
Firebase Crashlytics
Firebase Crashlytics is a lightweight, realtime crash reporter that helps you track, prioritize, and fix stability issues that erode your app quality.
Read more >Crashlytics - FlutterFire
Crashlytics helps you to collect analytics and details about crashes and errors that occur in your app. It does this through three aspects:....
Read more >Crashlytics - React Native Firebase
Crashlytics helps you to collect analytics and details about crashes and errors that occur in your app. It does this through three aspects:....
Read more >7 tips for getting the most out of Crashlytics - The Firebase Blog
Crash insights helps you understand your crashes better by giving you more context and clarity on why those crashes occurred. When you see...
Read more >Boost your Crashlytics reports with custom keys & log messages
Custom keys help you get the specific state of your app leading up to a crash or non-fatal. You can associate arbitrary key/value...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think it is working now. Did a release build and a true (non forced) fatal exception happened, being logged in Crashlytics.
Hello, please this plugin is making app crash when itest it on a real device, it wasn’t like that before. Now my app stops working whenever i run it.