Friday, November 14, 2025
HomeiOS Developmentcordova - How do I exploit MediaDevices.getUserMedia() to entry digicam in Ionic...

cordova – How do I exploit MediaDevices.getUserMedia() to entry digicam in Ionic ios wkwebview?

[ad_1]

I wish to use getUserMedia api to entry digicam in wkwebview, api working high quality on android webview however ios is just not, beneath is what i attempted

ionic cordova plugin add cordova-plugin-camera

<plugin title="cordova-plugin-camera" spec="^6.0.0" />

<edit-config file="*-Data.plist" mode="merge" goal="NSCameraUsageDescription">
    <string>Used to take footage</string>
</edit-config>

additionally manually add the string in Data.plist file
but it surely solely works on safari, on ionic app it exhibits no error however no response nor asking for digicam permission

Thanks!

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments