Open TheNotorius0 opened 2 months ago
CHECKLIST
[x] I have read the issue reporting guidelines
[x] I confirm this is a suspected bug or issue that will affect other users
[x] I have reproduced the issue using the example project or provided the necessary information to reproduce the issue.
[x] I have read the documentation thoroughly and it does not help solve my issue.
[x] 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.
handleExceptionWithContext
Firebaseplugin.java
3551
context
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.
if (context != null)
try {} catch{
Screenshots
Environment information
cordova -v
cordova platform ls
cordova plugin ls
Runtime issue
Device details (that received the crash)
Other information:
The method handleExceptionWithContext is on FirebasePlugin.java on line 3551.
Bug report
CHECKLIST
[x] I have read the issue reporting guidelines
[x] I confirm this is a suspected bug or issue that will affect other users
[x] I have reproduced the issue using the example project or provided the necessary information to reproduce the issue.
[x] I have read the documentation thoroughly and it does not help solve my issue.
[x] I have checked that no similar issues (open or closed) already exist.
Current behavior:
Sometimes the
handleExceptionWithContext
method onFirebaseplugin.java
(line3551
) crashes because thecontext
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 atry {} catch{
} would be enough.Screenshots
Environment information
cordova -v
12.0.0 (cordova-lib@12.0.1)cordova platform ls
android 12.0.1cordova plugin ls
cordova-plugin-firebasex 16.4.0 "Google Firebase Plugin"Runtime issue
Device details (that received the crash)
Other information:
The method
handleExceptionWithContext
is on FirebasePlugin.java on line3551
.