Skip to content

ParseLiveListWidget doesn't work #623

Closed
@yp19

Description

@yp19

I am using following server and client versions
"parse-server": "^4.5.0" (server)
parse_server_sdk_flutter: ^3.0.0 (client)

Flutter log contains following lines (mostly)

I/flutter ( 8004): LiveQuery: : Socket opened
I/flutter ( 8004): LiveQuery: : ConnectMessage: {op: connect, applicationId: appid, sessionToken: r:token}
I/flutter ( 8004): LiveQuery: : Done
I/flutter ( 8004): LiveQueryReconnectingController: Retrytimer set to 10000ms
I/flutter ( 8004): LiveQueryReconnectingController: LiveQueryClientEvent.DISCONNECTED

Server log contains following lines (mostly)

info: Client disconnect: undefined
error: Can not find client undefined on disconnect

Flutter parse init:

await Parse().initialize(
    keyParseApplicationId,
    keyParseServerUrl,
    debug: true,
    liveQueryUrl: keyLiveQueryUrl,
    coreStore: await CoreStoreSharedPrefsImp.getInstance(),
    autoSendSessionId: true,
  );

Note: The LiveQuery is working with Javascript code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions