I'm writing up a blog post for the general public, and adding guidance on how to fix some issues with the API changes (migration).
I did something some time ago where I tested all of the iOS plugins on CPR using a script, and during that time they all passed, but it was time consuming testing 400+ plugins. The list: http://plugins.cordova.io/_view/searcher I used this, but I haven't touched it in a while to fix things, it might not work reliably any more async: https://github.com/shazron/cordova-plugin-tester (it worked well sync, but testing 400+ plugins took hours). Essentially all it does is in a loop: 1. create a temp project 2. add the cordova-ios-4.0.x platform (master) 3. add the plugin 4. build 5. test the exit code 6. save it for the report A temp project is created each time to isolate side effects from other plugins. On Wed, Sep 2, 2015 at 5:38 AM, Nikhil Khandelwal <[email protected]> wrote: > This is great level of detail. Since there are plugin API changes - it > would be great to make a broader post - on slack, twitter, our blog. > > Do we have a sense of how impactful are the breaking changes - say how > many of the top 50 plugins will not compile when ios 4.0 releases? If not, > I can help with some of this. > > -Nikhil > > -----Original Message----- > From: Shazron [mailto:[email protected]] > Sent: Tuesday, September 1, 2015 4:38 PM > To: [email protected] > Subject: [DISCUSS] cordova-ios 4.0.0 release > > Gotta get the train going again, it's been too long. > > The kanban board for this is at: > > https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fissues.apache.org%2fjira%2fsecure%2fRapidBoard.jspa%3frapidView%3d76&data=01%7c01%7cnikhilkh%40microsoft.com%7c08b034c083874c2c66d508d2b3267cc1%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=K1qHZZpDy2lSIUt4tG98j9MPVP7FRCDOp1TJ%2fpPQo9U%3d > > Please help if you can by assigning an issue to yourself, and selecting > the "Start Progress" button. This will show who is working on what in the > middle "In Progress" column. > > I've trimmed this and it includes cordova-ios platform issues, and some > plugin issues. Priority given to platform issues of course, and issues with > iOS 9. If there is a pressing issue that needs to go in, assign it the > label "cordova-ios-4.0.x" but propose it to this thread first so we don't > get de-railed, there's only so much room on the train. Similarly if you > think an issue can get thrown off the train to cordova-ios-5.0.x, post on > this thread. > > Focus is on core plugin stability with the new platform, since it does > have API changes. If downstream distribution people are on this list, this > concerns your third-party plugins too. > > The easiest way to test if it affects your plugin building: > > ``` > cordova platform add > https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fapache%2fcordova-ios.git&data=01%7c01%7cnikhilkh%40microsoft.com%7c08b034c083874c2c66d508d2b3267cc1%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=g3UNK0NRdsaPGqsxIzUMxcXN8zRLpWyVdhUKe9pLnA0%3d > cordova plugin add your-plugin-id > cordova build > ``` > > Plugin updates and highlights: > - API changes doc: > > https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fapache%2fcordova-ios%2fblob%2fmaster%2fguides%2fAPI%2520changes%2520in%25204.0.md&data=01%7c01%7cnikhilkh%40microsoft.com%7c08b034c083874c2c66d508d2b3267cc1%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=EPGtg%2fAbzCvZ%2f3zib2H5I9oNyvJB7%2bFSCeHJ5q1n5Dc%3d > - 3 new private core plugins to the platform: > > https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fapache%2fcordova-ios%2ftree%2fmaster%2fCordovaLib%2fClasses%2fPrivate%2fPlugins&data=01%7c01%7cnikhilkh%40microsoft.com%7c08b034c083874c2c66d508d2b3267cc1%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=DFA1psN5aCn0GNucm9NOFRZWJRX86%2bp2RmXZA4GHkKA%3d > - Plugin localized strings and resource loading: > > https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fapache%2fcordova-ios%2fblob%2fmaster%2fCordovaLib%2fClasses%2fPublic%2fCDVPlugin%252BResources.h&data=01%7c01%7cnikhilkh%40microsoft.com%7c08b034c083874c2c66d508d2b3267cc1%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=qGNLKonBYDHgwhSa5iPnakeBns2vfuVa42OTIMHqmCE%3d > - Preferences helper: > > https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fapache%2fcordova-ios%2fblob%2fmaster%2fCordovaLib%2fClasses%2fPublic%2fNSDictionary%252BCordovaPreferences.h&data=01%7c01%7cnikhilkh%40microsoft.com%7c08b034c083874c2c66d508d2b3267cc1%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=6S%2bInwG0YRdLm9niK4wZtEMks6BBYjsrzEXeOTvnuU8%3d > - WebViews as plugins. UIWebView is a private core plugin (see above). > WKWebView as a plugin installable > > https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fapache%2fcordova-plugins%2ftree%2fmaster%2fwkwebview-engine&data=01%7c01%7cnikhilkh%40microsoft.com%7c08b034c083874c2c66d508d2b3267cc1%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=a9Tazxtga6e9dYRMoO3z1YBTe5%2fdYDVAOnLe1yk3sik%3d > > I also want to highlight this scenario which a lot of people will > encounter: > > https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fissues.apache.org%2fjira%2fbrowse%2fCB-9592&data=01%7c01%7cnikhilkh%40microsoft.com%7c08b034c083874c2c66d508d2b3267cc1%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=S8a9hXH%2b0msUEiIcOAjH3SPOsj%2bpzcpfttKujsWTwPs%3d > > I had to trim features and push it off to cordova-ios-5.0.x: > > https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fissues.apache.org%2fjira%2fsecure%2fRapidBoard.jspa%3frapidView%3d86&data=01%7c01%7cnikhilkh%40microsoft.com%7c08b034c083874c2c66d508d2b3267cc1%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=fMkNggbxDd6d9AjQKNqxFOcEqzuZKdUWp7V3f2pw79A%3d > > Planned ship/vote date is around iOS 9 release time, which I believe is in > 2 weeks or so (mid Sept 2015). > > Choo choo.... >
