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 {
84
84
implementation ' com.github.bumptech.glide:glide:4.12.0'
85
85
86
86
/* * START - Google Play Builds **/
87
- gmsImplementation(' com.onesignal:OneSignal:5.0.3 ' )
87
+ gmsImplementation(' com.onesignal:OneSignal:5.0.4 ' )
88
88
/* * END - Google Play Builds **/
89
89
90
90
/* * START - Huawei Builds **/
91
91
// Omit Google / Firebase libraries for Huawei builds.
92
- huaweiImplementation(' com.onesignal:OneSignal:5.0.3 ' ) {
92
+ huaweiImplementation(' com.onesignal:OneSignal:5.0.4 ' ) {
93
93
exclude group : ' com.google.android.gms' , module : ' play-services-gcm'
94
94
exclude group : ' com.google.android.gms' , module : ' play-services-analytics'
95
95
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 {
6
6
/* *
7
7
* The version of this SDK.
8
8
*/
9
- const val SDK_VERSION : String = " 050003 "
9
+ const val SDK_VERSION : String = " 050004 "
10
10
11
11
fun isValidEmail (email : String ): Boolean {
12
12
if (email.isEmpty()) {
Original file line number Diff line number Diff line change @@ -48,8 +48,7 @@ fun suspendifyOnMain(block: suspend () -> Unit) {
48
48
block()
49
49
}
50
50
}
51
- }
52
- catch (e: Exception ) {
51
+ } catch (e: Exception ) {
53
52
Logging .error(" Exception on thread with switch to main" , e)
54
53
}
55
54
}
@@ -70,8 +69,7 @@ fun suspendifyOnThread(
70
69
runBlocking {
71
70
block()
72
71
}
73
- }
74
- catch (e: Exception ) {
72
+ } catch (e: Exception ) {
75
73
Logging .error(" Exception on thread" , e)
76
74
}
77
75
}
@@ -93,9 +91,8 @@ fun suspendifyOnThread(
93
91
runBlocking {
94
92
block()
95
93
}
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)
99
96
}
100
97
}
101
98
}
Original file line number Diff line number Diff line change 3
3
gradle. rootProject {
4
4
allprojects {
5
5
group = ' com.onesignal'
6
- version = ' 5.0.3 '
6
+ version = ' 5.0.4 '
7
7
configurations. all {
8
8
resolutionStrategy. dependencySubstitution {
9
9
substitute(module(' com.onesignal:OneSignal' )). using(project(' :OneSignal' ))
You can’t perform that action at this time.
0 commit comments