Closed YaoHuiJi closed 1 year ago
Apologize for the late reply. From your error report, this crash may be caused by the calling of NSUbiquitousKeyValueStore.default
in the init
function while you didn't enabled the Key-value storage capability. (A similar issue from other repo)
A temporary workaround is to enable the Key-value storage capability like the reply said although you didn't use it.
And I will fix the unnecessary using of NSUbiquitousKeyValueStore
in the next release when I am available.
v0.11.0 has been released, this module won't call key-value or icloud related events internally anymore, it may solve your problem, please have a try.
Thanks for your great work!
Hi,I received serval app crash reports from Test Flight, I am not sure but it seems some codes in the stack are related to react-native-cloud-store, like "CloudStoreModule.init() " and something else.
I'm not quite sure how users trigger these crashes, but according to 1 user's feedback, it seems to be caused by a piece of code calling "CloudStore.isICloudAvailable()", and this user disabled iCloud on his iPhone. But I also tried to disable iCloud & iCloud driver, the app still works well, no crash.
All 4 crashes happened on iOS 15(15.2, 15.3, 15.4, 15.5), I don't know if it's a coincidence or if it's just iOS15, but it didn't happen on my own iOS15 device, and it didn't happen on the Simulator too.
If you need more information, please let me know.
Here is one of the crash log, the full crash files is attached at the end.
Here is the full crash file from xcode: DXHYbz7OlsP870rAVqHxlK.xccrashpoint.zip