feat: Add unified push as push provider

This commit is contained in:
Sorunome 2021-01-23 14:06:00 +01:00
commit d5a2ee2f3f
11 changed files with 453 additions and 234 deletions

View file

@ -92,6 +92,10 @@ class Store {
return await secureStorage.write(key: key, value: value);
}
Future<void> setItemBool(String key, bool value) async {
await setItem(key, value.toString());
}
Future<void> deleteItem(String key) async {
if (!PlatformInfos.isMobile) {
await _setupLocalStorage();