Comments (6)
@sabahang - I think that's deliberate. The point of this method is to "force" a crash so it shows up in Crashlytics. If you read the Crashlytics documentation for the native implementations the first step after adding the Crashlytics library to your code is to force a crash; my guess is the crash()
method is this plugin's way of doing that without forcing developers to mess with any native code.
TLDR: run FirebaseCrashlytics.crash()
once, then remove it from your app and use the other methods:
const { FirebaseCrashlytics } = Plugins;
...
FirebaseCrashlytics.setEnabled({
enabled: true,
});
FirebaseCrashlytics.crash({
message: "This is a crash message: pretty sure you only need to do this once.",
});
from firebase-crashlytics.
@tnoetzel Well, i forced it, i saw it in the console log, but i don't receive the log in the Firebase Console.
from firebase-crashlytics.
@SalahAdDin - Did you upload your dSYMs as described here? #2 (comment)
from firebase-crashlytics.
@tnoetzel I didn't test it on iOS, but it works in Android, i tested it.
from firebase-crashlytics.
@SalahAdDin - If you're still not seeing crashes in the Firebase Console (sometimes it takes 5 minutes to show up), suggest following the instructions in the ReadMe to enable debugging and see what errors, if any, show up.
from firebase-crashlytics.
I tested it with version 0.3.0 of this plugin on Android. Everything worked. The crash was logged in Firebase. If problems persist, please open a new issue with detailed information to reproduce it.
from firebase-crashlytics.
Related Issues (20)
- Bug: Ionic build is broken after upgrading to 0.4.0 HOT 7
- bug: No Crush statistics in console for 0.4.0 HOT 1
- Add Plugin version and Firebase version for hi level using HOT 1
- com.google.firebase:firebase-bom crashing App - Workaround? HOT 3
- bug: CocoaPods could not find compatible versions for pod "Firebase/Crashlytics" HOT 12
- bug: Build Failed after Installing firebase Crashlytics on IOS HOT 9
- How to configure and use correctly? HOT 3
- bug: Not getting Crasehes in realtime in Firebase Crashlytics dashboard HOT 8
- bug: unable to implement on android device HOT 9
- bug: CocoaPods compatibility error with "GoogleUtilities/Environment" HOT 3
- erro install plugin and build app HOT 4
- bug: Android app crashes on launch HOT 1
- bug: sendUnsentReports doesn't send report immediately HOT 3
- Unable to install with error peer @capacitor/core@"^3.0.0" from @capacitor-community/[email protected] HOT 3
- feat: Ability to pass "name" into recordException HOT 2
- feat: Capacitor 5
- Build IOS app, getting error GoogleUtilities/GULURLSessionDataResponse.h file not found HOT 4
- bug: App compilation crash after setting up Firebase Crashlytics HOT 1
- bug: Error with Cocoapods on npx cap sync HOT 4
- [FEATURE]: Add required `Privacy Manifest` file for iOS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firebase-crashlytics.