From 22245fed0b60682c9455c19ff75f32d8309abf38 Mon Sep 17 00:00:00 2001 From: zigbang-rad Date: Tue, 23 Jul 2024 17:54:28 +0900 Subject: [PATCH 1/2] fix: java.lang.NullPointerException - Attempt to invoke direct method 'void org.apache.cordova.firebase.FirebasePlugin.executeGlobalJavascript(java.lang.String)' on a null object reference --- src/android/FirebasePlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android/FirebasePlugin.java b/src/android/FirebasePlugin.java index dad6f48f3..96fdb9f54 100755 --- a/src/android/FirebasePlugin.java +++ b/src/android/FirebasePlugin.java @@ -4065,7 +4065,7 @@ public void onFailure(@NonNull Exception e) { } }); } catch (Exception e) { - FirebasePlugin.instance.executeGlobalJavascript(JS_GLOBAL_NAMESPACE + "_onAuthIdTokenChange()"); + handleExceptionWithoutContext(e); } } } From 62af7fcb47447be83e662bd8e3ef14ea6077db2e Mon Sep 17 00:00:00 2001 From: zigbang-rad Date: Tue, 6 Aug 2024 13:10:55 +0900 Subject: [PATCH 2/2] chore: cordova-plugin-firebasex@16.5.1-hogangnono --- package.json | 4 ++-- plugin.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 3a37ea3ce..a7cc2f042 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-firebasex", - "version": "16.5.0-hogangnono", + "version": "16.5.1-hogangnono", "description": "Cordova plugin for Google Firebase", "types": "./types/index.d.ts", "author": { @@ -44,4 +44,4 @@ "publishConfig": { "registry": "https://npm.housefeed.com" } -} \ No newline at end of file +} diff --git a/plugin.xml b/plugin.xml index 86c7ca544..af7be0a41 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,5 +1,5 @@ -