woocommerce / woocommerce-android

WooCommerce Android app
https://www.woocommerce.com/mobile
GNU General Public License v2.0
276 stars 134 forks source link

Enable Blaze for Jetpack CP connection with full sync (like Blaze Ads plugin or Jetpack Search Plugin) #12412

Open JorgeMucientes opened 3 weeks ago

JorgeMucientes commented 3 weeks ago

Checking if the Blaze plugin is installed requires fetching store plugins => the eligibility check need to be async again. => We need to revert changes to the check in all places: hub menu, dashboard, product form.

iOS issue: https://github.com/woocommerce/woocommerce-ios/issues/13487

dangermattic commented 3 weeks ago

🚫 Please add a type label (e.g. type: enhancement) and a feature label (e.g. feature: stats) to this issue.

hichamboushaba commented 3 weeks ago

Checking if the Blaze plugin is installed requires fetching store plugins => the eligibility check need to be async again

We already fetch plugins on app launches and site changes, so I think we don't need to refetch them each time we want to check for the eligibility, we need just to check the DB and see if the plugin exists like what we do for all other places in the app. This is similar to a remark I recently shared regarding Google Ads plugin check in the app.