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

Two cordova plugins modifying “*-Info.plist” CFBundleURLTypes

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      When 2 cordova plugins are modifying the same property, only the first added plugin is getting the changes applied:

      I.e.:
      https://github.com/EddyVerbruggen/LaunchMyApp-PhoneGap-Plugin.git
      https://github.com/Wizcorp/phonegap-facebook-plugin

      The first one:

          <config-file target="*-Info.plist" parent="CFBundleURLTypes">
            <array>
              <dict>
                <key>CFBundleURLSchemes</key>
                <array>
                  <string>$URL_SCHEME</string>
                </array>
              </dict>
            </array>
          </config-file>
      

      The second one:

          <config-file target="*-Info.plist" parent="CFBundleURLTypes">
            <array>
              <dict>
                <key>CFBundleURLSchemes</key>
                <array>
                  <string>fb$APP_ID</string>
                </array>
               </dict>
            </array>
          </config-file>
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            goya David Brett Rudd
            miqmago Miquel
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment