-
-
Notifications
You must be signed in to change notification settings - Fork 126
Set Basic Values
Lumiq Creative edited this page Jul 15, 2020
·
3 revisions
/buildSrc/src/main/java/MyApp.kt sets the ID and version information for your app.
appID
sets the application ID, which is a unique identifier like com.example.app. It is used by Android and Google Play and must remain unchanged between app releases. The naming rules are as follows:
- IDs must comprise at least two segments, separated by full stops.
- All segments of an ID must start with a letter.
- In segments, only alphanumeric characters and underscores are allowed.
const val appId = "dev.jahir.blueprint.app"
Note
The package name and app ID are independent, but you would usually name them the same.
Two versioning settings are available.
-
version
is a positive integer whose value must increment with each release of your app.const val version = 206
-
versionName
is a user-facing string such as ‘1.2 Beta.’const val versionName = "2.0.6"
Copyright 2022 by Jahir Fiquitiva. This work is licensed under the CreativeCommons Attribution-ShareAlike 4.0 International License.