Page 1 of 1

How to install different versions of a mobile solution?

PostPosted: Thu Jun 19, 2014 2:25 pm
by s.wit
How to install different versions of a mobile solution on the same mobile device?

We would like to install different versions of the mobile solution (development version, test version and production version) on the same mobile phone. However currently when installing the apk it overwrites the already present version, even though the application title, version, description and application server url are different. The service solution name is always the same. The solution name is also always the same, but it cannot be changed when making a mobile export.
How can we install various versions of the same application on a phone, where they co-exist nicely next to one another?

With kind regards,
Serge de Wit

Re: How to install different versions of a mobile solution?

PostPosted: Mon Jun 23, 2014 9:49 am
by jdbruijn
This is not possible. You can distinguish between development/test version and production version by moving the app to the App Store(s) as soon as it is ready for production and use Phonegap for your development/test phase.

Re: How to install different versions of a mobile solution?

PostPosted: Wed Jul 02, 2014 6:16 pm
by s.wit
It seems there actually is an excellent way, which Sanneke (from Servoy) has brought to my attention.

In the Servoy Mobile export (last screen in the wizard) one can use a phonegap config.xml. Via this config.xml different id's can be used for the various environments (development, test, production). This way it is very easily possible to generate different apk's for the various environments which can be installed next to one another on the same mobile phone.

For more details on the config.xml, take a peek here: http://docs.build.phonegap.com/en_US/configuring_basics.md.html#The%20Basics for more details on the config.xml