I use Phonegap Build API to build my app.
I compress my app's source code as a .zip archive including a config.xml file which contains several features and "version" and "versionCode" -for Android-. Anyway, I did everything right in the config.xml file. The problem is that, when I change the version and versionCode and then send the source code archive file -config.xml is also in the archive- back to Phonegap Build, my app's version does not change.
When I download the .apk file generated by Phonegap Build, the app seems to be unchanged. I don't see the recent changes I did in the app. Even if I uninstall the app and rebuild it and then download and install again, it still remains the same old app.
What should I do? Should I upload .zip and config.xml files separately for updates to be processed correctly?
I compress my app's source code as a .zip archive including a config.xml file which contains several features and "version" and "versionCode" -for Android-. Anyway, I did everything right in the config.xml file. The problem is that, when I change the version and versionCode and then send the source code archive file -config.xml is also in the archive- back to Phonegap Build, my app's version does not change.
When I download the .apk file generated by Phonegap Build, the app seems to be unchanged. I don't see the recent changes I did in the app. Even if I uninstall the app and rebuild it and then download and install again, it still remains the same old app.
What should I do? Should I upload .zip and config.xml files separately for updates to be processed correctly?
- 8 Posts
- 0 Reply Likes
Posted 7 years ago
ryan, Developer
- 1538 Posts
- 132 Reply Likes
What response are you seeing from the API when you update?
If you open http://build.phonegap.com/apps, update your app via the API, and then refresh the page, does the app show "build pending" for the various platforms?
If you open http://build.phonegap.com/apps, update your app via the API, and then refresh the page, does the app show "build pending" for the various platforms?
- 8 Posts
- 0 Reply Likes
1. I get an object as expected. No problem with the response. But I prefer not to paste the response considering my privacy.
2. Yes, when I open http://build.phonegap.com/apps just after I update my app via the API I see build pending for the various platforms.
2. Yes, when I open http://build.phonegap.com/apps just after I update my app via the API I see build pending for the various platforms.
- 8 Posts
- 0 Reply Likes
Aside from config.xml, I also send the version with the request as a parameter, but it still does not change in the built app.
- 8 Posts
- 0 Reply Likes
I think this is the same issue with the one in the following url: http://community.phonegap.com/nitobi/...
I tried everything to find a workaround. I set random names to my archive files, I requested the build url with a ?no_cache=randomString, etc. But nothing changes.
I uninstalled the newly built app from my mobile device, also cleared user data and cache. Then re-built the app with fresh source files and downloaded the new binaries and installed to the device. But the new app still resembles the old one.
But when I download the new app to "another" mobile device, it works fine.
Can anyone help please.
I tried everything to find a workaround. I set random names to my archive files, I requested the build url with a ?no_cache=randomString, etc. But nothing changes.
I uninstalled the newly built app from my mobile device, also cleared user data and cache. Then re-built the app with fresh source files and downloaded the new binaries and installed to the device. But the new app still resembles the old one.
But when I download the new app to "another" mobile device, it works fine.
Can anyone help please.
ryan, Developer
- 1538 Posts
- 132 Reply Likes
Well the fact that when you download from another mobile device shows the updates, that makes it pretty clear to me that the problem is not that PhoneGap Build is failing to update the app, but that your device is failing to download the updated binary.
Few questions:
Are you using Hydration?
Whats your app ID?
What exact device are you testing on?
Have you tried clearing the Downloads from your device, to ensure you're not reinstalling the old apk?
How are you downloading and installing the app (qr code, command line, etc)?
Few questions:
Are you using Hydration?
Whats your app ID?
What exact device are you testing on?
Have you tried clearing the Downloads from your device, to ensure you're not reinstalling the old apk?
How are you downloading and installing the app (qr code, command line, etc)?
- 8 Posts
- 0 Reply Likes
It does not matter whether I use Hydration or not. On all conditions it behaves the same. I tried all.
And it does not matter which device I am testing on, because on the web interface, I see no change on version number even if I upload the zip archive via the API or manually via the web interface. Nothing changes. The version is alwasy the first version that I uploaded. The subsequent uploads have no effect on the version.
And it does not matter which device I am testing on, because on the web interface, I see no change on version number even if I upload the zip archive via the API or manually via the web interface. Nothing changes. The version is alwasy the first version that I uploaded. The subsequent uploads have no effect on the version.
ryan, Developer
- 1538 Posts
- 132 Reply Likes
Sorry just trying to understand what you're seeing -- you previously said:
But when I download the new app to "another" mobile device, it works fine. .
So when you try from a fresh device, you DO see the updated app, even though you see no 'version' number change in the Web interface? But if you re-install on a device that has an existing version installed, you DON'T see the updated app?
But when I download the new app to "another" mobile device, it works fine. .
So when you try from a fresh device, you DO see the updated app, even though you see no 'version' number change in the Web interface? But if you re-install on a device that has an existing version installed, you DON'T see the updated app?
- 8 Posts
- 0 Reply Likes
yes exactly!
another weird thing is that, when I try to update code via the web interface manually, the version number is updated successfully. I think that the problem is with Phonegap Build API.
My App number is 387143.
another weird thing is that, when I try to update code via the web interface manually, the version number is updated successfully. I think that the problem is with Phonegap Build API.
My App number is 387143.
- 14 Posts
- 0 Reply Likes
Did anyone find a solution for this? I'm getting the same old build no matter what I do, including generating a new app from a new phonebuild account! When I download the app, its Info.plist file is the old one with old data.
My App ID is 1987314.
My App ID is 1987314.
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@David,
in the future, please do not use (3 year) OLD thread. This thread was marked solved. ALOT has changed in 3 years.
Please start a new thread. Please answer the following question in a new thread.
- Is this your first hybrid App?
- Are you using the Phonegap Desktop App?
- Are you using CLI, SDK or Build? Please do not assume the answer, please read the link.
Thanks
Jesse
in the future, please do not use (3 year) OLD thread. This thread was marked solved. ALOT has changed in 3 years.
Please start a new thread. Please answer the following question in a new thread.
- Is this your first hybrid App?
- Are you using the Phonegap Desktop App?
- Are you using CLI, SDK or Build? Please do not assume the answer, please read the link.
Thanks
Jesse
- 14 Posts
- 0 Reply Likes
Jessy,
I'm sorry! Thanks for your guidance. I've opened a new thread in http://community.phonegap.com/nitobi/...
Regards
David
I'm sorry! Thanks for your guidance. I've opened a new thread in http://community.phonegap.com/nitobi/...
Regards
David
Related Categories
-
PhoneGap Build
- 15111 Conversations
- 275 Followers


