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

Globalization.getDateNames will crash Android 2.2 applications

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Master
    • 2.2.0
    • cordova-android
    • None

    Description

      The Globalization.getDateNames Java code relies on Android API level 9 (Android 2.3) methods. Specifically Calendar.getDisplayNames(). I'm adding a check in the Globalization plugin so when someone calls Globalization.getDateNames() on Android 2.2 or earlier the error callback is invoked instead of having the application crash.

      Attachments

        Activity

          People

            macdonst Simon MacDonald
            macdonst Simon MacDonald
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: