Ionic 2 debug crashing app

Hi,

I’m wondering how i can debug my app. It crashes after using the camera on my android device.
First it asks for permission and then it crashes and asks to restart. When i restart it doesn’t crash anymore but it doesn’t allow me to use the camera either.

I tried chrome devtools chrome://inspect/#devices but it does not give me any errors.

EDIT:
Dev tools did give me an error:

file:///storage/emulated/0/Android/data/io.ionic.starter/cache/.Pic.jpg exposed beyond app through ClipData.Item.getUri()

Does anyone have experience with it?

Thanks in advance!

1 Like

i am suffering from same thing, did you find anything to fix it ?

Hi,

Im afraid not

Op 24 nov. 2016 2:13 p.m. schreef “Westdb” <ionicframework@discoursemail.com

so what will you do about it if you cannot use camera in your application?

I will keep trying until i get it to work hehe, not gonna give up that
easily.
Thank it has to do with my nexus 6p, i’m gonna try to use an emulator and
if that doesn’t work i’ll
reset my device because in the past i was able to use the camera with ionic
2.

If you get it to work please let me know!

Met sportieve groet,

Sam van Berlo
Personal Trainer
BETERFYSIEK

automatische toevoeging:
Klik hier https://www.facebook.com/beterfysiek/reviews/ om een review
achter te laten.

Btw-Nr: NL210558167B01
KVK-Nr: 61428477
Tel: 06-11431060
E-mail: beterfysiek@gmail.com
Web: www.beterfysiek.nl
FB: www.facebook.com/beterfysiek