You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update IAM manager & backend service with retry logic, optional headers
Motivation: the IAM fetch call (`listInAppMessages`) will include the rywToken, retryCount, & secondsSinceAppOpen (tracked on backend)
We update the request & related code here.
Handle retry logic
Copy file name to clipboardExpand all lines: OneSignalSDK/onesignal/in-app-messages/src/main/java/com/onesignal/inAppMessages/internal/InAppMessagesManager.kt
"InAppMessagesManager.logInAppMessagePreviewActions: Tags detected inside of the action click payload, ignoring because action came from IAM preview:: "+ action.tags.toString(),
803
+
"InAppMessagesManager.logInAppMessagePreviewActions: Tags detected inside of the action click payload, ignoring because action came from IAM preview:: "+
804
+
action.tags.toString(),
786
805
)
787
806
}
788
807
789
808
if (action.outcomes.size >0) {
790
809
Logging.debug(
791
-
"InAppMessagesManager.logInAppMessagePreviewActions: Outcomes detected inside of the action click payload, ignoring because action came from IAM preview: "+ action.outcomes.toString(),
810
+
"InAppMessagesManager.logInAppMessagePreviewActions: Outcomes detected inside of the action click payload, ignoring because action came from IAM preview: "+
811
+
action.outcomes.toString(),
792
812
)
793
813
}
794
814
@@ -890,7 +910,8 @@ internal class InAppMessagesManager(
890
910
) {
891
911
val messageTitle =_applicationService.appContext.getString(R.string.location_permission_missing_title)
892
912
val message =_applicationService.appContext.getString(R.string.location_permission_missing_message)
Copy file name to clipboardExpand all lines: OneSignalSDK/onesignal/in-app-messages/src/main/java/com/onesignal/inAppMessages/internal/backend/IInAppBackendService.kt
Copy file name to clipboardExpand all lines: OneSignalSDK/onesignal/in-app-messages/src/main/java/com/onesignal/inAppMessages/internal/backend/impl/InAppBackendService.kt
Copy file name to clipboardExpand all lines: OneSignalSDK/onesignal/in-app-messages/src/test/java/com/onesignal/inAppMessages/internal/InAppMessagesManagerTests.kt
0 commit comments