Apps that worked in 2.9 do not work in 3.1 IOS 7

  • 3
  • Question
  • Updated 6 years ago
  • Answered
I have gone through the steps in the documentation to upgrade and use Phonegap Build 3.1 for hybrid apps and I can never get my app to install on IOS 7. After scanning the QR code Phonegap build starts installing the app but when install finishes I try to launch the app in it goes back to: "installing". We also notice that phonegap build says we're still using 2.9 instead of 3.1 . This is VERY frustrating and everything worked fine in 2.9. Is there an accurate detailed step by step instruction for upgrading working 2.9 apps to 3.1 so we can support IOS7?
Photo of Chan Leonard

Chan Leonard

  • 3 Posts
  • 0 Reply Likes

Posted 7 years ago

  • 3
Photo of Hyginus Ugwumba

Hyginus Ugwumba

  • 1206 Posts
  • 42 Reply Likes
Hi Chan,

Can you share your app ID.

Thanks
Hyginus
Photo of Chan Leonard

Chan Leonard

  • 3 Posts
  • 0 Reply Likes
Hyginus
sure. 632253 and 632264
Thanks
Photo of Chan Leonard

Chan Leonard

  • 3 Posts
  • 0 Reply Likes
Hello Hyginus,
Can you please provide an update?
Photo of Neil Appalsamy

Neil Appalsamy

  • 27 Posts
  • 1 Reply Like
I have a similar issue. Worked in 2.5 - 2.9 but won't initialize now in 3.1. I have tried to generate a basic test app to illustrate with 3.1 on IOS. App generates without error and loads. However does not want to provide device properties . My App id is 654995
Photo of Zahir

Zahir

  • 3500 Posts
  • 40 Reply Likes
Hey guys

Please install iPhone Configuration Uility (iPCU) to
look for possible error. When connecting device, look at Console tab and
try download / install the app.

Download iPCU here:
http://support.apple.com/downloads/#iphone%20configuration%20utility

It is possible that the provisional profile is not set which causes the App to persist in the installing state.

Hope that helps

Photo of Zahir

Zahir

  • 3500 Posts
  • 40 Reply Likes
Hi all,

Would you mind updating us on your current progress?
Thanks.
Photo of Neil Appalsamy

Neil Appalsamy

  • 27 Posts
  • 1 Reply Like
Still have issues with 3.1 upgrade. My App id is 654995
Photo of ismael jimoh

ismael jimoh

  • 4116 Posts
  • 192 Reply Likes
Hi Neil,

Note we have changed from using features to the usage of plugins.

Please read the upgrade 2.9 to 3.X documentation.

The plugins can be found under PhoneGap plugins in our plugin page.

Hope it helps.
Photo of Serge Charbit

Serge Charbit

  • 75 Posts
  • 0 Reply Likes
I have the same problem.
My apps compiled in 2.9 works fine and in 3.1.0 not.
After loaded in iOS and Andorid, after the splash screen i have a 'blank' screen.
the app# is 800062
Thanks for your help
Serge
Photo of ismael jimoh

ismael jimoh

  • 4116 Posts
  • 192 Reply Likes
Hi Serge,

Ensure you have all the appropriate plugins installed in your app.

Go to our plugin page(PhoneGap Plugin section)

Thanks.
Photo of Serge Charbit

Serge Charbit

  • 75 Posts
  • 0 Reply Likes
Hi Ismael,

Thanks for your reply even if I don't understand it.
On the old app we are using contact and geolocation but for now there are in comment brakets.
so this app doesn't use any plugin.
I have just added the 'device' plugin even if i don't understand if it's needed.
I found the new documentation of 3.1 very poor.
Please can you give an example of xml file with the contact and the geolocation plugin?
Photo of ismael jimoh

ismael jimoh

  • 4116 Posts
  • 192 Reply Likes
Hi Serge,

Can I have an email to send the sample to?

Feel free to remove said email once I have confirmed I have sent the email.

Thanks.
Photo of Serge Charbit

Serge Charbit

  • 75 Posts
  • 0 Reply Likes
Hi Isamel,

Here is the email serge.charbit@gmail.com
Thanks
Photo of ismael jimoh

ismael jimoh

  • 4116 Posts
  • 192 Reply Likes
Please, 

Post questions here.

Thanks.
Photo of ismael jimoh

ismael jimoh

  • 4116 Posts
  • 192 Reply Likes
Sent.

Send me your app id if you are still having problems.
Photo of Serge Charbit

