|
@@ -15,7 +15,7 @@ async function copyDatabaseFile(dbName: string, dbAsset: Asset) {
|
|
|
await dbAsset.downloadAsync();
|
|
|
await FileSystem.downloadAsync(
|
|
|
dbAsset.uri,
|
|
|
- FileSystem.documentDirectory + DS + dbName
|
|
|
+ sqliteFullPath + DS + dbName
|
|
|
);
|
|
|
|
|
|
const dbUri = sqliteFullPath + DS + dbName;
|
|
@@ -24,7 +24,6 @@ async function copyDatabaseFile(dbName: string, dbAsset: Asset) {
|
|
|
from: dbAsset.localUri ?? '',
|
|
|
to: dbUri,
|
|
|
});
|
|
|
- console.log("DB copy OK - " + dbUri);
|
|
|
return dbUri;
|
|
|
}
|
|
|
|