-
-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -544,6 +544,9 @@ public void onActivityStopped(@NonNull final Activity activity) { | |
} | ||
|
||
if (this.autoDeleteFailed) { | ||
This comment has been minimized.
Sorry, something went wrong. |
||
final JSObject ret = new JSObject(); | ||
ret.put("version", current); | ||
this.notifyListeners("updateFailed", ret); | ||
This comment has been minimized.
Sorry, something went wrong.
lincolnthree
Collaborator
|
||
Log.i(CapacitorUpdater.TAG, "Deleting failing version: " + current); | ||
try { | ||
final Boolean res = this.implementation.delete(current.getVersion()); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Not sure the
updateFailed
event should be contained within theif(autoDeleteFailed)
block. WDYT?