How to install different versions of a mobile solution?

Discussions regarding developing applications using Servoy Mobile (new in Servoy 7)

How to install different versions of a mobile solution?

Postby s.wit » Thu Jun 19, 2014 2:25 pm

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
s.wit
 
Posts: 4
Joined: Thu Jun 19, 2014 2:19 pm

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

Postby jdbruijn » Mon Jun 23, 2014 9:49 am

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.
Jos de Bruijn
Welcome CCS
Servoy Certified Developer
Image
jdbruijn
 
Posts: 445
Joined: Sun Apr 11, 2010 6:34 pm

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

Postby s.wit » Wed Jul 02, 2014 6:16 pm

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
s.wit
 
Posts: 4
Joined: Thu Jun 19, 2014 2:19 pm


Return to Servoy Mobile

Who is online

Users browsing this forum: No registered users and 1 guest

cron