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 !
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 LISTEND/FLUTTER OTA( 5335): OTA UPDATE ON STARTING DOWNLOADD/FLUTTER OTA( 5335): OTA UPDATE DOWNLOAD STARTED 4479D/FLUTTER OTA( 5335): OTA UPDATE TRACK DOWNLOAD STARTED 4479D/FLUTTER OTA( 5335): OTA UPDATE TRACK DOWNLOAD THREAD STARTED 4479D/FLUTTER OTA( 5335): OTA UPDATE PENDINGD/FLUTTER OTA( 5335): OTA UPDATE FAILURE: 400And 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 !