Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70779

Image Picker Causing sudden death crash in Android

$
0
0

@brettbutcher wrote:

I have been succesfully using the Cordova Camera Plugin but want to be able to select more than one image, so I have added the ImagePicker plugin.
As soon as I activate it the app crashes immediately (only using Android so far). I have a device connected to the PC and the debug connection is lost immediately.

I tried simplifying it and used the code from FreakyJolly’s blog to test it in another template app…
The blog I mentioned
This worked fine, but doesn’t have the myriad of other plugins, such as file and deeplinks that I am using in the main app.

I have set it up in the app.module.ts:

import { ImagePicker } from '@ionic-native/image-picker/ngx';
and
providers: [
    StatusBar,
    SplashScreen,
    Camera,
    ImagePicker,
...

I am using Ionic 4.7 with Angular 8. Does anyone have any suggestions? I can’t even debug it as it just dies instantly. Are there any interactions I should know about?
Thanks

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70779

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>