I want to use getUserMedia api to access camera in wkwebview, api working fine on android webview but ios is not, below is what i tried
ionic cordova plugin add cordova-plugin-camera
<plugin name="cordova-plugin-camera" spec="^6.0.0" />
<edit-config file="*-Info.plist" mode="merge" target="NSCameraUsageDescription">
<string>Used to take pictures</string>
</edit-config>
also manually add the string in Info.plist file
but it only works on safari, on ionic app it shows no error but no response nor asking for camera permission
Thanks!
1 post - 1 participant