Skip to content

Commit cd7c192

Browse files
committed
README.md updated from https://stackedit.io/
1 parent 9480d0d commit cd7c192

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,19 @@ await Parse().initialize(
3737
It's possible to add other parameters to work with your instance of Parse Server:-
3838

3939
```dart
40-
Parse().initialize(
41-
ApplicationConstants.keyApplicationId,
42-
ApplicationConstants.keyParseServerUrl,
43-
masterKey:
44-
coreStore: await CoreStoreSharedPrefsImp.getInstance());
45-
cityConttserCnte,etre: atendSessionId: true,ApplicationConstants.keyParseMasterKey,
46-
clientKey: ApplicationConstants.keyParseClientKey,
47-
debug: true,
48-
liveQueryUrl: ApplicationConstants.keyLiveQueryUrl,
49-
autoSCoetoeSe
50-
dresetnstne); // Wi## Objects
40+
await Parse().initialize(
41+
keyApplicationId,
42+
keyParseServerUrl,
43+
masterKey: keyParseMasterKey, // Required for Back4App and others
44+
clientKey: keyParseClientKey, // Required for some setups
45+
debug: true, // When enabled, prints logs to console
46+
liveQueryUrl: keyLiveQueryUrl, // Required if using LiveQuery
47+
autoSendSessionId: true, // Some confurations require this to be true
48+
securityContext: securityContext, // Again, required for some setups
49+
coreStore: await CoreStoreSharedPrefsImp.getInstance()); // Will use SharedPreferences instead of Sembast as an internal DB
50+
```
51+
52+
## Objects
5153
You can create custom objects by calling:
5254
```dart
5355
var dietPlan = ParseObject('DietPlan')
@@ -559,5 +561,5 @@ Objects:
559561
## Author:-
560562
This project was authored by Phill Wiggins. You can contact me at phill.wiggins@gmail.com
561563
<!--stackedit_data:
562-
eyJoaXN0b3J5IjpbLTE2MDE0MzAxMTIsNzE4NjUwNDIwXX0=
564+
eyJoaXN0b3J5IjpbLTQxMTMxNDk0MSw3MTg2NTA0MjBdfQ==
563565
-->

0 commit comments

Comments
 (0)