jpush / jpush/jpush-react-native

Android sdk using location permission - rejected by Google

Open
#811 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.4k
Forks
348
PR merge metrics
No merged PRs in 30d

Description

I am unable to get past Google store approval because of the location access.
I do not have any use of location and i did not add anything in the androidmanifest.

Anyone know how this can be removed from the android sdk? I even tried manually updating to the sdk in the resources.

uses-permission#android.permission.ACCESS_BACKGROUND_LOCATION
ADDED from [:jpush-react-native] /Users/x/x/x/node_modules/jpush-react- 
native/android/build/intermediates/library_manifest/release/AndroidManifest.xml:27:5-85

Contributor guide

No contributing guide indexed for this repository

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 generated AndroidManifest.xml at node_modules/jpush-react-native/android/build/intermediates/library_manifest/release/AndroidManifest.xml and compare it with the JPush SDK version listed in the resources link. Determine how the background-location permission enters the React Native Android SDK and confirm that the generated manifest no longer includes it.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.