-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
[Fix] Android minify builds
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apply plugin: 'com.android.library' | ||
|
||
android { | ||
sourceSets { | ||
main { | ||
manifest.srcFile 'AndroidManifest.xml' | ||
} | ||
} | ||
|
||
defaultConfig { | ||
consumerProguardFiles "consumer-proguard.pro" | ||
} | ||
|
||
compileSdkVersion 31 | ||
|
||
lintOptions { | ||
abortOnError false | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-keep class com.onesignal.** { *; } | ||
|
||
# Work around for IllegalStateException with kotlinx-coroutines-android | ||
-keep class kotlinx.coroutines.android.AndroidDispatcherFactory {*;} |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.