Shazron's Cordova (aka PhoneGap) Blog

at Adobe Systems Inc.

Cordova/PhoneGap and the new Apple App Store Requirements

with 4 comments

Beginning May 1st 2013, apps submitted to the Apple App Store…

1. must be built for iOS devices with Retina display and iPhone apps must also support the 4-inch display on iPhone 5

2. will no longer accept new apps or app updates that access UDIDs

Cordova/PhoneGap fulfills requirement (1) since version 2.5.0 and fulfills requirement (2) since version 1.7.0.

But what if my Cordova/PhoneGap app, which I am unwilling to upgrade, needs to be updated and submitted to the App Store?

You will have to manually update and patch your code. It’s not going to be an easy task, and I should warn you that upgrading will be easier. The main changes are to handle the iPhone 5 sized splashscreen, and the code to handle that is only in Cordova/PhoneGap 2.5.0. You can include the iPhone 5 sized asset and this will trigger the app to be the right size, but because of our splashscreen support it needs to match iOS showing the splashscreen after that splashscreen disappears. See our SplashScreen API for more details.

To be doubly sure – select your project icon in the Project Navigator in Xcode, then select the Summary tab. Select your project target then review the App Icons and Launch Images sections – you’ll see if you are missing anything or whether the assets are not the right sizes (denoted by the yellow triangle icon with an exclamation point in it).

About these ads

Written by shazron

May 1, 2013 at 7:48 pm

Posted in cordova, phonegap, xcode

4 Responses

Subscribe to comments with RSS.

  1. Hi, why we need phonegap 2.5.0? I develop my app with Sencha Touch + Phonegap, i support iphone 5 splash screen since phonegap 1.8.1 (off course by modifying the main,c code). Currently i use phonegap 2.2.0 on iOs, but id ont see any pronlem with iPhone 5 spalsh screen, or i’m missing somthing?

    2bsoftware

    May 2, 2013 at 10:30 am

    • It might just go away too fast for you to see on faster devices, it might be apparent in older devices. It’s definitely not handled properly on earlier Cordova versions.

      shazron

      May 3, 2013 at 11:30 pm

  2. Hi Shazron, thanks for the response. I understand,,i never use autohide, i hide splash screen within the app once the main component (sencha touch componet) is rendererd. I’ve tested on all devce (iPhone 4s/5 iiPad 2/4) i dont see any issue as for now. I tested also on Android device (I know that that you are the lead developer for Cordova iOS) except for the Galaxy S4.

    2bsoftware

    May 4, 2013 at 10:03 am

  3. Hi,
    I am going to but a cordova but now read your post i need to be updated about cordova phoneGap apps.!

    Mobilepundits

    May 16, 2013 at 10:40 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 1,523 other followers

%d bloggers like this: