OneSignal / OneSignal-iOS-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your native iOS app with OneSignal. https://onesignal.com
Other
496 stars 263 forks source link

Iam/remove iam caching #1499

Closed rgomezp closed 3 weeks ago

rgomezp commented 1 month ago

Description

One Line Summary

Removes IAM caching (follow up on #1486).

Details

We should not cache IAMs since it is incongruent with RYW consistency.

Example: there is an IAM targeting users on version 1.0. The user upgrades to 2.0 & should no longer see the IAM targeting 1.0.

The source of truth is the backend & we should only show IAMs as calculated by segment membership.

Testing

Manual testing

Tested in simulator with an IAM that shows on app certain versions.

Additional scenarios:

Affected code checklist

Checklist

Overview

Testing

Final pass


This change is Reviewable