@@ -144,7 +144,7 @@ class _MyAppState extends State<MyApp> with AutomaticKeepAliveClientMixin {
144
144
145
145
Future <void > _listen () async {
146
146
QueryBuilder <ParseObject > query = QueryBuilder <ParseObject >(DietPlan ())
147
- ..whereEqualTo ('objectId' , 'Y06whIh1sS ' );
147
+ ..whereEqualTo ('objectId' , 'jSH0CHYwjL ' );
148
148
// LiveQuery liveQuery = LiveQuery();
149
149
// print("=====query: $query");
150
150
await liveQuery.subscribe (query);
@@ -166,7 +166,7 @@ class _MyAppState extends State<MyApp> with AutomaticKeepAliveClientMixin {
166
166
}
167
167
168
168
Future <void > updateSingleItem (BuildContext context) async {
169
- final ParseResponse apiResponse = await DietPlan ().getObject ('Y06whIh1sS ' );
169
+ final ParseResponse apiResponse = await DietPlan ().getObject ('jSH0CHYwjL ' );
170
170
171
171
if (apiResponse.success && apiResponse.count > 0 ) {
172
172
final DietPlan dietPlan = apiResponse.result;
@@ -193,7 +193,7 @@ class _MyAppState extends State<MyApp> with AutomaticKeepAliveClientMixin {
193
193
// Initialize parse
194
194
Parse ().initialize (keyParseApplicationId, keyParseServerUrl,
195
195
masterKey: keyParseMasterKey,
196
- liveQueryUrl: keyParseServerUrl ,
196
+ liveQueryUrl: keyParseLiveServerUrl ,
197
197
// clientKey: "XXXi3GejX3SIxpDgSbKHHV8uHUUP3QGiPPTlxxxx",
198
198
sessionId: "1212121" ,
199
199
autoSendSessionId: true ,
@@ -214,7 +214,7 @@ class _MyAppState extends State<MyApp> with AutomaticKeepAliveClientMixin {
214
214
if (response.success) {
215
215
// await _listen();
216
216
QueryBuilder <ParseObject > query = QueryBuilder <ParseObject >(DietPlan ())
217
- ..whereEqualTo ('objectId' , 'Y06whIh1sS ' );
217
+ ..whereEqualTo ('objectId' , 'jSH0CHYwjL ' );
218
218
// LiveQuery liveQuery = LiveQuery();
219
219
// print("=====query: $query");
220
220
await liveQuery.subscribe (query);
0 commit comments