Skip to main content
Question

Does addCustomerInfoUpdatingListener support webbilling?


Forum|alt.badge.img

I'm using React Native to build an Android APK.

Since I'm using addCustomerInfoUpdatingListener during app initialization, and within the app, I open WebBrowser to access Web Paywall Links (low code) for payment, will the CustomerInfo be updated after the payment is successful and the WebBrowser is closed?

 

Because if I were to monitor CustomerInfo information

 

This post has been closed for comments

3 replies

Forum|alt.badge.img+3
  • RevenueCat Staff
  • 58 replies
  • April 22, 2025

Hi ​@bruce_wayne,

Seems that you’re message was cut-off in the middle? 

Regarding your first question, the callback you add to addCustomerInfoUpdatingListener will NOT be called if you’re using Web Paywall links from the web, since there is currently no way for the React Native SDK to notice you’re coming back from a purchase in a browser (this flow is not part of the RN SDK). Could you provide more details on your use case to make sure it would be supported?

A thought that might help to support this, is to invalidate the CustomerInfo cache and then fetch the new CustomerInfo using getCustomerInfo when you detect that the app comes back from the web purchase flow but please let us know what your use case looks like to make sure it would work as expected. You also would need to make sure Apple/Google allow your business model to use web purchases from your mobile app. Otherwise, your app may get rejected by Apple/Google.


Forum|alt.badge.img
  • Author
  • New Member
  • 1 reply
  • May 5, 2025

I saw the newly launched Web Paywall button feature on Revenuecat. Does it support Android apps as well


Forum|alt.badge.img+8
  • RevenueCat Staff
  • 586 replies
  • May 9, 2025

Hi ​@bruce_wayne at this time our web purchase button is not available for our Android SDK, see our docs here for the available SDKs and versions. If you are using a hybrid like React Native then this is currently possible and you can do so by creating a button component and choosing 'Navigate to' -> 'Web Purchase'.


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