diff --git a/.github/workflows/run_integration_tests.yml b/.github/workflows/run_integration_tests.yml index b0d9d50..8279225 100644 --- a/.github/workflows/run_integration_tests.yml +++ b/.github/workflows/run_integration_tests.yml @@ -19,10 +19,8 @@ jobs: with: submodules: recursive - - name: Connect private iap package - uses: webfactory/ssh-agent@v0.8.0 - with: - ssh-private-key: ${{ secrets.M3_LIGHTMETER_IAP_KEY }} + - name: Override iap package with stub + run: bash ./.github/scripts/stub_iap.sh - name: Restore secrets run: | diff --git a/iap/lib/src/providers/iap_products_provider.dart b/iap/lib/src/providers/iap_products_provider.dart index 799e8a6..c8ad2ba 100644 --- a/iap/lib/src/providers/iap_products_provider.dart +++ b/iap/lib/src/providers/iap_products_provider.dart @@ -54,10 +54,10 @@ class IAPProducts extends InheritedModel { } @override - bool updateShouldNotify(IAPProducts oldWidget) => false; + bool updateShouldNotify(IAPProducts oldWidget) => true; @override - bool updateShouldNotifyDependent(IAPProducts oldWidget, Set dependencies) => false; + bool updateShouldNotifyDependent(IAPProducts oldWidget, Set dependencies) => true; IAPProduct? _findProduct(IAPProductType type) { try {