Skip to content

Commit

Permalink
fix(android): Ensure appStateChange doesn't fire on startup (#2179)
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin-Credible authored and jcesarmobile committed Dec 9, 2019
1 parent 80b4cde commit 77a04c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public void fireChange(boolean isActive) {
Log.d(getLogTag(), "Firing change: " + isActive);
JSObject data = new JSObject();
data.put("isActive", isActive);
notifyListeners(EVENT_STATE_CHANGE, data, true);
notifyListeners(EVENT_STATE_CHANGE, data, false);
}

public void fireRestoredResult(PluginResult result) {
Expand Down

0 comments on commit 77a04c5

Please sign in to comment.