Ionic v1 app not working


#1

I have created android webview app using ionic v1 but on that camera, mic and photo upload feature is not working even in ionic serve too but its working on website. I have installed all the necessary plugins too but still its not working. The plugins i have installed is as follows with the command cordova plugin ls :-

> cordova plugin ls
com.synconset.imagepicker 2.1.10 "ImagePicker"
cordova-plugin-camera 4.0.3 "Camera"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-file 6.0.1 "File"
cordova-plugin-inappbrowser 3.0.0 "InAppBrowser"
cordova-plugin-ionic-keyboard 2.0.5 "cordova-plugin-ionic-keyboard"
cordova-plugin-media-capture 3.0.2 "Capture"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova.plugins.diagnostic 4.0.5 "Diagnostic"
onesignal-cordova-plugin 2.3.3 "OneSignal Push Notifications"


#2

What errors are you getting


#3

my ionic webview app is having video call option which working correctly on mobile web butnot on ionic app. Wile doing video call its showing “An error occured while connecting to device mic and camera”
I think the app needs camera and mic permission for android so if yes then what plugins or steps i have to add on ionic. please let me know or suggest any other way


#4


or


#5

i have added both the plugins using add plugin command
Next what i have to do?
do i need to put any code anywhere? pls guide me i am totally new to this


#6

and yes i need to install both or anyone?


#7

anyone will do. cordova diagnostic caters to both android and ios.