File tree Expand file tree Collapse file tree 4 files changed +8
-11
lines changed
Examples/OneSignalDemo/app
onesignal/core/src/main/java/com/onesignal/common Expand file tree Collapse file tree 4 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -84,12 +84,12 @@ dependencies {
8484 implementation ' com.github.bumptech.glide:glide:4.12.0'
8585
8686 /* * START - Google Play Builds **/
87- gmsImplementation(' com.onesignal:OneSignal:5.0.3 ' )
87+ gmsImplementation(' com.onesignal:OneSignal:5.0.4 ' )
8888 /* * END - Google Play Builds **/
8989
9090 /* * START - Huawei Builds **/
9191 // Omit Google / Firebase libraries for Huawei builds.
92- huaweiImplementation(' com.onesignal:OneSignal:5.0.3 ' ) {
92+ huaweiImplementation(' com.onesignal:OneSignal:5.0.4 ' ) {
9393 exclude group : ' com.google.android.gms' , module : ' play-services-gcm'
9494 exclude group : ' com.google.android.gms' , module : ' play-services-analytics'
9595 exclude group : ' com.google.android.gms' , module : ' play-services-location'
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ object OneSignalUtils {
66 /* *
77 * The version of this SDK.
88 */
9- const val SDK_VERSION : String = " 050003 "
9+ const val SDK_VERSION : String = " 050004 "
1010
1111 fun isValidEmail (email : String ): Boolean {
1212 if (email.isEmpty()) {
Original file line number Diff line number Diff line change @@ -48,8 +48,7 @@ fun suspendifyOnMain(block: suspend () -> Unit) {
4848 block()
4949 }
5050 }
51- }
52- catch (e: Exception ) {
51+ } catch (e: Exception ) {
5352 Logging .error(" Exception on thread with switch to main" , e)
5453 }
5554 }
@@ -70,8 +69,7 @@ fun suspendifyOnThread(
7069 runBlocking {
7170 block()
7271 }
73- }
74- catch (e: Exception ) {
72+ } catch (e: Exception ) {
7573 Logging .error(" Exception on thread" , e)
7674 }
7775 }
@@ -93,9 +91,8 @@ fun suspendifyOnThread(
9391 runBlocking {
9492 block()
9593 }
96- }
97- catch (e: Exception ) {
98- Logging .error(" Exception on thread '${name} '" , e)
94+ } catch (e: Exception ) {
95+ Logging .error(" Exception on thread '$name '" , e)
9996 }
10097 }
10198}
Original file line number Diff line number Diff line change 33gradle. rootProject {
44 allprojects {
55 group = ' com.onesignal'
6- version = ' 5.0.3 '
6+ version = ' 5.0.4 '
77 configurations. all {
88 resolutionStrategy. dependencySubstitution {
99 substitute(module(' com.onesignal:OneSignal' )). using(project(' :OneSignal' ))
You can’t perform that action at this time.
0 commit comments