-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS: App will not called after post #95
Comments
use my plugin https://github.com/joshoconnor89/cordova-plugin-openwith |
You can also test the latest version of the plugin.
I recently merged a PR with a lot of corrections regarding the plugin installation on IOS. Feel free to give feedback. |
I installed the latest version but there is a bug in iosAddTarget.js. if you add the platform for the first time you get the following error: Error: ENOENT: no such file or directory, scandir '/Users/xxxxx/platforms/ios/ShareExtension' this is the result of calling the function below BEFORE the "ShareExtension" dir is added at the platform |
@dickverweij, Can you detail the command lines you use? I can't reproduce this error with the NPM version nor with the GIT version.
On the other hand, I strongly advise to use the GIT version via :
It has my last corrections concerning the installation on ios: #97 |
We work with an automatic (devops) build system. This means everything is build cleanly: "dependencies": { we pull the lastest version from git
then we get this error: Executing script found in plugin cc.fovea.cordova.openwith for hook "after_prepare": plugins/cc.fovea.cordova.openwith/hooks/iosAddTarget.js
|
Ok, if your build system requires you to configure the hooks manually you may need to make some updates:
The copy of the |
another side effect of the new version is that the CODE_SIGN_ENTITLEMENTS property is overwritten in the project file (for the main target of the app) |
Which old version are you referring to? Because nothing has changed on this point between version 2.0.0 and the last commits : https://github.com/j3k0/cordova-plugin-openwith/pull/97/files Concerning the directory copy problem: Is it fixed? |
regarding the directory copy problem: the hook "before prepare" is fired BEFORE the call from restore.installPluginsFromConfigXML.. thus the "before prepare" hook is never called..
~ |
I managed to reproduce the problem. |
@BenjaminPoncet shall I submit a new issue for the CODE_SIGN_ENTITLEMENTS problem? My project main target has other entitlements (associated domains, etc) and those are overwritten by the new entitlements fix. |
Yeah, new issue would be nice.
|
hello, i still have a problem on ios. i think everything is configured correctly, but if i run the app on ios (12 and 13) first i get the native post-module with picture and text, after "post" it will not call my app, nothing happen. maybe you can help me. thank you
The text was updated successfully, but these errors were encountered: