@@ -23,22 +23,22 @@ or clone this repository and add to your project. As this is an early developmen
23
23
Once you have the library added to your project, upon first call to your app (Similar to what your application class would be) add the following...
24
24
25
25
` ` ` dart
26
- Parse().initialize(
26
+ await Parse().initialize(
27
27
ApplicationConstants.keyApplicationId,
28
28
ApplicationConstants.keyParseServerUrl);
29
29
```
30
30
if you want to use secure storage also that's allow using sdk on desktop application
31
31
``` dart
32
32
33
- Parse().initialize(keyParseApplicationId, keyParseServerUrl,
33
+ await Parse().initialize(keyParseApplicationId, keyParseServerUrl,
34
34
masterKey: keyParseMasterKey,
35
35
debug: true,
36
- coreStore: CoreStoreImp .getInstance());
36
+ coreStore: await CoreStoreSembastImp .getInstance());
37
37
```
38
38
It's possible to add other params, such as ...
39
39
40
40
``` dart
41
- Parse().initialize(
41
+ await Parse().initialize(
42
42
ApplicationConstants.keyApplicationId,
43
43
ApplicationConstants.keyParseServerUrl,
44
44
masterKey: ApplicationConstants.keyParseMasterKey,
@@ -47,7 +47,7 @@ Parse().initialize(
47
47
liveQueryUrl: ApplicationConstants.keyLiveQueryUrl,
48
48
autoSendSessionId: true,
49
49
securityContext: securityContext,
50
- coreStore: CoreStoreSembastImp .getInstance());
50
+ coreStore: await CoreStoreSharedPrefsImp .getInstance());
51
51
```
52
52
53
53
## Objects
0 commit comments