[Request]: sensor_plus插件在flutter3.38以上版本运行时,触发隐私合规问题
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
Research direction
Start by locating sensor_plus's ActivityAware.onAttachedToActivity implementation and the Dart subscription entry point. Trace when the sensor is accessed under Flutter 3.38 and verify that completion means no sensor access occurs before a Dart subscription, including on first app launch.
Written by the indexing model from the issue text.
Description
Plugin
sensor_plus
Use case
Flutter 3.38后,FlutterActivity 会在更早的生命周期就 attach 全部 ActivityAware 插件;在sensor_plus的attach里,attach时就获取了设备的传感器。这导致 在app第一次启动后,用户还没有点击同意隐私授权,flutter侧就访问了设备传感器,这在商店审核时是不合规的,不符合隐私合规。
Proposal
能不能把 ActivityAware.onAttachedToActivity 改成惰性初始化,只在 Dart 订阅时才去访问传感器。
- Dominant language
- Dart
- Stars
- 1.9k
- Forks
- 1.3k
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 16
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fluttercommunity/plus_plugins
-
[Bug]: (share_plus) iOS drops the subject when sharing a uriPossibly taken A pull request linked to this issue is open or already merged. Openbug triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
fluttercommunity/plus_plugins#3994 · 1 comment ·
Maintainers usually reply within 1 day
-
[package_info_plus]: Use Flutter's compile-time build name/number on web instead of version.jsonPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
fluttercommunity/plus_plugins#3989 ·
Maintainers usually reply within 1 day
-
enhancement triage
Difficulty 4/5 3-5 days Newbie friendliness 55/100
fluttercommunity/plus_plugins#3976 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
fluttercommunity/plus_plugins#3974 · 1 reaction ·
Maintainers usually reply within 1 day
-
enhancement triage
Difficulty 5/5 Over a week Newbie friendliness 48/100
fluttercommunity/plus_plugins#3973 ·
Maintainers usually reply within 1 day
All issues in fluttercommunity/plus_plugins
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
linagora/twake-on-matrix#3446 ·
Maintainers usually reply within 3 days
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 86/100
Predidit/Kazumi#2623 · 2 comments ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
bggRGjQaUbCoE/PiliPlus#3200 ·
Maintainers usually reply within 1 day
-
p: pigeon team-ecosystem
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
area:docs type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AbhijithKonnayil/dartlane#53 ·