Resolve Discrepancies in Blaze Card Visibility with Legacy Jetpack Versions #11568
Labels
feature: blaze
Related to the Blaze project
priority: low
Not many people are affected or there’s a workaround, etc.
type: bug
A confirmed bug.
Description:
I've identified a critical issue affecting the visibility of the Blaze card, specifically when interacting with stores running on outdated Jetpack versions.
Issue Summary:
After the initial login to a store via the mobile app, the Blaze card displays as expected. However, upon relaunching the app, the Blaze card becomes hidden as if the store is no longer eligible to display it.
Investigation Findings:
can_blaze
.can_blaze
property is expected from two endpoints:me/sites
(post-login) andsites/:id
(app startup).sites/:id
isn't called sinceme/sites
provides all necessary information. However, subsequent launches rely onsites/:id
.sites/:id
does not return thecan_blaze
property for sites with Jetpack versions older than 12.0.Impact:
Users with Jetpack versions prior to 12.0 do not see the Blaze card in the app, potentially missing out on its features.
Potential Solutions:
can_blaze
property fromme/sites
, store it locally, and rely on this stored value.Preferred Solution:
The first solution is preferred, as it would allow users with older Jetpack versions to access the Blaze card features, considering that version 12.0 of Jetpack was released approximately a year ago.
Extra info here: pe5sF9-2Gh
The text was updated successfully, but these errors were encountered: