diff --git a/android/src/services/updater.ts b/android/src/services/updater.ts index 790dc27..380427f 100644 --- a/android/src/services/updater.ts +++ b/android/src/services/updater.ts @@ -189,7 +189,7 @@ class UpdateService { const destPath = `${RNFS.CachesDirectoryPath}/${apkData.fileName}`; await RNFS.writeFile(destPath, apkData.base64, 'base64'); const fileSize = await RNFS.stat(destPath); - console.log(`[Update] APK gespeichert: ${destPath} (${(parseInt(fileSize.size) / 1024 / 1024).toFixed(1)}MB)`); + console.log(`[Update] APK gespeichert: ${destPath} (${(Number(fileSize.size) / 1024 / 1024).toFixed(1)}MB)`); // APK installieren via natives ApkInstaller Module (FileProvider + Intent) if (Platform.OS === 'android') {