Skip to content

Commit

Permalink
Merge pull request #12 from m1ga/fixRealtime
Browse files Browse the repository at this point in the history
android: Fix realtime update value
  • Loading branch information
m1ga authored Aug 17, 2023
2 parents 20eb2d8 + 86446e2 commit 889da4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion android/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# this is your module manifest and used by Titanium
# during compilation, packaging, distribution, etc.
#
version: 4.3.0
version: 4.3.1
apiversion: 4
architectures: arm64-v8a armeabi-v7a x86 x86_64
description: titanium-firebase-config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ public void onUpdate(ConfigUpdate configUpdate) {
Set<String> keys = configUpdate.getUpdatedKeys();
KrollDict result = new KrollDict();
result.put("keys", keys.toArray());
fireEvent("update", result);

FirebaseRemoteConfig.getInstance().activate().addOnCompleteListener((OnCompleteListener) task -> {
fireEvent("update", result);
});
}

Expand Down

0 comments on commit 889da4e

Please sign in to comment.