jpush / jpush/jpush-react-native

AndroidQ 版本这对手机信息权限有特殊权限要求

Open
#756 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

你的运行环境

androidQ

  • 插件版本:
  • react-native 版本:
    cn.jiguang.sdk:jpush:3.5.0

期望效果

正常运行
告诉我们你希望达到什么效果。

实际效果

在androidQ上运行奔溃,
告诉我们实际是什么效果。

重现步骤

初始化就可以出现

Debug logs

https://stackoverflow.com/questions/55173823/i-am-getting-imei-null-in-android-q
包括 Android 或 iOS 的日志:
java.lang.SecurityException: getImeiForSlot: The user 10180 does not meet the requirements to access device identifiers.

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 reproducing the crash during plugin initialization on Android Q with cn.jiguang.sdk:jpush:3.5.0, then inspect the Android initialization path and the reported SecurityException about device identifiers. Done means initialization runs normally on Android Q without the reported crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, react-native
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.