@@ -63,20 +63,22 @@ dependencies {
63
63
implementation ' com.google.android.gms:play-services-location:18.0.0'
64
64
65
65
implementation ' com.github.bumptech.glide:glide:4.12.0'
66
- // Test public release OneSignal SDK
67
- // This will not work until 4.0.0 is publicly released because of manifest placeholders causing
68
- // manifest merger conflicts
69
- // implementation 'com.onesignal:OneSignal:3.12.6'
70
66
67
+ /* * START - Google Play Builds **/
71
68
gmsImplementation(' com.onesignal:OneSignal:4.6.3' )
69
+ /* * END - Google Play Builds **/
72
70
73
- huaweiImplementation ' com.huawei.hms:push:5.3.0.304'
74
- huaweiImplementation ' com.huawei.hms:location:4.0.0.300'
71
+ /* * START - Huawei Builds **/
75
72
// Omit Google / Firebase libraries for Huawei builds.
76
73
huaweiImplementation(' com.onesignal:OneSignal:4.6.3' ) {
77
74
exclude group : ' com.google.android.gms' , module : ' play-services-gcm'
78
75
exclude group : ' com.google.android.gms' , module : ' play-services-analytics'
79
76
exclude group : ' com.google.android.gms' , module : ' play-services-location'
80
77
exclude group : ' com.google.firebase' , module : ' firebase-messaging'
81
78
}
82
- }
79
+ // Add HMS Push library
80
+ huaweiImplementation ' com.huawei.hms:push:5.3.0.304'
81
+ // Optionally add HMS location
82
+ huaweiImplementation ' com.huawei.hms:location:4.0.0.300'
83
+ /* * END - Huawei Builds **/
84
+ }
0 commit comments