Specifies the URL of the Store page where the Application is published, or a link where the APK itself is deployed.
Objects: Menu, Panel, Work With (Only Main Objects)
Generators: Android
The Update URL property must be set when the application is created. Doing it later will not work because it is not possible to add an install APK permission on an APK that is already built.
When you indicate the APK link (for example, https://apps5.genexus.com/Id85e32a53c32e017634b1c0a1826eaf4f/Panel1.apk), the end user must grant permissions for the application to update itself. So, the update must only be confirmed in the case of changes to the version.
For applications published on Google Play, you must provide a URL like:
https://play.google.com/store/apps/details?id=<package_name>
Where <package_name> is the one specified in the Android Package Name property. For example: https://play.google.com/store/apps/details?id=com.artech.MyKB.MyMainObject
If the application is published, for example, in Samsung Apps Store, or in any other store, this URL must change.
To support multiple stores, you may use the market URI scheme (as follows), but always bear in mind that the application must be published on them.
market://details?id=<your_app_package_name>
In that case, the device should display a selector at the bottom of the screen indicating the stores installed on the device and where the end user may download a new version of the app.
The permission generated with the Update URL property when using an APK in the URL is the following:
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
This property applies only at design time.
To apply the corresponding changes when the property value is configured, Build the Main Object.
This property is available since GeneXus 15 Upgrade 4.
HowTo: Version Your Native Mobile Application