diff --git a/src/android/FileTransferBackground.java b/src/android/FileTransferBackground.java index 25e98188..3af9f44d 100644 --- a/src/android/FileTransferBackground.java +++ b/src/android/FileTransferBackground.java @@ -167,7 +167,12 @@ public boolean execute(String action, JSONArray args, final CallbackContext call private void initManager(String options, final CallbackContext callbackContext) throws IllegalStateException { if (this.ready) { - throw new IllegalStateException("initManager was called twice"); + //throw new IllegalStateException("initManager was called twice"); + + logMessage("Uploader plugin initManager - reinitializing"); + this.uploadCallback = callbackContext; + + return; } try {