Reputation: 648
I need to change the required permission of my app based on the app flavor. It's only one permission which should be replaced. How can i do it?
Edit
i'm releasing 2 version of my app for two different market. I'm using in app billing and the two market use different permission for the billing dialog so i need to use different permission to access the market's billing dialog.
Upvotes: 0
Views: 843
Reputation: 648
Founded my answer here:
Android Studio two flavors with different manifest files
create a new manifest based on the app flavor and add your flavor specific permission to it.. they will be merged.
Upvotes: 1