Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28463

Dynamically fill some data in android/app/build.gradle (React Native ap)

$
0
0

For my react-native application I am using react-native-app-auth library.

I need to fill this info in build.gradle file, for android:

android {
  defaultConfig {
    manifestPlaceholders = [
      appAuthRedirectScheme: 'io.identityserver.demo'
    ]
  }
}

But appAuthRedirectScheme can be different for some roles of users. And I need to send this scheme directly from react-native components (when I get that scheme/url from another API).

Is there any way to do this?


Viewing all articles
Browse latest Browse all 28463

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>