sdk
sdk copied to clipboard
Session resume with megasimplesync
I'm testing the MegaSDK with the megasimplesync sample app. Megasilmplesync logs in, creates a new session, creates cache files in the directory where it was started and starts syncing. If I kill the app (-9) and start it again with the same local and remote folders, it will add a new session and another cache files.
In the log, I see that it still seems to be trying to restore the session, but it doesn't succeed.
...
[22:28:12][debug] Initial scan finished. New / modified files: 0
[22:28:12][debug] Sync autoresumed: mP1qwjzosQQ /data/data/org.gnu.emacs/files/Org fsfp= 66360 error = 0
[22:28:12][debug] Node is not syncable for sync add
[22:28:12][err] Sync could not be added! -12 syncError = 32
Is there any way to solve the session autoresume here?