awaitSyncPurchases
This method will send all the purchases to the RevenueCat backend. Call this when using your own implementation for subscriptions anytime a sync is needed, such as when migrating existing users to RevenueCat.
Warning: This function should only be called if you're migrating to RevenueCat or in observer mode.
Warning: This function could take a relatively long time to execute, depending on the amount of purchases the user has. Consider that when waiting for this operation to complete.
Throws
PurchasesException
in case of an error.