File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,13 @@ apply plugin: 'com.android.library'
3
3
android {
4
4
compileSdkVersion 28
5
5
defaultConfig {
6
- manifestPlaceholders = [onesignal_app_id : ' b2f7f966-d8cc-11e4-bed1-df8f05be55ba' ,
6
+ // Normally we shouldn't need to redefine manifestPlaceholders for our onesignal project
7
+ // but Android Studio gets a sync error if these are not here.
8
+ // - /gradlew onesignal:assembleRelease is fine from the console.
9
+ // We can't use static values are these are directly added to the AndroidManifest.xml in the .aar file.
10
+ manifestPlaceholders = [onesignal_app_id : ' ${onesignal_app_id}' ,
7
11
// Project number pulled from dashboard, local value is ignored
8
- onesignal_google_project_number : ' REMOTE ' ]
12
+ onesignal_google_project_number : ' ${onesignal_google_project_number} ' ]
9
13
minSdkVersion 15
10
14
consumerProguardFiles ' consumer-proguard-rules.pro'
11
15
}
You can’t perform that action at this time.
0 commit comments