diff options
Diffstat (limited to 'recipes/android-messages')
-rw-r--r-- | recipes/android-messages/package.json | 2 | ||||
-rw-r--r-- | recipes/android-messages/webview.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/android-messages/package.json b/recipes/android-messages/package.json index 3a080ba..6bb0cfb 100644 --- a/recipes/android-messages/package.json +++ b/recipes/android-messages/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "android-messages", | 2 | "id": "android-messages", |
3 | "name": "Android Messages", | 3 | "name": "Android Messages", |
4 | "version": "2.2.3", | 4 | "version": "2.2.4", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://messages.google.com/web", | 7 | "serviceURL": "https://messages.google.com/web", |
diff --git a/recipes/android-messages/webview.js b/recipes/android-messages/webview.js index 9195de0..13def91 100644 --- a/recipes/android-messages/webview.js +++ b/recipes/android-messages/webview.js | |||
@@ -14,7 +14,7 @@ module.exports = (Ferdi, settings) => { | |||
14 | } | 14 | } |
15 | 15 | ||
16 | window.addEventListener('beforeunload', async () => { | 16 | window.addEventListener('beforeunload', async () => { |
17 | Ferdi.clearStorageData(['appcache', 'serviceworkers', 'cachestorage', 'websql', 'indexdb']); | 17 | Ferdi.clearStorageData(settings.id, { storages: ['appcache', 'serviceworkers', 'cachestorage', 'websql', 'indexdb'] }); |
18 | Ferdi.releaseServiceWorkers(); | 18 | Ferdi.releaseServiceWorkers(); |
19 | }); | 19 | }); |
20 | 20 | ||