I have added Below Flavour in build.gradlew
productFlavors {
tvs {
applicationId "com.app.tvs"
versionCode 1
versionName "1.0.1"
buildConfigField "String", "SERVER_URL_STAGING", '"https://api.tvs.com/"'
buildConfigField "String", "SERVER_URL_PROD", '"https://api.tvs.com/"'
buildConfigField "String", "URL_TERMS", '"https://tvs.in/terms"'
buildConfigField "String", "URL_PP", '"https://tvs.in/privacy"'
buildConfigField "String", "URL_HELP_FEEDBACK", '"http://tvs.in/FB"'
buildConfigField "String", "URL_ABOUT", '"https://tvs.com/about"'
}
tbs {
applicationId "com.app.tbs"
versionCode 1
versionName "1.0.1"
buildConfigField "String", "SERVER_URL_STAGING", '"https://api.tbs.com/"'
buildConfigField "String", "SERVER_URL_PROD", '"https://api.tbs.com/"'
buildConfigField "String", "URL_TERMS", '"https://tbs.in/terms"'
buildConfigField "String", "URL_PP", '"https://tbs.in/privacy"'
buildConfigField "String", "URL_HELP_FEEDBACK", '"http://tbs.in/FB"'
buildConfigField "String", "URL_ABOUT", '"https://tbs.com/about"'
}
}
if i am run the tbs and want to open tbs Privacy policy in React native project then how can i get that Particular URL , anyone who can help on that it would be very helpful.