Skip to main content
Question

How use Client Side Migration with React Native Project

  • March 15, 2022
  • 1 reply
  • 42 views

Forum|alt.badge.img+3

I am trying to migration to RevenueCat. I must use Client Side Migration due to not having app_user_id. The problem I have is that the documentation does not show how to use syncPurchases with React Native. The current example show the process in swift 

Swift example:

Purchases.shared.syncPurchases { (customerInfo, error) in }

How do we call the Client Side Migration “syncPurchases” in React Native?

1 reply

cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 497 replies
  • April 8, 2022

Hey @Jerry Seigle!

You can call the `syncPurchases` method in React Native similar to other methods:

await Purchases.syncPurchases();

 


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