Skip to content

Commit

Permalink
fix: issue in android with new event
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Mar 31, 2022
1 parent 94c9bcc commit 3301346
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,9 @@ public void run() {
}
else if (disableAutoUpdateToMajor && new Version(newVersion).getMajor() > new Version(currentVersion).getMajor()) {
Log.i(TAG, "Cannot download Major, " + newVersion + " is Breaking change from " + currentVersion);
notifyListeners("majorAvailable", newVersion);
JSObject ret = new JSObject();
ret.put("newVersion", newVersion);
notifyListeners("majorAvailable", ret);
}
else if (!newVersion.equals("") && !newVersion.equals(currentVersion) && !newVersion.equals(failingVersion)) {
new Thread(new Runnable(){
Expand Down

0 comments on commit 3301346

Please sign in to comment.