Photo library request authorization not working on android

Hy Guys

I am adding photo library to my ionic 2 project and it works fine on IOS devices. However I am not able to get photo library requestauthorization method popup on android device.

platform.ready().then(() => {
      // Okay, so the platform is ready and our plugins are available.
      // Here you can do any higher level native things you might need.
      StatusBar.styleDefault();
      this.hideSplashScreen();
      this.menuCtrl.open();
      this.photoLibrary.requestAuthorization();
    });

photoLibrary.requestAuthorization shows popup on iOS device but not showing on android app start.

is Photo Library - Ionic Documentation?

@Sujan12 I have written this.photoLibrary.requestAuthorization(); but it is not showing any popup as it shows in ios.

and also I am using the same native photo library provided by ionic

So the same one I linked to and asked you a Yes/No question about? Or not?

Hey @owaisbakhtiar… Were you able to resolve this? I am also facing the same issue. It asks for permissions on few android device and on some others it does not ask for permission and hence it does not work there.