diff --git a/lib/src/domain/common/fs_migration.dart b/lib/src/domain/common/fs_migration.dart index 537523aa4..d79d07dfe 100644 --- a/lib/src/domain/common/fs_migration.dart +++ b/lib/src/domain/common/fs_migration.dart @@ -3,13 +3,17 @@ import 'package:path_provider/path_provider.dart'; const reservedNames = ["flutter_assets", "wallets", "db"]; -Future migrate_fs() async { +Future migrate_android_v1() async { final appDocDir = await getApplicationDocumentsDirectory(); await migrate_hives(appDocDir: appDocDir); await migrate_wallets(appDocDir: appDocDir); +} - appDocDir.listSync(recursive: true).forEach((item) => print(item.path)); +Future migrate_ios_v1() async { + final appDocDir = await getApplicationDocumentsDirectory(); + + } Future migrate_hives({Directory appDocDir}) async { @@ -68,3 +72,8 @@ Future migrate_wallets({Directory appDocDir}) async { dir.deleteSync(); }); } + +Future migrate_ios_wallets({Directory appDocDir}) async { + // final oldWalletsDir = Directory('${appDocDir.path}/wallets'); + +} \ No newline at end of file