Skip to content

Modifying the VersionCode or VersionName

Juan Pomares Bernabeu edited this page Jun 21, 2017 · 2 revisions

Modifying the VersionCode or VersionName

If once created and integrated the plugin, following this instructions, you want to change the version code and/or the version name, you have to follow this steps.

Changing in the Android Studio project

Modify the versionCode and/or versionName in the build.gradle of the wear module and sign the app. Change the apk located in “Unity Project/ Assets/ Plugins/ Android/ res/ raw” to this new.

Modifying Android Studio

Changing in description file

Modify the versionCode and/or versionName in the wearable_app_desc.xml located in “Unity Project/ Assets/ Plugins/ Android/ res/ xml”.

Modifying Wearable description

Changing in Unity project

Modify the versionCode and/or versionName in the Player Settings of the Unity project.

Modifying Unity Proeject

When you build the application in Unity, the built app will have this versionName and VersionCode modified.