Camera module not working

Hello,
I’m discovering ionic and i need to use the camera, so i took some code and adapted to put it in my application but nothing happened. So I tried the exact same code as here https://www.thepolyglotdeveloper.com/2014/09/use-android-ios-camera-ionic-framework/ to understand how it worked but still it doesn’t do anything when i press on the “take picture” button the result is the same may it be on my nexus 5 on 6.0.1 or on my meizu m2 mini on 5.1. If anybody knew where it could be from i would be glad to hear him :slight_smile: thanks !