Carsten Jobmann

Results 8 comments of Carsten Jobmann

> including adding the init() in main.ts. Saved my week! Thanks! It works in my case with: "@nativescript/core": "~8.2.1", "@nativescript/angular": "^13.0.0", "@nativescript/background-http": "^6.0.0", I had to create a Notification Channel...

I have exactly the same issue with responseCode -1 ``` { JS: "eventName": "progress", JS: "object": { JS: "_observers": { JS: "progress": [ JS: {} JS: ], JS: "error": [...

So far, unfortunately not, but I will investigate it more deeper. I keep you informed.

So far I found out that either the permission ist not working correctly, or the path is wrong: JS: java.io.FileNotFoundException: /storage/emulated/0/Download/201911061645231201810021300161538485217.jpg: open failed: EACCES (Permission denied) ![Screenshot_1607947358](https://user-images.githubusercontent.com/11423025/102079306-bd379c00-3e0c-11eb-9587-704f45859d6e.png) The path seems...

I implemented an additional check for the rights: ``` const permissions = require('nativescript-permissions'); permissions.requestPermission(android.Manifest.permission.READ_EXTERNAL_STORAGE, "I need these permissions because I'm cool") .then( () => { console.log("Woo Hoo, I have the...

Ok I found the solution: https://github.com/NativeScript/nativescript-background-http/issues/263#issuecomment-681764178 At least it worked for me. Can you please proof it?

I am using the following tns versions: > "tns-android": { > "version": "6.2.0" > }, > "tns-ios": { > "version": "6.5.2" > } This is my AndroidManifest part for the...

As far as i remember, the version 6 doesn't need that init() and also not the "if (android.os.Build.Version...." part. So the notificationManager is not needed (skip the first 11 lines...