apache / cordova-plugin-file-transfer

Apache Cordova File Transfer Plugin
https://cordova.apache.org/
Apache License 2.0
595 stars 888 forks source link

After Uploading(both success / fail) Page routes to Previous Screen. #248

Closed Saqib92 closed 4 years ago

Saqib92 commented 4 years ago

Bug Report

Problem

Uploading an Image from Camera or Gallery using ionic Camera plugin (works fine) but Application routes to previous Screen Automatically on both cases(success / failure).

What is expected to happen?

Expectation: Application should remain on same page.

What does actually happen?

Application going to previous page after uploading image taken from ionic Camera plugin V 4.1.0 (on both cases success / fail)

Information

ionic v 5.2.1 cordova v 9.0.0 (cordova-lib@9.0.1)

Plugin Versions:

cordova-plugin-camera 4.1.0 "Camera" cordova-plugin-file 6.0.2 "File" cordova-plugin-file-transfer 1.7.1 "File Transfer"

Command or Code

ionic start testProject blank ionic cordova plugin add cordova-plugin-file ionic cordova plugin add cordova-plugin-camera ionic cordova plugin add cordova-plugin-file-transfer

Environment, Platform, Device

Ionic:

Ionic CLI : 5.2.1 (C:\Users\ammar\AppData\Roaming\npm\node_modules\ionic) Ionic Framework : @ionic/angular 4.6.2 @angular-devkit/build-angular : 0.13.9 @angular-devkit/schematics : 7.3.9 @angular/cli : 7.3.9 @ionic/angular-toolkit : 1.5.1

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1) Cordova Platforms : android 8.0.0 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.1, (and 13 other plugins)

Utility:

cordova-res : 0.5.1 native-run : 0.2.7

System:

Android SDK Tools : 26.1.1 (C:\Users\ammar\AppData\Local\Android\Sdk) NodeJS : v10.15.3 (C:\Program Files\nodejs\node.exe) npm : 6.11.3 OS : Windows 10

Version information

Stackoverflow Link for code:

Stackoverflow Question link

Checklist

Saqib92 commented 4 years ago

Sorry it was my Mistake. i fixed it now. this bug wasn't related to this plugin. Thanks.