not working with ios below 15
i update adapty to version 3.4.1, it working good with ios 15 and later, but it cause crash in configuration with below ios 15
Hi @DrWaleedNour! AdaptyUI methods are only available on iOS 15 or later. What exactly do you mean by ‘crash’ in this context?
when update to last version, the app not lanuch, its min. target is = ios 13, but when downgrade adapty to verision 3.1.0, it is worked, so last version not compatible with ios 14 or 13
@DrWaleedNour as I said, now it is possible to use AdaptyUI methods only with iOS 15 or newer, so you have to wrap all the method calls with available directive. Please take a look into our Demo Apps.
@x401om +1, I’m also experiencing a crash on iOS 14.8. I’m definitely not using AdaptyUI in this project — everything is built through paywall remote config. The app crashes on launch, meaning during the SDK configuration stage
(after update from v2.11.1 to v3.5)
@x401om @DrWaleedNour In my case it turned out to be caused by RealmSwift, in my project Realm was calling: malloc_ptr classes(objc_copyClassList(&numClasses), &free);
and on iOS < 15 it would crash because it ended up iterating over the new StoreKit2 classes that Adapty’s latest version adds. The solution was to avoid that global class-list enumeration by explicitly setting "objectTypes" on my Realm configuration.
Just sharing here in case anyone else runs into the same issue