Closed snake302 closed 4 months ago
Also while adding config to Localization (en) from Legacy I have unchecked checkbox "save as new version" due not to lost metrics for our current paywall.
So yeah, we figured the issue, if you uncheck "save as new version" while adding a first version of localized paywall — localized config will return null for people who was on legacy config
Hi! We were releasing UI library and now we're back! Diving into your question...
@snake302
So far, I was unable to get null
(or any unexpected) value in our setup. Let me review how you see this problem:
Is that it? You also opened your issue as an iOS problem — is this not a case with android or you just haven't tried that one?
@divanc Hey, thanks, here is the flow:
So the main condition is update form version where localized paywall were not supported, this issues facing only old users
We don't have Android, so not sure about that.
We currently have a clue about the origin of this problem, allow me a little more time to confirm our suspicion.
Yeah, I'm afraid it is a problem with diffing paywall hashes across versions. It is a backend/native problem, so it requires a little more time to repair.
I'll try to force this issue asap and will write you back, when native SDK will be ready to provide a fix to us
Thank you for noticing this problem!
Description
Hello! We are currently investigating an issue, which is as follows:
We have a paywall named test_1, which contains two identical remoteConfigs - one in With Localization (en default) and the other in Without Localization. The configs are 100% identical and valid.
We have another paywall named test_2, which contains one remoteConfig in With Localization (en default), identical to the two configs from test_1.
The problem is:
We have the first version of the app 1.0.0 (using "react-native-adapty": "2.2.1"), which works only with paywall test_1 and Legacy Without Localization Remote Config. Upon updating the app to version 1.0.1 (which uses "react-native-adapty": "2.4.6") and requesting paywall test_1 (getPaywall, locale en) - the remote config does not come through. However, when requesting paywall test_2 (getPaywall, locale en) - the remote config comes through, and everything works.
If we install version 1.0.1 from scratch and request paywall test_1 (getPaywall, locale en) - the remote config comes through.
It seems that there is some issue with the paywall that was on the legacy remote config and the app transitioning from an older version of React Native to a newer one, where the paywall now utilizes a remote config with locale.
Version
v2.4.6
What platforms are you seeing the problem on?
iOS
System info