Hello,
I have a single activity Andriod app trying to implement Revenue Cat.
I experience app crashes when an configuration change, i.e. screen rotation, occur during the call to
Purchases.sharedInstance.restorePurchasesWith…. The method is called from a Fragment and work as intended unless an configuration change occur before Purchases.sharedInstance.restorePurchasesWith… returns the call.
Do anyone have any suggestions how to handle configuration changes, should I move calls to the Revenenue Cat SDK to a viewmodel?
Best Regards, Tomas