j3k0 / cordova-plugin-openwith

Get your Cordova App in the O.S. "Share" menu on iOS and Android
MIT License
138 stars 114 forks source link

follow the instruction but when i open share panel on ios my app doesn't show #26

Open crapthings opened 6 years ago

crapthings commented 6 years ago

maybe i missed something like 8

repeat the previous five steps for the ShareExtension target. You might also have to select a Team for both the App and Share Extension targets, make sure to select the same.

Build, XCode might complain about a few things to setup that it will fix for you (creation entitlements files, etc).

image

image

crapthings commented 6 years ago

after add target, the app is show on share panel, but when send a pic input text and click POST

nothing happen, i think it should redirect to app

image

crapthings commented 6 years ago

i've tried both sim and real device, same result. when open app i can see "init success"

then i open photo album pic an image, post to my app, nothing happen.

cordova.openwith.init(initSuccess, initError);

function initSuccess() { console.log('init success!'); } function initError(err) { console.log('init failed: ' + err); }