Publish applications in Stores that differ by small details

Asked

Viewed 48 times

3

I see some applications that are very similar I will say until identical but with a different mark or a small detail.

Let me give you an example: Globosat has multi-channel apps, but it’s all the same app with different content, at least for the most part.

How does this work, each one is different? Is there any way to reuse? Would it be possible to publish the same app with different brands and that will change the content according to what brand installed? There’s a kind of DLL that can go in an app and then others that use the same DLL no longer need it?

Did you understand what I want? Has solution or cellular is worse than PC and wastes resources even?

  • Are you wondering if each variant of the application uses a separate code base (e.g., there are 3 or 4 different applications) or if they all use a central repository with branches specific to each brand that are then distributed as independent applications? That’s it?

  • Oops, it’s not the code base, it’s the different executable as well. The base takes advantage of a lot of things so I wanted to create this kind of DLL to not have repeat on the device, as we do on the desktop

  • 1

    From a look on flavors https://medium.com/android-dev-br/flavors-2fa7b2ba4a9a

  • 1

    @Lmaker was reading now about Flavors, but I have a situation that should be similar to the OP, are 3 apps almost equal, but for different customers, it would be great if it had something similar to a shared lib (regarding the space of the device of the end users).

  • I believe the suggestion of Android Flavors suggested by @Lmaker is what you’re looking for. I didn’t even know it, I found it very interesting.

  • @Bacco Flavor meets the problem, that’s how Bank Apps work, for example.

  • @Bacco If your concern is with the size of the apk, I see no problem. From what I understand about Flavors, and I may be wrong, but when you build it, you build it for Flavor A, the Flavor B does not enter the package and does not make your apk grow with it.

  • @lmaker thanks helped, still see if it’s the solution, would you care to reply?

Show 3 more comments

1 answer

1


You can use the Product Flavor.

According to the documentation:

Product Flavors represent different versions of your app that you can release to users, such as free or paid versions of your app. You can customize your Flavor product to use different codes and Resources, while sharing and reusing the common parts with all versions of your app.

That is to say, Product Flavors are used to create custom versions of the same application.

For more info, read the documentation

Browser other questions tagged

You are not signed in. Login or sign up in order to post.