Crash in "handleExceptionWithContext" method (rare occurrence)
Opened this issue · 0 comments
TheNotorius0 commented
Bug report
CHECKLIST
-
I have read the issue reporting guidelines
-
I confirm this is a suspected bug or issue that will affect other users
- I have reproduced the issue using the example project or provided the necessary information to reproduce the issue.
- I have read the documentation thoroughly and it does not help solve my issue.
- I have checked that no similar issues (open or closed) already exist.
Current behavior:
Sometimes the handleExceptionWithContext
method on Firebaseplugin.java
(line 3551
) crashes because the context
parameter is null.
Note: this is not a "not irreversible" error in crashalytics, it's actually a real crash.
Expected behavior:
It shouldn't crash, maybe placing a if (context != null)
or a try {} catch{
} would be enough.
Screenshots
Environment information
- Cordova CLI version
cordova -v
12.0.0 (cordova-lib@12.0.1)
- Cordova platform version
cordova platform ls
android 12.0.1
- Plugins & versions installed in project (including this plugin)
cordova plugin ls
cordova-plugin-firebasex 16.4.0 "Google Firebase Plugin"
Runtime issue
-
Device details (that received the crash)
- Samsung Galaxy S10+ (Android 12)
- Samsung Galaxy S20 FE 5G (Android 13)
- Samsung Galaxy Galaxy A02s (Android 13)
- OnePlus Nord CE 3 Lite 5G (Android 13)
- Redmi Note 9 Pro (Android 12)
- Nokia C22 (Android 12)
Other information:
The method handleExceptionWithContext
is on FirebasePlugin.java on line 3551
.