Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13112

<resource-file> should not create a new file reference on each "cordova prepare"

    XMLWordPrintableJSON

    Details

      Description

      See https://github.com/phonegap/phonegap-plugin-push/issues/1826#issuecomment-317750559

      Race condition is the result of multiple file references, which results in a CopyPlistFile error.

      Only create one file reference, not multiples.

      cordova create foo
      cd foo
      cordova plugin add phonegap-plugin-push@2.0.0-rc4
      touch GoogleService-Info.plist
      nano config.xml (add GoogleService-Info.plist file, see https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/INSTALLATION.md#installation-requirements)
      cordova platform add ios
      cordova build ios
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shazron Shazron Abdullah
                Reporter:
                shazron Shazron Abdullah
              • Votes:
                3 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: