Screen Time API plugin for Flutter
A Flutter plugin for using Screen Time API. Only iOS is supported.
What is iOS Screen Time API?
- Screen Time | Apple Developer Documentation
- Meet the Screen Time API - WWDC21 - Videos
- What's new in Screen Time API - WWDC22 - Videos
Features
- Show the screen selecting apps to discourage.
- Release all apps from discouraging.
Getting Started
1. Add the capability in Xcode
2. Request apple to use Family Control API
Usage
Select apps To discourage
final _screenTimeApiIosPlugin = ScreenTimeApiIos();
_screenTimeApiIosPlugin.selectAppsToDiscourage();
Release all apps from discouraging
final _screenTimeApiIosPlugin = ScreenTimeApiIos();
_screenTimeApiIosPlugin.encourageAll();
Contributing to this plugin
This plugin's features are not enough. Please contribute to this plugin! 🙏