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

Additional Plugin Note on Upgrading from 2.3.0 to 2.4.0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.5.0
    • Component/s: cordova-ios
    • Labels:
      None

      Description

      Update guides/Plugin Upgrade Guide.md

      Because of NSJSONSerialization use in Cordova 2.4.0, all the objects in command.arguments are immutable. If you need them to be mutable, please do a :

      id x = [obj mutableCopy];

      then if your plugin is non-ARC,

      [x release];

      See example here:
      https://github.com/phonegap/phonegap-facebook-plugin/pull/251

        Attachments

          Activity

            People

            • Assignee:
              shazron Shazron Abdullah
              Reporter:
              shazron Shazron Abdullah
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: