diff --git a/packages/capacitor-plugin/android/build.gradle b/packages/capacitor-plugin/android/build.gradle index 61bb7af..2ae43e3 100644 --- a/packages/capacitor-plugin/android/build.gradle +++ b/packages/capacitor-plugin/android/build.gradle @@ -58,7 +58,7 @@ repositories { dependencies { implementation fileTree(dir: 'libs', include: ['*.aar', '*.jar']) implementation project(':capacitor-android') - implementation "io.ionic.libs:ionfiletransfer-android:1.0.1" + implementation "io.ionic.libs:ionfiletransfer-android:1.0.2" implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion" testImplementation "junit:junit:$junitVersion" diff --git a/packages/example-app/src/js/file-transfer-app.js b/packages/example-app/src/js/file-transfer-app.js index 3238076..2c1999a 100644 --- a/packages/example-app/src/js/file-transfer-app.js +++ b/packages/example-app/src/js/file-transfer-app.js @@ -371,7 +371,7 @@ window.customElements.define( this.showResponse('Upload completed', result); } catch (error) { - this.showError('Upload failed: ' + error.message); + this.showError('Upload failed: ' + JSON.stringify(error, null, 2)); } }