Closed lin-brian-l closed 6 years ago
Hi @lin-brian-l,
Make sure that you are using latest available nativescript-background-http
version(3.2.2). If you are already using it, try to remove the platform and to add it again.
tns platform remove android
tns platform add android
If the issue persists, please send us sample project, which could be used for debugging.
We are attempting to use
session.multipartUpload()
to upload to our server, and the same code works fine for iOS but fails on Android. The error that appears is extremely similar to the error in this thread, and after looking through other issues such as #124, I'm inclined to think that the error lies with an incompatibility with SDK 26 rather than the session code itself. For reference, the session call is as follows:Is there anything that can be done to have the issue resolved? I tried following the advice given in the first issue that I linked, but we are already compiling to SDK version 26 in our app/App_Resources/Android/app.gradle file (
compileSdkVersion 26
andbuildToolsVersion '26.0.2'
). Are there any other solutions that we can attempt to get this resolved?