Skip to main content
Question

Paywall crashes on Android - error while updating options of a view managed by PayWall


yavuzakyazici
Forum|alt.badge.img+5

I am getting this error when I try to test subscription thru paywall. PayWall is never displayed.
It works fine on iOS.

 

2 replies

yavuzakyazici
Forum|alt.badge.img+5

Commenting out options prop got it working.

return (
    <RevenueCatUI.Paywall
      // options={{ displayCloseButton: true }}

However, I need the close button on pay wall. So Do I have to create my own close button and open paywall as modal? Or could this be fixed?


yavuzakyazici
Forum|alt.badge.img+5

I did not get an answer for my question. So, should I open a support ticket?

I understand there is no web option for RevenueCat since the web PayWalls are not ready.
However, I still don’t know what my solution is.

So far, I tried conditional import of RevenueCat and creating PayWall functions depending on if the device os is iOS or Android. None of them worked.

This leaves me only choice to open a git branch for web and uninstall RevenueCat completely for that branch. This is not a desired solution for me since I would have to maintain two branches then. I would like to know if this is my only option before I even think about this. So, I would be grateful if I could get an answer. Thanks..


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings