android - How to change the permission in the manifest based on the app flavor? -


i need change required permission of app based on app flavor. it's 1 permission should replaced. how can it?

edit

i'm releasing 2 version of app 2 different market. i'm using in app billing , 2 market use different permission billing dialog need use different permission access market's billing dialog.

create apk first market permissions required. copy apk desktop , store in folder name of market(this simplify handling).

then create second apk second market different permissions. same in previous one(folder , desktop). not edit permissions.


Comments