Skip to content
Discussion options

You must be logged in to vote

OK, I will try to explain it again. When you "做迁移" from the "备份恢复目录", you

  1. calc the root directory of MMKV inside the "备份恢复目录",
  2. call MMKV.restoreAllFromDirectory("备份恢复目录/xxxx/mmkv")
  3. finally, start using MMKV from your default directory in your new HarmonyOS NEXT App.

Understand?

Replies: 5 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@lingol
Comment options

@peerless2012
Comment options

@lingol
Comment options

Answer selected by lingol
@peerless2012
Comment options

Comment options

You must be logged in to vote
4 replies
@lingol
Comment options

@peerless2012
Comment options

@lingol
Comment options

@peerless2012
Comment options

Comment options

You must be logged in to vote
2 replies
@lingol
Comment options

@wangyatong
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants