adaptyteam / AdaptyUI-React-Native

Extension to the Adapty SDK that allows you to easily add purchase screens to your application
https://adapty.io
MIT License
28 stars 2 forks source link

Setting Fallback Paywalls is not working #10

Closed hasanfd closed 5 months ago

hasanfd commented 6 months ago

Fallback Paywalls are not showing if there is no internet connection. I tried to set fallback paywall after activating adapty and before view.present();, both didn't work.

        let fallback_paywalls;
        if (Platform.OS === "ios") {
          fallback_paywalls = require("./ios_fallback.json");
        } else {
          fallback_paywalls = require("./android_fallback.json");
        }
        const fallbackString = JSON.stringify(fallback_paywalls);
        adapty.setFallbackPaywalls(fallbackString).catch(recordAndLogError);
vladd-g commented 5 months ago

hi @hasanfd! For now, fallback paywalls contain only paywall data, without a visual representation