-
Hello all, Thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
lingol
Aug 31, 2021
Replies: 1 comment
-
You should initialize MMKV in the main thread. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hoangelec
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should initialize MMKV in the main thread.
Otherwise, chances are you might get the first MMKV instance in a child thread, and that will trigger a runtime warning about accessing UIKit properties in child threads.