jaychang0917 / SimpleAuth

A easy to use social authentication android library. (Facebook, Google, Twitter, Instagram)
224 stars 51 forks source link

Usage with multiple facebook id's in flavors #6

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi,

Thanks for such useful library!

Our project have multiple "White Label" apps. In other words is multi flavor app. For each flavor we need distinct facebook id. Is there a way to define distinct id's for each flavors?

Thanks!

jaychang0917 commented 6 years ago

should be

android.productFlavors.findByName("flavorA").manifestPlaceholders = [
    facebookAppId        : "flavorA facebook app id"
]
android.productFlavors.findByName("flavorB").manifestPlaceholders = [
    facebookAppId        : "flavorB facebook app id"
]
ghost commented 6 years ago

Thanks for help!

I will try it )))))