My app will minimize whenever i call this.camera.getPicture() or
this.androidPermissions.requestPermissions(
[
this.androidPermissions.PERMISSION.CAMERA,
this.androidPermissions.PERMISSION.CALL_PHONE,
this.androidPermissions.PERMISSION.GET_ACCOUNTS,
this.androidPermissions.PERMISSION.READ_EXTERNAL_STORAGE,
this.androidPermissions.PERMISSION.WRITE_EXTERNAL_STORAGE
]
);
i can open the native app from my app stacks, and it will properly show me the dialog to grant permissions or selecting a photo from photo album,but i have to repeatedly open the app back from the app stacks, please help
i have this in my androidmanifest.xml
<uses-feature android:name="android.hardware.camera" />
<uses-permission android:name="android.permission.CAMERA" />
and this in my config.xml
<feature name="Camera">
<param name="android-package" value="org.apache.cordova.camera.CameraLauncher" />
</feature>
<plugin name="cordova-plugin-camera" spec="^4.0.3" />