@patrick_preclose wrote:
Hi,
For some reason, every time I run "ionic build ios", the plugin folder for "phonegap-plugin-push" is copied to
platform/ios/www/lib
. I'm not even sure this is restricted to iOS builds because I see it as well inwww/lib
. Unfortunately, I have to delete this folder every time I try to archive and upload a build to iTunes Connect because of a bundle issue, exactly as described here: https://github.com/phonegap/phonegap-plugin-push/issues/872. So it appears this issue has been observed before. Any reason why this particular plugin is copied to thelib
folder?In my
package.json
, I have the plugin added like this:
"cordovaPlugins": [
"cordova-plugin-device",
"cordova-plugin-console",
"cordova-plugin-whitelist",
"cordova-plugin-splashscreen",
"ionic-plugin-keyboard",
{
"locator": "https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin.git",
"id": "cordova-plugin-x-toast"
},
{
"locator": "https://github.com/pwlin/cordova-plugin-file-opener2.git",
"id": "cordova-plugin-file-opener2"
},
{
"variables": {
"SENDER_ID": "99999999"
},
"locator": "phonegap-plugin-push",
"id": "phonegap-plugin-push"
},
"cordova-plugin-file-transfer",
"cordova-plugin-file",
"cordova-plugin-inappbrowser",
"cordova-plugin-secure-storage"
]In my
config.xml
, the plugin is there as the following:
<plugin name="phonegap-plugin-push" spec="~1.8.1">
<variable name="SENDER_ID" value="1234567" />
</plugin>Thanks!
Posts: 2
Participants: 1