firebase / firebase/firebase-android-sdk
[In App Messaging] Ability to refetch campaigns as target event based parameters change
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 710
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 31
Description
## What feature would you like to see?
An API to force fetch campaigns from remote server (instead of using the cached ones) as and when a campaign's target event based parameters change due to client actions like updating a user property.
## How would you use it?
- Logged in user could change favourite team using `FirebaseAnalytics.getInstance().setUserProperty` from `Seahawks` to `49ers`
- As this user property is updated, user's current session should automatically be eligible for all `49ers` campaign and they shouldn't wait for app restart etc.
- Note: UserProperty is just one such target criteria, User Audience, User Segments too are applicable for these dynamic user preference changes.
Contributor guide
Assessment
This issue has not been assessed yet.