Closed LaKing closed 2 years ago
You closed this - how did you resolve it? I have the same issue
I just solved it by adding this to app.gradle
:
android {
defaultConfig {
targetSdkVersion 30
}
}
Just ran into this issue as well. Targeting SDK 30 solves it, but it shouldn't be the solution. This issue should be re-opened.
@beloitdavisja using the new version @nativescript/background-http
also fixes the problem
@triniwiz I am using @nativescript/background-http": "^5.0.2
Ah, I see this is the old repo, apologies @triniwiz . I did update to @nativescript/background-http 6.0.0
but am receiving a different error. I'll investigate further and post in the ns plugins repo.
@beloitdavisja Note the new version requires you to run an init function in the main.ts
We are on version 6 and this problem is not resolved.
@kennethkeim yes. My issue with the new version is documented here: https://github.com/NativeScript/plugins/issues/283#issuecomment-1161823051
We are on version 6 and this problem is not resolved.
@kennethkeim @beloitdavisja @triniwiz @joshcomley I am on nativescript 6.8.0 and tns code modules 6.5.2 tns-android 6.5.3 when I target android 31 it is failing on multipart-handler, I did try updating to latest background-http 6.0.0 but now I had a different error "JS: ERROR TypeError: Cannot read property 'NotificationConfig' of undefined" let me if you resolved.
Sorry, it's been a long time and I'm at a different company so don't know what came of this.
Ah, I see this is the old repo, apologies @triniwiz . I did update to
@nativescript/background-http 6.0.0
but am receiving a different error. I'll investigate further and post in the ns plugins repo.
Yes, Even I am getting a different error after moving to @nativescript/background-http 6.0.0, the error I am getting is "JS: ERROR TypeError: Cannot read property 'NotificationConfig' of undefined" please do let me know how should I fix this. THANKS
I had a working app, after updating everything to the latest version, my App crashes on android after starting
session.multipartUpload
.Nativescript Vue