Skip to content

Commit

Permalink
Merge pull request #1899 from OneSignal/rel/5.0.4
Browse files Browse the repository at this point in the history
Release 5.0.4
  • Loading branch information
jennantilla committed Nov 3, 2023
2 parents 9d66a3d + 3f00ac1 commit ff841f9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Examples/OneSignalDemo/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ dependencies {
implementation 'com.github.bumptech.glide:glide:4.12.0'

/** START - Google Play Builds **/
gmsImplementation('com.onesignal:OneSignal:5.0.3')
gmsImplementation('com.onesignal:OneSignal:5.0.4')
/** END - Google Play Builds **/

/** START - Huawei Builds **/
// Omit Google / Firebase libraries for Huawei builds.
huaweiImplementation('com.onesignal:OneSignal:5.0.3') {
huaweiImplementation('com.onesignal:OneSignal:5.0.4') {
exclude group: 'com.google.android.gms', module: 'play-services-gcm'
exclude group: 'com.google.android.gms', module: 'play-services-analytics'
exclude group: 'com.google.android.gms', module: 'play-services-location'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ object OneSignalUtils {
/**
* The version of this SDK.
*/
const val SDK_VERSION: String = "050003"
const val SDK_VERSION: String = "050004"

fun isValidEmail(email: String): Boolean {
if (email.isEmpty()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ fun suspendifyOnMain(block: suspend () -> Unit) {
block()
}
}
}
catch (e: Exception) {
} catch (e: Exception) {
Logging.error("Exception on thread with switch to main", e)
}
}
Expand All @@ -70,8 +69,7 @@ fun suspendifyOnThread(
runBlocking {
block()
}
}
catch (e: Exception) {
} catch (e: Exception) {
Logging.error("Exception on thread", e)
}
}
Expand All @@ -93,9 +91,8 @@ fun suspendifyOnThread(
runBlocking {
block()
}
}
catch (e: Exception) {
Logging.error("Exception on thread '${name}'", e)
} catch (e: Exception) {
Logging.error("Exception on thread '$name'", e)
}
}
}
2 changes: 1 addition & 1 deletion OneSignalSDK/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
gradle.rootProject {
allprojects {
group = 'com.onesignal'
version = '5.0.3'
version = '5.0.4'
configurations.all {
resolutionStrategy.dependencySubstitution {
substitute(module('com.onesignal:OneSignal')).using(project(':OneSignal'))
Expand Down

0 comments on commit ff841f9

Please sign in to comment.