2024-01-30 15:56:09 +01:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
---
|
|
|
|
# This file configures "evergreen" messages that are displayed via
|
|
|
|
# the Nimbus Messaging system.
|
|
|
|
#
|
|
|
|
# They are "evergreen" in that they apply to all users, and shipped with the app.
|
|
|
|
#
|
|
|
|
# This file is intended to grow new messages once messages have been tested via
|
|
|
|
# experiment, rolled out to everyone in the release, and are ready to be rolled out
|
|
|
|
# without the remote prompting from Experimenter.
|
|
|
|
#
|
|
|
|
# When adding new messages to this file, please add the experiment (and/or rollout) URLs used to
|
|
|
|
# validate them.
|
|
|
|
#
|
|
|
|
# Triggers, actions and styles are configured in messaging-fenix.fml.yaml.
|
|
|
|
import:
|
|
|
|
- path: ../android-components/components/service/nimbus/messaging.fml.yaml
|
|
|
|
channel: release
|
|
|
|
features:
|
|
|
|
messaging:
|
|
|
|
# This message displays on the homescreen, asking the user to set Firefox as the default.
|
|
|
|
# It is triggered after a minimum of 4 launches of the app.
|
|
|
|
- value:
|
|
|
|
messages:
|
|
|
|
default-browser:
|
2024-04-14 13:12:20 +02:00
|
|
|
title: default_browser_experiment_card_title
|
2024-01-30 15:56:09 +01:00
|
|
|
text: default_browser_experiment_card_text
|
|
|
|
surface: homescreen
|
|
|
|
action: "MAKE_DEFAULT_BROWSER"
|
2024-06-01 16:29:02 +02:00
|
|
|
trigger-if-all:
|
2024-01-30 15:56:09 +01:00
|
|
|
- USER_ESTABLISHED_INSTALL
|
2024-10-12 11:57:06 +02:00
|
|
|
- ANDROID_API_BELOW_29
|
2024-06-01 16:29:02 +02:00
|
|
|
exclude-if-any:
|
|
|
|
- I_AM_DEFAULT_BROWSER
|
2024-01-30 15:56:09 +01:00
|
|
|
style: PERSISTENT
|
|
|
|
button-label: preferences_set_as_default_browser
|
|
|
|
triggers:
|
|
|
|
USER_ESTABLISHED_INSTALL: "number_of_app_launches >=4"
|
2024-10-12 11:57:06 +02:00
|
|
|
ANDROID_API_BELOW_29: "android_version < 29"
|
2024-01-30 15:56:09 +01:00
|
|
|
|
|
|
|
# This message displays as a 'push' notification, asking the user to set Firefox as the default.
|
|
|
|
# It is triggered three days after install.
|
|
|
|
- value:
|
|
|
|
messages:
|
|
|
|
default-browser-notification:
|
|
|
|
title: nimbus_notification_default_browser_title
|
|
|
|
text: nimbus_notification_default_browser_text
|
|
|
|
surface: notification
|
|
|
|
style: NOTIFICATION
|
2024-06-01 16:29:02 +02:00
|
|
|
trigger-if-all:
|
2024-01-30 15:56:09 +01:00
|
|
|
- DAY_3_AFTER_INSTALL
|
2024-06-01 16:29:02 +02:00
|
|
|
exclude-if-any:
|
|
|
|
- I_AM_DEFAULT_BROWSER
|
2024-01-30 15:56:09 +01:00
|
|
|
action: MAKE_DEFAULT_BROWSER
|
2024-08-26 10:00:43 +02:00
|
|
|
|
|
|
|
# This message displays as a microsurvey prompt after the user taps on the `Print` menu.
|
|
|
|
- channel: developer
|
|
|
|
value:
|
|
|
|
messages:
|
|
|
|
microsurvey-printing-example:
|
|
|
|
title: microsurvey_prompt_printing_title
|
|
|
|
text: microsurvey_survey_printing_title
|
|
|
|
surface: microsurvey
|
|
|
|
trigger-if-all:
|
|
|
|
- RECENTLY_PRINTED
|
2024-10-12 11:57:06 +02:00
|
|
|
style: MICROSURVEY
|
2024-08-26 10:00:43 +02:00
|
|
|
microsurvey-config:
|
|
|
|
utm-content: "homepage"
|
|
|
|
icon: ic_print
|
|
|
|
answers:
|
|
|
|
- text: likert_scale_option_1
|
|
|
|
ordering: 0
|
|
|
|
- text: likert_scale_option_2
|
|
|
|
ordering: 1
|
|
|
|
- text: likert_scale_option_3
|
|
|
|
ordering: 2
|
|
|
|
- text: likert_scale_option_4
|
|
|
|
ordering: 3
|
|
|
|
- text: likert_scale_option_5
|
|
|
|
ordering: 4
|
|
|
|
- text: likert_scale_option_6
|
|
|
|
ordering: 5
|