*Use Case*: Choose image from Gallery and execute callbacks
*Issue*: Redirection to Home screen of the app after image selection from Gallery.
Getting image from Camera works:
Choosing image from Gallery redirects to the homescreen
The code is fairly simple and is mentioned at many places to give an example of how to choose image from Gallery. This code doesn't work on any screen other than the home screen of App. Also, no errors are reported before redirection.
The following code also results in redirection to the homescreen after image selection.
Device: Windows Lumia 535
Device OS Version: 8.1
Cordova plugin camera: 2.2.0