carp-dk / carp-dk/flutter-plugins

[Pedometer 3.0.0]

Open
#631 1 comment 2 reactions 0 assignees View on GitHub
improvement
Dominant language
Dart
Stars
608
Forks
735
Avg merge
1m
Merged PRs (30d)
3

Description

### Description
Just add in the documentation the need to request permission for Activity recognition with the help of permission handler package
This is the code I put in the main.dart else it will always return registerListener fail (1) etc...
```
await Permission.activityRecognition.request();
if (await Permission.activityRecognition.isDenied) {
await Permission.activityRecognition.request();
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Pedometer 3.0.0 usage documentation and its setup section; the issue does not name a documentation file. Add the requirement to request Activity recognition permission with the permission handler package, using the main.dart example in the issue, and confirm the documented setup addresses registerListener failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.