Serge Charbit

  • 75 Posts
  • 0 Reply Likes
Hi Ismael,

I got always the same 'blank' screen after the splash screen.
The application # is 800062.
If you can't open it, please tell me and i'll send you the zip file.
best regards
Serge
Photo of ismael jimoh

ismael jimoh

  • 4116 Posts
  • 192 Reply Likes
Hi Serge,

Will look at this and be back to you soon.
Photo of ismael jimoh

ismael jimoh

  • 4116 Posts
  • 192 Reply Likes
Hi Serge,

The issue with your program is down to missing JQuery.js, no internet plugin and using JQuery from the internet link.

I have corrected and am sending you the zip file now.

Do test and let me know if it works.

Ismael
Photo of Neil Appalsamy

Neil Appalsamy

  • 27 Posts
  • 1 Reply Like
Hi Ismael

Don't forget the rest of us... mine is still not working. can you send the sample as well? nappz@hotmail.com

Thx

Neil
Photo of ismael jimoh

ismael jimoh

  • 4116 Posts
  • 192 Reply Likes
Hi,

I will have to test your code as his is quite unique from yours.

Do be patient would get back to you on this soonest
Photo of ismael jimoh

ismael jimoh

  • 4116 Posts
  • 192 Reply Likes
Hi Neil,

Looking at your config.xml now.

I believe the issue you were having is because you are still using features instead plugins.

Find the appropriate plugins on our plugin page(PhoneGap Plugins section).

Make the changes.

I will send you a sample with the plugins added in.
Photo of Serge Charbit

Serge Charbit

  • 75 Posts
  • 0 Reply Likes
Thank you very much!!
I'm sorry!!
One other question:
You put the JQueryMobile .css file in your www directory.
When i do like you, the images for the buttons (home, listview buttons...) are displayed on Android but not on the iPhone (V7.0.4).
It worked (one the past) loading the '.css' file from the CDN.
In any case thank you again.
Good job!
Serge
Photo of ismael jimoh

ismael jimoh

  • 4116 Posts
  • 192 Reply Likes
I will have to test this and get back to you on it.

Glad to help.
Photo of Serge Charbit

Serge Charbit

  • 75 Posts
  • 0 Reply Likes
Hi Isamel,

I have two new questions:
1/ My app works fine with iOS 7.04 but not with an old Android 2.1. This apps use the camera. With the iPhone the camera is started and all is ok. With the Android, nothing happens, the camera is not started...You can't test the project because we use html files coming for our host.

2/ in this application i need to use the geolocation. I have put the plugn in the config.xml but nothing happens on the iPhone. Do you have an example to see how to use the geolocation with Phonegap Build.
Thanks for your help
Best regards
Serge
Photo of ismael jimoh

ismael jimoh

  • 4116 Posts
  • 192 Reply Likes
Hi Serge,

1. We have discontinued support for all Android below 2.3.3. Hence might not work as expected.

2. Have a look at the Geolocation WatchPosition sample. Should you have the plugin in config.xml and phonegap.js loaded in the page which you are calling watchPosition, it should work.

Do let me know if the problem still persists though.

Photo of Serge Charbit

Serge Charbit

  • 75 Posts
  • 0 Reply Likes
Hi Ismael,

Thank you very much for your reply.
But it doesn't work for me because i can't pur 'phone.gap.js';

I'll try to explain.
Our product can be used in many countries including Japan.
For Japan we need to have a special "charset" for our HTML pages.
We can't use this charset on the index file built in the app, so we have a general 'start' program loaded by a 'window.open' which load the right 'cordova.js' depending on the devce (iOS, Android..).
So in our app we don't have any more 'phonegap.js' and it works like this.
The problem is also that today we use cordova_xxx.js' of the version 2.9.0.
Any help will be very useful.
best regards
Serge
Photo of ismael jimoh

ismael jimoh

  • 4116 Posts
  • 192 Reply Likes
Hi Serge,

Are you building with PhoneGap or PhoneGap Build.

And do note that the xxx in the cordova_xxx.js, is meant to be the version number.

Note also that you should not use the cordova.js  for 2.9.0 for later releases.

You will likely run into issues with some depreciated methods and such.

Do correct me if I'm misunderstanding the issue here.
Photo of Serge Charbit

Serge Charbit

  • 75 Posts
  • 0 Reply Likes
Hi Ismael,

We are building only with Phonegap Build.
What is the version of cordovaxxx.js linked to the V3.3.0 of Phonegap build?
Thanks
Serge

This conversation is no longer open for comments or replies.