React-native-onesignal: AndroidManifest.xml requires a placeholder substitution but no value for <onesignal_google_project_number> is provided.

Created on 26 Apr 2017  Â·  8Comments  Â·  Source: OneSignal/react-native-onesignal

Hi guys! I'm having some issues implementing OneSignal SDK for my React Native application.

The error I got:

AndroidManifest.xml requires a placeholder substitution but no value for is provided.

But in my app/build.gradle:

`android {
compileSdkVersion 23
buildToolsVersion "23.0.1"

defaultConfig {
    applicationId "com.pamela"
    minSdkVersion 16
    targetSdkVersion 22
    versionCode 1
    versionName "1.0"
    ndk {
        abiFilters "armeabi-v7a", "x86"
    }
    manifestPlaceholders = [onesignal_app_id: "xxxx",
                            onesignal_google_project_number: "xxxx"]
}
signingConfigs {

blablabla
`

What i'm doing wrong?

Most helpful comment

how did you deal with this issue?

All 8 comments

how did you deal with this issue?

+1

when delete build of onesignal in node_modules/react-native-onesignal/android/build folder , error will go

Just try yarn, worked for me

@nimamoradi: Sir i am also getting above error but in the ionic3 app in my case i am not using any onesignal plugin so tell me what i do i have tried each and everything but nothing worked for me.tell me 1 thing sir its related to the goolge-map plugin issue or any another plugin?

delete the build in node modules? wow, that is not a good working solution. I am getting this issue and its already 2019.

and in 2020!

2021)

Was this page helpful?
0 / 5 - 0 ratings