v0.12.1awesome_notifications
一个完整的解决方案,用于创建本地和推送通知,自定义按钮、图片、声音、表情符号,并为Flutter应用应用多种不同的布局。
Android 的必备冥想计时器
v0.12.1一个完整的解决方案,用于创建本地和推送通知,自定义按钮、图片、声音、表情符号,并为Flutter应用应用多种不同的布局。
一个使用 Dart Streams 的简单事件总线,用于解耦应用程序
v0.3.4一个简单的插件,用于为您的 Flutter 应用实现设置 UI 屏幕。自定义您想要的内容,从 UI 元素、行为到底层存储库。
在 Android 上使用前台服务在后台运行应用。适用于需要持续运行的应用程序,例如后台数据同步或消息传递。
一个适用于多个平台的 Flutter 音量插件,用于控制系统音量。
{"sdk":"flutter"}^6.0.0^0.10.0^1.1.0^1.0.1^8.0.0^2.1.0^2.0.12^2.0.3^1.2.8^8.0.3^2.0.0^5.1.1{"git":{"url":"https://github.com/GAM3RG33K/flutter_settings_screens.git","ref":"18f9377"}}{"sdk":"flutter"}^0.14.1^5.0.0以下为英文项目原文快照,最新内容请访问 GitHub。
https://raw.githubusercontent.com/nyxkn/meditation/HEAD/media/logo-wide.pnghttps://raw.githubusercontent.com/nyxkn/meditation/HEAD/
This is a meditation timer. Minimalistic, reliable, and truly elegant.
Or download the APK directly from GitHub:
Shield: GitHub version Shield: F-droid version
https://raw.githubusercontent.com/nyxkn/meditation/HEAD/media/screenshots/main.png https://raw.githubusercontent.com/nyxkn/meditation/HEAD/media/screenshots/time-selection.png https://raw.githubusercontent.com/nyxkn/meditation/HEAD/media/screenshots/settings.png https://raw.githubusercontent.com/nyxkn/meditation/HEAD/media/screenshots/settings-2.png
Meditation is a truly minimalistic countdown timer for meditation, with a clean user interface and no clutter. The minimalism of the app embodies meditation's actual purpose.
A notable feature of the app is the ability to customize the volume of the notification bells independently of system volume. This allows you to set a predefined volume so that the sounds will reliably play at the same loudness every time. No more mid-meditation worrying that you remembered to turn the volume up!
Another important feature is for the timer to be as reliable as possible, to ensure an accurate meditation time and prompt ending sound notification. This is achieved by starting a foreground service and disabling battery optimization.
Reliability is of extreme importance to a meditation tool in order to eliminate all possible worries about the timer not behaving correctly. Just press the button and start!
If you find this project helpful and you feel like it, throw me some coins!
And drop a star on this repo :)
Bitcoin: bc1qfu5gk78898zdcxw372unmwua0yd5luf3z60sgq
An important feature to implement was to have the volume of the notification bells be consistent and reliable. In other apps, the volume is tied to the system volume, implemented either as using the system volume setting directly, or as a modifier thereof. Both approaches are flawed and will lead to inconsistent volumes if the system volume changes or if you had forgotten to set it to the desired level before starting the timer. With my approach the app makes use of a configurable absolute value, so that the sounds play consistently at the same volume no matter what.
Another issue to solve was the reliability of the timer timeout event, making sure it happens at exactly the right time. For whatever reason, this is a ridiculously complex problem on mobile devices. There are continuous "improvements" to attempt to extend battery life, that make it really hard to ensure that a time-critical task happens at the right time. This app will make use of all possible tricks to ensure it is reliable. What I settled on was a combination of a foreground service and disabling battery optimization. This allows notifications to be sent reliably at the correct time. If that still doesn't work, you also have the option of keeping the screen on through wakelock.
Here's a listing of the original audio files that each asset was derived from. They were all modified to improve cohesion.
All source code is licensed under the GPL-3.0-only License.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3.
All assets (images and audio files) are licensed under the CC-BY-SA 4.0 License.
This includes everything in the assets and media folders and in android/app/src/main/res.
This project is developed using the Flutter framework, which is licensed under the BSD 3-Clause License.
Additional licensing information on all of the Flutter modules that are being used can be found in the in-app About screen.