优化android 热更新
This commit is contained in:
1 parent
75d8f87f49
commit
999723508a
4 files changed
+74
-18
No files matched your search
@@ -13,6 +13,13 @@ const config: CapacitorConfig = {
|
||||
autoUpdate: 'off',
|
||||
version: '1.0.0',
|
||||
appReadyTimeout: 10000,
|
||||
// A 30 MB OTA package can take longer than the plugin default on a
|
||||
// mobile network. Manual checking keeps the UI responsive while this
|
||||
// timeout only governs the native request/download pipeline.
|
||||
responseTimeout: 60,
|
||||
autoDeleteFailed: true,
|
||||
autoDeletePrevious: true,
|
||||
keepUrlPathAfterReload: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user