feat: disable Firebase In-App Messaging campaigns #34
Labels
No labels
area/architecture
area/build-ci
area/bytecode
area/code-quality
area/docs
area/extension
area/fingerprint
area/security
area/tests
Bug report
Feature request
review
sev/low
sev/medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
midas/midas-patches#34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #16.
Feature description
Both apps include Firebase In-App Messaging (FIAM). The marketing team can push popup and banner campaigns through it from the Firebase console, without an app update. Suppress them.
Findings
nl.persgroep.edition.domain.messaging.SuppressFirebaseInAppMessagingUseCasesetsareMessagesSuppressedbased on PopupSuppression (see #33).g9d.f(TrackingStarter) callsFirebaseInAppMessaging.setMessagesSuppressed(!FEATURE_FIREBASE_IN_APP_MESSAGING). The flag's static default is "enabled", so campaigns are on.Approach
com.google.firebase.inappmessaging.FirebaseInAppMessaging.setMessagesSuppressed(Boolean)and force the argument to true.FirebaseInAppMessaging's display path, or disable it via the manifest (firebase_inapp_messaging_auto_data_collection_enabled), and check what that actually stops.FEATURE_FIREBASE_IN_APP_MESSAGINGoff through #17.Done when
firebaseinappmessaging.googleapis.comfetches.docs/apps/*.md.Midas Settings
hide_inapp_messages), category "Pop-ups en meldingen", default on.