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

2 main activities are generated when android package name is specified

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.0
    • Fix Version/s: None
    • Component/s: cordova-android
    • Labels:
      None

      Description

      If android-packageName is specified on the config.xml two main activity classes are generated. One with with the package name as specified on id attribute and one with the value of android-packageName. This is because the old package name is not removed when the new one is generated [1].

      This has been fixed for Cordova CLI but needs to be fixed on Android because the logic has moved.

      [1] https://github.com/apache/cordova-android/blob/master/bin/templates/cordova/lib/prepare.js#L156

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gercan Gorkem ERCAN
                Reporter:
                gercan Gorkem ERCAN
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: