Image picker rotating causes app to crash on android


#1

Hi,
I recently started a new ionic app and added the image picker plugin, I have a simple button on the page which calls:

  pickImage() {
    this.imagePicker.getPictures(null)
  }

When picking the images on android if you rotate to a landscape view then press ok the app orientates to a portrait view, the device then displays a while dialogue box stating [App name] has stopped and asks if I would like to open the app again. I can see no logs in my console.

Ionic Info

Global packages:
    @ionic/cli-utils : 1.1.2
    Cordova CLI      : 6.5.0
    Ionic CLI        : 3.1.2
Local packages:
    @ionic/app-scripts              : 1.3.7
    @ionic/cli-plugin-cordova       : 1.1.2
    @ionic/cli-plugin-ionic-angular : 1.1.2
    Ionic Framework                 : ionic-angular 3.2.1
System:
    Node       : v6.9.1
    OS         : Windows 10
    Xcode      : not installed
    ios-deploy : not installed
    ios-sim    : not installed

Plugins

com.synconset.imagepicker 2.1.7 "ImagePicker"
cordova-plugin-console 1.0.5 "Console"
cordova-plugin-device 1.1.4 "Device"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.2 "StatusBar"
cordova-plugin-whitelist 1.3.1 "Whitelist"
ionic-plugin-keyboard 2.2.1 "Keyboard"

#2

I have also had the same issue!


#3

Have the same issue, too…:frowning:
The device is samsung galaxy tab s2.


#4

I am facing this issue. :frowning: