Question

How use Client Side Migration with React Native Project

  • 15 March 2022
  • 1 reply
  • 35 views

Badge +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

Userlevel 6
Badge +8

Hey @Jerry Seigle!

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

await Purchases.syncPurchases();

 

Reply