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

Preference activation no longer occurs in CordovaActivity.onCreate()

    Details

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

      Description

      During the 3.6.0 development timeframe, a modification was made to CordovaActivity.onCreate() to move the activation of preferences to CordovaActivity.init(). For applications that were relying on the activation of preferences in onCreate(), those preferences are no longer active when onCreate() completes, and may break those applications. Although it is described as a "subtle change to the API surface" in the commit message, this is a breaking change to a public API.

      https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commitdiff;h=705991e5b037743e632934b3c6ee98976e18d3f8
      https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commitdiff;h=a14c7942557fbaea41438bd3fe104b47997d8371;hp=aef96e95e82545a2321d798b469ec7fe60f72803

      http://callback-dev.markmail.org/thread/gcfaz4ffchf3wo2s

        Attachments

          Activity

            People

            • Assignee:
              cmarcelk Marcel Kinard
              Reporter:
              cmarcelk Marcel Kinard
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: