Skip to content

Problem parsing package & OTA Update Failure: 400 #39

Description

@Braxwell

Hi !
I have some problems implementing OTA update. I don't think it's a problem of link or file because I can manually install the app by downloading it.
When I try to update my app (using the same code as the example you gave), this happens (permissions have been granted) :

D/FLUTTER OTA( 5335): OTA UPDATE ON LISTEN
D/FLUTTER OTA( 5335): OTA UPDATE ON STARTING DOWNLOAD
D/FLUTTER OTA( 5335): OTA UPDATE DOWNLOAD STARTED 4479
D/FLUTTER OTA( 5335): OTA UPDATE TRACK DOWNLOAD STARTED 4479
D/FLUTTER OTA( 5335): OTA UPDATE TRACK DOWNLOAD THREAD STARTED 4479
D/FLUTTER OTA( 5335): OTA UPDATE PENDING
D/FLUTTER OTA( 5335): OTA UPDATE FAILURE: 400

And then I have the "There was a problem parsing the package." message on the screen. When I go to my download folder, there is no apk file. I tested with and without checksum, and with it I have the same results, minus the message on screen.
If it can help, I'm using a Xiaomi Mi A2 (Android 10) for my tests.

Thank you !

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationDocumentation should be updated with information how to achieve this use case.integration problemProblem is not in plugin itself but related to how you use the plugin.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions