Conversation
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
|
|
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
🤖 Build Failure AnalysisThis build has failures. Claude has analyzed them - check the build annotations for details. |
| WOO_POS_LOCAL_CATALOG_FILE_APPROACH("woo_pos_local_catalog_file_approach"), | ||
| WOO_PUSH_NOTIFICATIONS_SYSTEM("woo_push_notifications_system", default = false), | ||
| WOO_PUSH_NOTIFICATIONS_SYSTEM_M2("woo_push_notifications_system_m2", default = false), | ||
| WOO_SELF_DRIVEN_PUSH_NOTIFICATIONS_M1("woo_self_driven_push_notifications_m1", default = false), |
There was a problem hiding this comment.
What about using the local feature flag value as default value when not being able to retrieve the remote FF? I thought that was the idea from what we discussed over Slack
There was a problem hiding this comment.
default = false does that. If you want to use true when the remote flag isn't available, just update the default value to true.
I added the feature in #15299
Note: If no remote value exists, the default is used.
JorgeMucientes
left a comment
There was a problem hiding this comment.
Changes look good @irfano 👍🏼
…to issue/WOOMOB-2099-add-remote-flags-for-woo-pn-project
…to issue/WOOMOB-2099-add-remote-flags-for-woo-pn-project
|
|
…to issue/WOOMOB-2099-add-remote-flags-for-woo-pn-project # Conflicts: # WooCommerce/src/main/kotlin/com/woocommerce/android/notifications/push/ShouldShowEnablePushNotificationsUi.kt # WooCommerce/src/main/kotlin/com/woocommerce/android/util/FeatureFlag.kt # WooCommerce/src/test/kotlin/com/woocommerce/android/util/FeatureFlagRepositoryTest.kt
…to issue/WOOMOB-2099-add-remote-flags-for-woo-pn-project # Conflicts: # WooCommerce/src/main/kotlin/com/woocommerce/android/notifications/push/ShouldShowEnablePushNotificationsUi.kt # WooCommerce/src/main/kotlin/com/woocommerce/android/ui/jetpack/benefits/JetpackBenefitsViewModel.kt # WooCommerce/src/main/kotlin/com/woocommerce/android/util/FeatureFlag.kt # WooCommerce/src/test/kotlin/com/woocommerce/android/ui/jetpack/benefits/JetpackBenefitsViewModelTest.kt
|
Version |

Description
We added a feature flag to the backend with the key
woo_self_driven_push_notifications_m1. This PR renames our local flags and adds keys for the remote flags.Backend PR: 202198-ghe-Automattic/wpcom
The default value (
false) will be used until the backend returns a value forwoo_self_driven_push_notifications_m1.Test Steps
For now, it’s not testable because the remote flag PR hasn’t been merged on the backend yet.
Images/gif
RELEASE-NOTES.txtif necessary. Use the "[Internal]" label for non-user-facing changes.