Update pubspec.yaml, lib/utils/famedlysdk_store.dart files
This commit is contained in:
parent
f373e7a65e
commit
04a6170e81
|
@ -23,7 +23,11 @@ class Store extends StoreAPI {
|
||||||
Future<dynamic> getItem(String key) async {
|
Future<dynamic> getItem(String key) async {
|
||||||
if (kIsWeb) {
|
if (kIsWeb) {
|
||||||
await storage.ready;
|
await storage.ready;
|
||||||
|
try {
|
||||||
return await storage.getItem(key);
|
return await storage.getItem(key);
|
||||||
|
} catch (_) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return await secureStorage.read(key: key);
|
return await secureStorage.read(key: key);
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,7 @@ dependencies:
|
||||||
famedlysdk:
|
famedlysdk:
|
||||||
git:
|
git:
|
||||||
url: https://gitlab.com/famedly/famedlysdk.git
|
url: https://gitlab.com/famedly/famedlysdk.git
|
||||||
ref: 5eda493ba2ca529fb351ca15028868a25ed6196e
|
ref: c57c7d6719c71e0c9f3ce4f6686b9512711435f2
|
||||||
|
|
||||||
localstorage: ^3.0.1+4
|
localstorage: ^3.0.1+4
|
||||||
bubble: ^1.1.9+1
|
bubble: ^1.1.9+1
|
||||||
|
|
Loading…
Reference in a new issue