chore: Release 1.0.1#8
Closed
github-actions[bot] wants to merge 3 commits intomainfrom
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Channels: Current
✨ Improvements
🛠️ Native Dependency Updates
OneSignal.Debug.addLogListenerOneSignal.Debug.removeLogListenerOneSignal.Debug.addLogListenerOneSignal.Debug.removeLogListeneractionsto v4 OneSignal-Android-SDK#2250)ryw_delayto minimize retries on IAM fetch OneSignal-Android-SDK#2207)NoSuchMethodErrorduring runtime.preventDefaultto be fired up to two times OneSignal-Android-SDK#2138)WorkManagerfixes when the app uses a custom WorkManager [Bug] The getter for WorkManager considers the app context OneSignal-Android-SDK#2122preventDefault(discard: true)(Add discard parameter to preventDefault() OneSignal-Android-SDK#2094)OneSignal.getNotifications().requestPermissionwith the Java Continuation not firing when permission was already granted. ([Fix] Continuation called with OneSignal.getNotifications().requestPermission does not fire when permission is already granted OneSignal-Android-SDK#2093)IndexOutOfBoundsexception from the 5.1.11 release. It was thrown fromOperationRepo.loadSavedOperationsif app was opened offline, some operations done, and then the app is opened again. (#2081)IndexOutOfBoundsExceptionon app startup if the device was offline in some cases.Retry-Afterfrom responses from OneSignal ([Improve] Handle HTTP header Retry-After from responses from OneSignal OneSignal-Android-SDK#2064)<meta-data android:name="com.onesignal.inAppMessageHideGrayOverlay" android:value="true"/><meta-data android:name="com.onesignal.inAppMessageHideDropShadow" android:value="true"/>OperationRepo.enqueue'sflushtotrue(OneSignal-Android-SDK#2055)optIn()not prompting if called before push subscription is created on backend (OneSignal-Android-SDK#2037)nullContextcrashes frominitWithContextcompileSdkVersionto34(CI - Fix failing test 2024-02-14; Includes fixes for RobolectricTest, updating to Android compile API 34, and fixing a variety of tests OneSignal-Android-SDK#1994)JSONObjectsupport toJSONObject.toMap()(Fix JSON Kotlin Extension Functions OneSignal-Android-SDK#2004)optIn()not working afteroptOut()has been called Fix: MethodoptIn()not working afteroptOut()has been called OneSignal-Android-SDK#1957adroidx.work:work-runtime-ktxto2.8.1[Fix] Bump work-runtime dependency version implementation OneSignal-Android-SDK#1960onesignalIdandexternalIdand aIUserStateObserverto be notified of changes Add getter for onesignalId and UserStateObserver OneSignal-Android-SDK#1909OneSignal.getLocation().setShared(true)(in Java) orOneSignal.Location.isShared(in Kotlin)ACCESS_COARSE_LOCATIONpermission from the OneSignal Location module Remove ACCESS_COARSE_LOCATION permission OneSignal-Android-SDK#1949Model.initializeFromJsonby @brismithers in Update PropertiesModel's deserialization of tags to not useModel.initializeFromJsonOneSignal-Android-SDK#1884sdkVersionin OneSignalWrapper settable. by @brismithers in [User Model] MakesdkVersionin OneSignalWrapper settable. OneSignal-Android-SDK#1733INotification.rawPayloadby @brismithers in [User Model] ExposeINotification.rawPayloadOneSignal-Android-SDK#1736OneSignal.addLogListenerandOneSignal.removeLogListener<meta-data android:name="com.onesignal.preferHMS" android:value="true"/>under your<application>tag if you like to use this setting.taskQueueWaitingForInit.poll()#2026timeFocusedAtMs#2025DeadSystemExceptionto prevent red herring crash reports #1937getTargetSdkVersion#1848build.gradlefiles by @brismithers in Remove OneSignal gradle plugin from build.gradle files OneSignal-Android-SDK#1667OneSignal.promptForPushNotifications(), change your AndroidtargetSdkto33and run your app on an Android 13 device to try it out.OneSignal.promptForPushNotifications(), change your AndroidtargetSdkto"Tiramisu"and run your app on an Android 13 device to try it out.$sign is in external user ID by @nan-li in Fix crash when$sign is in external user ID OneSignal-Android-SDK#15896.3.0.304by @nan-li in Upgrade Huawei Push Kit to version6.3.0.304OneSignal-Android-SDK#1568OneSignalDbHelperand throw the first exception encountered in retries as a speculative fix for SQLiteExceptions by @nan-li in SynchronizeOneSignalDbHelperand throw the first exception encountered in retries OneSignal-Android-SDK#1567Number, check that it can be, to fix aClassCastExceptionby @nan-li in Before casting a value toNumber, check that it can OneSignal-Android-SDK#1571outcomeEventsControllerduring SDK initialization by @nan-li in Fix NPE foroutcomeEventsControllerduring initialization OneSignal-Android-SDK#1539onSuccesscallback from being invoked too early when setting email or SMS by @nan-li in FixonSuccesscallback invoking for setting email or SMS OneSignal-Android-SDK#1555TTLandsentTimeif not available by @Jeasmine in Fix default values when no TTL and sentTime is available OneSignal-Android-SDK#1531OneSignal.setRequiresUserPrivacyConsent(true)is called by @shepherd-l in Remove setRequiresUserConesnt call when there is no value in the manifest OneSignal-Android-SDK#1527ttland related current time logic by @nan-li in Fixttland related current time logic OneSignal-Android-SDK#1528UserStateSMSSynchronizerpackage-private by @jkasten2 in Make UserStateSMSSynchronizer package-private OneSignal-Android-SDK#1491OSInAppMessagePromptpublic by @jkasten2 in Make OSInAppMessagePrompt public OneSignal-Android-SDK#1490-assumenosideeffectsCompatibility by @jkasten2 in Proguard -assumenosideeffects Compatibility OneSignal-Android-SDK#1492strict-version-matcher-pluginby @jkasten2 in Use consistent versions of dependencies; Fixes errors reported by strict-version-matcher-plugin OneSignal-Android-SDK#1501