Closed djavan-bertrand closed 3 months ago
Oof, apparently this is... a mess. https://github.com/RevenueCat/purchases-ios/pull/1895 I think has an example for how to fix this.
Will likely not get a chance tomorrow but can probably PR this before the end of the week. Sorry for the confusion here.
HI @djavan-bertrand, @thedavidharris - I have a patch which should resolve this issue and another issue tracking sessions on watchOS.
@crleona Hi, thanks for this quick work. I've tried the patch on devices (simulator and real devices) and it seems to work. 💪
This should be released in 1.6.1. @thedavidharris @djavan-bertrand thank you for your help!
The SDK 1.6.0 crashes on watchOS 8. The crash occurs at app startup:
Please note that it does not crash with the 1.5.2.
Possible Solution
I don't have a solution, but this might be related to the changes brought in this PR: https://github.com/amplitude/Amplitude-Swift/pull/163 Maybe using compiler directive or availability directives (something like
if #available(watchOS 8.0, *)
would solve this crash?Steps to Reproduce
Please use the following sample project (it is just a watch OS app with a dependency on Amplitude-Swift 1.6.0): Amplitude-Watch-Test.zip
Environment