jpush / jpush/jpush-react-native

Support autolinking for android

Open
#699 2 comments 2 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

你的运行环境

  • 插件版本: 2.6.0
  • react-native 版本:0.61.2

期望效果

Support autolinking for android.

实际效果

$ react-native run-android
error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually:
  - jpush-react-native (to unlink run: "react-native unlink jpush-react-native")
This is likely happening when upgrading React Native from below 0.60 to 0.60 or above. Going forward, you can unlink this dependency via "react-native unlink <dependency>" and it will be included in your app automatically. If a library isn't compatible with autolinking, disregard this message and notify the library maintainers.

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 package's Android integration and how React Native 0.61.2 discovers native dependencies. Use react-native run-android with the reported manually linked dependency to reproduce the warning; done means the package is discovered through autolinking without requiring react-native link or unlink.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, react-native
Domain
build-system, mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.