gdelataillade / alarm

A Flutter plugin to easily manage alarms on iOS and Android
https://pub.dev/packages/alarm
MIT License
132 stars 86 forks source link

Set volume to value between 0 and 1 #98

Closed gdelataillade closed 1 year ago

gdelataillade commented 1 year ago
 If left unspecified or set to `null`, the current system volume at the time of the alarm will be used.
 Defaults to `null`.

This feature will be added in alarm 3.0.0 because it includes breaking changes.

jhonatan-3a commented 1 year ago

this one really cool, any updates on this one ?

gdelataillade commented 1 year ago

Hey @jhonatan-3a

This feature will be added soon. If you need it right now you can import the branch directly to your project like explained here: https://stackoverflow.com/a/54689403

jhonatan-3a commented 1 year ago

hey thank you for the feature, i can wait

ProfessorX737 commented 1 year ago

Thanks for this. can merge pls?

ProfessorX737 commented 1 year ago

I'm getting this error when I try building ios using this branch:

image

ProfessorX737 commented 1 year ago

FYI I've renamed this this to 'systemVolume' and added another volume type 'audioVolume' in my fork of your repo if you want to update yours with it somehow? https://github.com/gdelataillade/alarm/pull/107 Just bc I need it in my project

gdelataillade commented 1 year ago

Hi @ProfessorX737

I'm currently working hard on PR #105

I'll merge this PR as soon as I finish working on #105 because it involves breaking changes. Please be patient and in the meantime you can use the reference of this PR in your project. I'll keep you updated.

gdelataillade commented 1 year ago

@ProfessorX737 thanks for your help ! I finally found the time to merge this PR. I'm publishing a version 3.0.0-dev.1 of the package to deeply test this feature and others.