Question

How to migrate `Userdefaults.standared` to a new private `UserDefaults` with custom suiteName?

  • 13 September 2022
  • 0 replies
  • 13 views

Badge +3

https://github.com/RevenueCat/purchases-ios/issues/1527

As mentioned here, the workaround suggest  us to separate the `Userdefaults`.

I would like to ask how to migrate the already cached data to the new `Userdefaults`. Because once we do that when we call `Purchases.shared.getCustomerInfo` we won't get the `CustomerInfo`(data not cached in new `Userdefaults`).


0 replies

Be the first to reply!

Reply