Skip to content

Commit fa2c39e

Browse files
committed
use public OneSignal SDK
This is designed as a public example so it should point to the public SDK and not the local source for a real world example. To keep the dev env working well we can make a change to the dev build.gradle to swap implementations out
1 parent ae52210 commit fa2c39e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Examples/OneSignalDemo/app/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,12 @@ dependencies {
6868
// manifest merger conflicts
6969
// implementation 'com.onesignal:OneSignal:3.12.6'
7070

71-
// Test local OneSignal SDK
72-
gmsImplementation(project(':onesignal'))
71+
gmsImplementation('com.onesignal:OneSignal:4.6.3')
7372

7473
huaweiImplementation 'com.huawei.hms:push:5.3.0.304'
7574
huaweiImplementation 'com.huawei.hms:location:4.0.0.300'
7675
// Omit Google / Firebase libraries for Huawei builds.
77-
huaweiImplementation(project(':onesignal')) {
76+
huaweiImplementation('com.onesignal:OneSignal:4.6.3') {
7877
exclude group: 'com.google.android.gms', module: 'play-services-gcm'
7978
exclude group: 'com.google.android.gms', module: 'play-services-analytics'
8079
exclude group: 'com.google.android.gms', module: 'play-services-location'

0 commit comments

Comments
 (0)