geisterfurz007 / random-alarm Goto Github PK
View Code? Open in Web Editor NEWA Flutter alarm app that allows you to select multiple sounds with one chosen at random when the alarm goes off.
A Flutter alarm app that allows you to select multiple sounds with one chosen at random when the alarm goes off.
Hi, I released an alarm app at the play store using your open-source, thank you so much.
While building the app, I found out that two permissions are required for a stable alarm system.
Those permissions are should be required in the upper Android 10 version. If the first permission is not allowed, the app cannot be displayed on the screen when the app is not running or is running in the background. If the second permission is not allowed, the alarm sometimes does not work.
Therefore, this repo should have a description or code added to the above permission.
Similar to #9 it should be possible to select a folder of music to be used for the music.
Something like getting a sound, resolving the path up to Music and looking for folders in there might work fine. Could even work with subfolders!
when i am trying to run i am getting error in stores folder
Target of URI hasn't been generated: 'observable_alarm/observable_alarm.g.dart'.
Target of URI hasn't been generated: 'searchable_selection.g.dart'.
I want to make alarm app that is my first app, so I would like to refer to your application.
But build failed..
I've changed the AlarmBroadcastReceiver.java
.
The error code is here.
C:\flutter\.pub-cache\hosted\pub.dartlang.org\android_alarm_manager-0.4.5+15\android\src\main\java\io\flutter\plugins\androidalarmmanager\AlarmBroadcastReceiver.java:20: warning: [deprecation] SCREEN_DIM_WAKE_LOCK in PowerManager has been deprecated
wakeLock = powerManager.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK |
^
error: warnings found and -Werror specified
1 error
1 warning
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':android_alarm_manager:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 5s
Exception: Gradle task assembleDebug failed with exit code 1
How to debug this error?
In what feels like random cases, the alarm either:
Occasionally the app combines listed features for a more alarming experience.
When selecting a single song or sound from the dialog, the app crashes. Works with no selection and multiple selections. Just not with one.
Alarms are scheduled for one week and would have to be manually rescheduled after that.
Neither should it be that way, nor does the UI reflect this.
Things that need to be done in this regard:
'alarm_status.g.dart' and 'observable_alarm.g.dart' are not in the list. Can you include them inside? Much appreciated!!
In case the alarm is disabled and the user goes back from the edit view, the alarm should be scheduled once for the nearest time (as in next time the time matches; be it today or tomorrow).
Android Alarm Manager is deprecated in favour of Android Alarm Manager Plus.
This app should further be moved to Flutter 2 and Null Safety.
Currently there is no functionality that unschedules alarms when a specific day of the week is deselected or the entire alarm is turned off. Once scheduled that thing will ring (with a roughly 50:50 chance in its current state...).
In case of shorter sounds, it's reasonable to assume it's a "normal" ringtone which should be looped.
In case of longer sounds, it's probably reasonable to assume it's a piece of music. In that case when it is fully played, pick another random song from the list and start playing that.
It's cumbersome to select all pieces of music you'd like to hear just because they are all in one dialog.
Add support to simply select entire playlists to make things easier.
The alarm goes off when the phone is rebooted.
This might be an issue because of the modification made to android_alarm_manager, might be a bug in that library or might be a problem in my code.
There is no feature to delete alarms which is kinda useful.
Data like volume and sounds are not saved when an alarm is scheduled. To make sure the data used when the alarm goes off is actually up to date, the app currently must go through a life cycle change to either paused or inactive saving all alarms at once.
Target of URI hasn't been generated: 'alarm_list.g.dart'.
Try running the generator that will generate the file referenced by the URI.
This is the error showing on alarm_list.dart and few more pages like alarm_status.dart, searchable_selection.dart.
I don't understand why in my PC "part 'searchable_selection.g.dart';" like this packages are not working..
Please solve this issue
Third alarm seems to turn out as duplicate of fourth one and you can control both by editing one.
When dismissing either, the other one causes an error because keywise they are the same and flutter complains that the other alarm that it considers equal should have been dismissed as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.