Showing iOS App Version

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ace16vitamine
Posts: 130
Joined: Fri Apr 13, 2018 1:53 pm

Showing iOS App Version

Post by ace16vitamine » Fri Oct 27, 2023 1:00 am

Hi all,

If I remember right it is possible to put the app and build version from standalone settings into a variable. But I forgot how.. I need this to transfer the running version of the app to my server to see which version is installed from the user.

Any Ideas?
Stefan

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Showing iOS App Version

Post by Klaus » Fri Oct 27, 2023 9:25 am

Moin Stefan,

Code: Select all

put the cRevStandaloneSettings["ios,bundle build"] of stack "your stack here"
Best

Klaus

ace16vitamine
Posts: 130
Joined: Fri Apr 13, 2018 1:53 pm

Re: Showing iOS App Version

Post by ace16vitamine » Fri Oct 27, 2023 10:40 am

Perfect !

Thanks Klaus

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Showing iOS App Version

Post by Klaus » Fri Oct 27, 2023 10:50 am

All the settings of the "Standalone Application Settings" are stored in this custom property set of a stack.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7239
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Showing iOS App Version

Post by jacque » Fri Oct 27, 2023 5:32 pm

The standalone settings aren't included in a built standalone. The solution is to create a custom property that stores the version so it can be retrieved. You can automate that by setting the value in a standaloneSaving handler if you want.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Showing iOS App Version

Post by Klaus » Fri Oct 27, 2023 6:14 pm

jacque wrote:
Fri Oct 27, 2023 5:32 pm
The standalone settings aren't included in a built standalone.
Oh, thank you, didn't know that!

Post Reply

Return to “iOS Deployment”