daily_pedometer

Creator: coderz1093

Last updated:

0 purchases

daily_pedometer Image
daily_pedometer Images

Languages

Categories

Add to Cart

Description:

daily pedometer

daily_pedometer #
I measure my step count daily. Supports Android only
Permissions #
<uses-permission android:name="android.permission.ACTIVITY_RECOGNITION" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
copied to clipboard
Example Usage #
See the [example app](https://github.com/ganer9r/daily_pedometer/blob/main/example/lib/main.dart) for a fully-fledged example.

Below is shown a more generalized example. Remember to set the required permissions, as described above. This may require you to manually allow the permission in the "Settings" on the phone.


DailyPedometer pedometer = DailyPedometer.create();
.stepCountStream.listen((event) async {
setState(() {
_platformVersion = " ${event} daily steps";
});
});

copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.