Open Anuj-logiciel opened 6 years ago
Which version of iOS are you trying on? If it is that old that its Safari does not support ES6 syntax, try to convert the openwith.js with babel or symply replace all "let" with "var".
@EternallLight I'm able to open my app on newer ios version (11.3) when sharing files from other apps, My app opens fine but my handler code never gets executed and xcode logs show 'Nothing to share' as in attached screenshot.
I had the same problem and for me the problem was that the group ids did not match. When you give the Group Ids under Target --> Capabilities make sure that this group matches the one defined under ShareViewController.h
in the constant SHAREEXT_GROUP_IDENTIFIER
.
@Konkrad Saved my day! I don't understand why wasn't the value applied as part of the install hook...
@Konkrad you are right ! that fix problem , thank you ! u the hero, man ~
That's it ! you have to add a group in Xcode (signing & capabilities, + capability, group, in both targets), give it a name, and change the aforementioned variable.
After Installing this plugin when I run my app, I get nothing only splashscreen of my app. After spending some time for finding the issue I got
Unexpected use of reserved word 'let' in 'openwith.js'
. Could anybody let me know whats wrong I am doing here or to do ???