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

Cant share anything if the app is active #94

Open joshoconnor89 opened 4 years ago

joshoconnor89 commented 4 years ago

The following results in weird behavior in iOS:

-Open app -take screenshot of app -share that screenshot to app while its open -nothing happens -EVEN WEIRDER: if you close the app, then reopen, it will share.

Does this plugin support sharing while the app is open? Thanks

joshoconnor89 commented 4 years ago

It looks like in the OpenWithPlugin.m the method - (void) pluginInitialize { seems to only check if theres files to be uploaded when the app becomes active, I've tried using a custom NSNotification from ShareViewController.m when a file is shared but its never captured in OpenWithPlugin.m.

Any suggestions?