t73liu / redux-persist-expo-filesystem

redux-persist storage engine using Expo's filesystem API

Home Page:https://www.npmjs.com/package/redux-persist-expo-filesystem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Storage is empty after restart app, after update to expo SDK 35

UchihaVeha opened this issue · comments

The store is empty after every restart app on android in the standalone build. In dev mode, all work fine

commented

The directory path has not changed with with recent Expo updates (33 to 35).

import * as FileSystem from "expo-file-system";
console.log(FileSystem.documentDirectory);
// Prints the following on Android (Pixel 3):
// 'file:///data/user/0/host.exp.exponent/files/ExperienceData/@user/project-slug/....'

Note if you changed the app.json slug property, the path will be different. Similarly, if your username has changed recently.

I do not change slug or username, just update to SDK 35, also its happen only in standalone build, in dev work fine

commented

It sounds similar to the following issue expo/expo#4537