monjitd commented on issue #569:
URL:
https://github.com/apache/cordova-plugin-camera/issues/569#issuecomment-633177051
Hi,
Here's what I had to add to my config.xml:
*<feature *name*=*"Device"*>*
*<param *name*=*"ios-package" value*=*"CDVDevice"* />*
*</feature>*
*<feature *name*=*"CDVWKWebViewEngine"*>*
*<param *name*=*"ios-package" value*=*"CDVWKWebViewEngine"* />*
*</feature>*
*<preference *name*=*"CordovaWebViewEngine" value*=*"CDVWKWebViewEngine"*
/>*
*<feature *name*=*"WKWebViewWindowOpen"*>*
*<param *name*=*"ios-package" value*=*"WKWebViewWindowOpen"* />*
*</feature>*
Add plugin ‘@zestia/cordova-plugin-wkwebview-engine-windowopen’. This will
install the ‘ cordova-plugin-wkwebview-engine’ plugin, and also add
zestia-cordova-plugin-wkwebview-engine-windowopen to package.json
Simply adding plugin ‘ cordova-plugin-wkwebview-engine’ was not enough,
because once this plugin was added ( so that video files, similar to
photos, can be selected to be uploaded from the iphone’s image library ),
it broke the ability to open all the external links. So, the plugin
‘@zestia/cordova-plugin-wkwebview-engine-windowopen’ had to be installed.
Website:
https://developer.aliyun.com/mirror/npm/package/@zestia/cordova-plugin-wkwebview-engine-windowopen/v/1.0.1?spm=a2c6h.14275010.0.0.74f2643eCJWdAV&file=1.0.1
Cheers
Monjit.
On Sat, May 23, 2020 at 6:02 PM Daniel Marcus <[email protected]>
wrote:
> I'm facing the exact same issue, but I actually already had the wkwebview
> plugin installed. Everything works, except for getting videos from my
> library. Any tips for me @monjitd <https://github.com/monjitd>? Are you
> maybe using an older version of the plugin? Because I currently have the
> latest.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
>
<https://github.com/apache/cordova-plugin-camera/issues/569#issuecomment-633146295>,
> or unsubscribe
>
<https://github.com/notifications/unsubscribe-auth/AITR5J5LVJBE7MYWHGMP2FTRTBBYXANCNFSM4LEAPM3A>
> .
>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]