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

Incorrect array merging in *-Info.plist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.1.1
    • None
    • cordova-cli, cordova-lib
    • None
    • Mac OS X Yosemity

    Description

      After installing phonegap-facebook-plugin each consequent run of 'cordova prepare' results in creating a duplicate of the dictionary containing Facebook custom url scheme.
      After plugin installation App-Info.plist looks like:

          <key>CFBundleURLTypes</key>
          <array>
            <dict>
              <key>CFBundleURLSchemes</key>
              <array>
                <string>fb123456789</string>
              </array>
            </dict>
          </array>
      

      After 'cordova prepare':

          <key>CFBundleURLTypes</key>
          <array>
            <dict>
              <key>CFBundleURLSchemes</key>
              <array>
                <string>fb123456789</string>
              </array>
            </dict>
            <dict>
              <key>CFBundleURLSchemes</key>
              <array>
                <string>fb123456789</string>
              </array>
            </dict>
          </array>
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              m1r4gexx Sviatoslav Grebenchucov
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: