<-- Back

How to retrieve the APK build version in Native applications

Introduction

This article explains how to find the build number in Native applications.

Environment

Native mobile

Instructions/Procedure

There is no APK build version available, but there is a build number that is specified in the Build Native App. Currently, this build number is not exposed in the GetDeviceInfo action; however, it can be accessed using JavaScript. The react-native-device-info package is already included in the native application and provides a function called getBuildNumber() to retrieve the build number. The documentation function to retrieve the build number more information on how to use this function.
 
For further assistance with implementation, the Mendix Expert Services team or a partner can offer a paid consultancy service to provide the desired resolution.

Outcome

The build number can be found using the JavaScript function getBuildNumber().

Internal information related

  • 264654
  • C07BE6K6F5L/p1762943966222279

Additional information

Mendix documentation: Native mobile category

Have more questions? Submit a request

0 Comments

Article is closed for comments.

To provide feedback, please open a ticket here. Don't forget to include the article's URL along with the feedback you would like to provide.