user7350434
user7350434

Reputation: 27

Customized application in app and play stores

I have developed a react native mobile application for Android and iOS platforms and I want to publish this app multiple times for each of my customers. It is the same application with exactly same functionalities, but each customer need to have the app with its own icon and own name.

Is this possilbe ? please can you share with me app and play stores rules about that.

Regards,

Omar.

Upvotes: 0

Views: 101

Answers (2)

Rajasekhar Reddy
Rajasekhar Reddy

Reputation: 159

Yes, It's possible you have to do productFlavors

Step 1 :

signingConfigs {
        client1{
            storeFile file("keystore")
            storePassword "secret"
            keyAlias "aliasForFlavor1"
            keyPassword "secretFlavor1"
        }

        client2{
            storeFile file("keystore")
            storePassword "secret"
            keyAlias "aliasForFlavor2"
            keyPassword "secretFlavor2"
        }......
    }

    productFlavors {
        def signingConfigsClient1 = signingConfigs.client1
        def signingConfigsClent2 = signingConfigs.client2
        client1{
            applicationIdSuffix ".client1"
            signingConfig signingConfigsClient1
        }
       client2{
            applicationIdSuffix ".client2"
            signingConfig signingConfigsClient2
        }.....
}

Step 2 : Create a drawable/strings.xml.... folder

        SRC--> clent1 --> drawable
        SRC--> clent2 --> drawable......

For more Info follow this URL

http://santhoshkumarsrs.blogspot.in/2017/03/how-to-deal-with-product-flavors-in.html

Upvotes: 0

Kuffs
Kuffs

Reputation: 35651

You can do this with Product Flavors.

https://developer.android.com/studio/build/build-variants.html

If there is a genuine need for multiple apps then that should not fall foul of Play Store policies. For example, some online supermarkets use the same app re-branded for each company.

Upvotes: 1

Related Questions