Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ringtone from file #5

Closed
mahmood-heja opened this issue Mar 22, 2021 · 1 comment · Fixed by #8
Closed

Add ringtone from file #5

mahmood-heja opened this issue Mar 22, 2021 · 1 comment · Fixed by #8

Comments

@mahmood-heja
Copy link

Hi

thx to make this plugin

I suggest an add fun to set ringtone from file like this

static Future<String> setRingtoneFromFile(File file) async {
   
   final String result = await _channel
       .invokeMethod('setRingtone', {"path":  file.path});

   return result;
 }
@timekone
Copy link
Contributor

timekone commented Aug 30, 2021

I've added setRingtoneFromFile method in my fork: https://github.com/timekone/ringtone_set

I hope this helps.

@rtacr rtacr closed this as completed in #8 Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants