Skip to content

Configuration

Mehrdad Pajuhaan edited this page Oct 23, 2026 · 1 revision

Configuration

Every store-specific value in the app lives in two files: app/build.gradle and app/src/main/res/values/shop_info.xml. The App Builder fills them automatically (they are marked ✎ Script ➔ Auto fill); when you build from source, set them yourself.

res/values/shop_info.xml

<resources>
    <string name="app_name" translatable="false">Application Name</string>
    <string name="shop_title" translatable="false">Application Title</string>

    <!-- Shop user name -->
    <string name="shop_name">pajuhaan</string>

    <!-- splash -->
    <string name="splash_title">Splash title</string>
    <string name="splash_more_info">Splash description…</string>

    <color name="splash_color">#00ACC1</color>
</resources>
Key Meaning
app_name App label shown on the launcher and in the manifest.
shop_title Store title.
shop_name Your shop username on Selldone. For https://selldone.com/@mobile use mobile. The app loads https://selldone.com/@{shop_name}?native=true.
splash_title Title on the splash/loading screen.
splash_more_info Description on the splash/loading screen.
splash_color Splash background color.

app/build.gradle

defaultConfig {
    applicationId "selldone.com.first_app"            // ✎ Script ➔ Auto fill
    minSdkVersion 21
    targetSdkVersion 28
    versionCode 13                                    // ✎ Script ➔ Auto fill
    versionName "1.13"                                // ✎ Script ➔ Auto fill
    manifestPlaceholders = [shopName:"pajuhaan"]      // ✎ Script ➔ Auto fill
    vectorDrawables.useSupportLibrary = true
}
Key Meaning
applicationId Unique package ID in the app stores. Change it for every store.
versionCode Integer version; increase it for every release.
versionName Version shown to users.
manifestPlaceholders.shopName Used in the manifest deep link selldone://{shopName}.callback. Must equal shop_name, because the login request uses shop_name to build the callback URL.

Signing

signingConfigs {
    release {
        storeFile file(keystoreProperties['storeFile'])
        storePassword keystoreProperties['storePassword']
        keyAlias keystoreProperties['keyAlias']
        keyPassword keystoreProperties['keyPassword']
    }
}

The values come from keystore.properties in the project root. See Build from Source.

Launcher icon

Replace the ic_launcher.png files in app/src/main/res/mipmap-hdpi, mipmap-mdpi, mipmap-xhdpi, mipmap-xxhdpi and mipmap-xxxhdpi.

Navigation labels and texts

File Contains
res/menu/main_menu.xml Bottom navigation for signed-in users: Store, Basket, Profile.
res/menu/main_menu_guest.xml Bottom navigation for guests: Store, Login.
res/menu/samin_shop_menu.xml Menu: My orders, Favorites, Gift cards, Return requests, Basket, Logout.
res/values/strings.xml Toolbar titles and notification texts (some are placeholders).
res/values/colors.xml, styles.xml Theme colors and styles.

Permissions

The manifest requests INTERNET, ACCESS_NETWORK_STATE, ACCESS_FINE_LOCATION and CAMERA (camera is optional hardware). Remove permissions you do not need before publishing.

Related

Clone this wiki locally