NativeScript / NativeScript/plugins

[@nativescript/background-http] Android SDK 34 and FOREGROUND_SERVICE_DATA_SYNC permission

Open
#593 4 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
206
Forks
123
Avg merge
2d 1h
Merged PRs (30d)
1

Description

Hi,

I 've been using background-http plugin for years and it works great to upload photos taken with app on application server with an api.
In accordance with google's request to update my application on the play store, I had to target android 34. Now when I want to publish my application, it tells me that I have to justify why and how I use the permission FOREGROUND_SERVICE_DATA_SYNC with a video.
I noticed that this permission was requested by net.gotev:uploadservice:4.9.2 which is a dependency of the background-http plugin.
Do you have a solution?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the background-http plugin and its net.gotev:uploadservice:4.9.2 dependency, then review how targeting Android SDK 34 introduces FOREGROUND_SERVICE_DATA_SYNC. Done means identifying and documenting a viable resolution for the Play Store permission requirement; no specific files or tests are named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, typescript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.