Android build error "AndroidManifest.xml requires a placeholder substitution"

In the app build.gradle, navigate to the defaultConfig section and add the following line.

Source Code

   defaultConfig {
    ...
    manifestPlaceholders = [appAuthRedirectScheme: 'com.redirectScheme.comm']
}

Try to add manifestPlaceholders

https://github.com/FormidableLabs/react-native-app-auth#add-redirect-scheme-manifest-placeholder

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

in the

app build.gradle

android {
compileSdkVersion 26
buildToolsVersion '26.0.3'

defaultConfig {
    applicationId "com.chuchas.comm"
    ...

    // place correct redirectScheme~
    manifestPlaceholders = [appAuthRedirectScheme: 'com.redirectScheme.comm']

}