cancel
Showing results for 
Search instead for 
Did you mean: 

Mobile Development Kit (MDK): Custom Client- Android Parameter versionCode

robert_hunger
Participant
622

Hallo MDK- Team and Experts,

I have a custom client for Android device and is necessary to update this client sometimes but get always trouble with app- store and our mobile device management (MDM) because the VersionCode in Android Manifest ist not increased (allways '1' ).

So i have todo this manuelle in Android manifest.json

android:versionCode="2" 
android:versionName="5.2.0" >

Mdk project.json has parmeter AppVersion but no VersionCode parameter. Is there a way in MDK- project to increase this versionCode ?

Thx.

+robert

Accepted Solutions (1)

Accepted Solutions (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert

We don't currently expose a property for create-client to increase / set the Version Code for Android. We already have a backlog item to add support for this in a future MDK release later this year.

ed_miller
Participant
0 Kudos

Is "versionCode" exposed yet? I haven't found it in documentation. This issue is keeping the MDM from being able to properly deploy a Branded Client as it doesn't see it as a "new" version because it's always currently "1".

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

ed_miller Yes. it is exposed in the MDKProject.json as the AndroidVersionCode property. You can set it to a specific value or Auto where it will calculate the version code based on the AppVersion property.

Answers (0)