Skip to content

Fix setting consentGiven throwing if called before initWithContext #827

Fix setting consentGiven throwing if called before initWithContext

Fix setting consentGiven throwing if called before initWithContext #827

Triggered via pull request October 4, 2024 01:07
Status Success
Total duration 7m 31s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: OneSignalSDK/onesignal/core/src/main/java/com/onesignal/Continue.kt#L80
'@jvmoverloads' annotation has no effect for methods without default arguments
build: OneSignalSDK/onesignal/core/src/main/java/com/onesignal/common/AndroidUtils.kt#L63
'versionCode: Int' is deprecated. Deprecated in Java
build: OneSignalSDK/onesignal/core/src/main/java/com/onesignal/common/AndroidUtils.kt#L148
Condition 'NotificationManagerCompat::class.java != null' is always 'true'
build: OneSignalSDK/onesignal/core/src/main/java/com/onesignal/common/AndroidUtils.kt#L187
'when' is exhaustive so 'else' is redundant here
build: OneSignalSDK/onesignal/core/src/main/java/com/onesignal/common/AndroidUtils.kt#L249
Variable 'requestPermission' is never used
build: OneSignalSDK/onesignal/core/src/main/java/com/onesignal/common/DeviceUtils.kt#L28
'getter for defaultDisplay: Display!' is deprecated. Deprecated in Java
build: OneSignalSDK/onesignal/core/src/main/java/com/onesignal/common/DeviceUtils.kt#L28
'getMetrics(DisplayMetrics!): Unit' is deprecated. Deprecated in Java
build: OneSignalSDK/onesignal/core/src/main/java/com/onesignal/common/DeviceUtils.kt#L40
'getter for activeNetworkInfo: NetworkInfo?' is deprecated. Deprecated in Java