Closed tattuu closed 9 months ago
Hi @tattuu
I just released version 3.0.7
with a fix about your issue. Please let me know if it fixes it.
Hi @gdelataillade
Thanks for responding so quickly!
I just tried to test it, but the https://github.com/gdelataillade/alarm/issues/146 error prevented me from doing so.
I will test as soon as the https://github.com/gdelataillade/alarm/issues/146 is fixed.
Hi @tattuu
I fixed #146. Sorry for the inconvenience btw. You can upgrade package version to 3.0.8
.
Hi @gdelataillade
Don't worry about it.
I updated and checked and the audio played correctly!
Thanks!
Alarm plugin version 3.0.6
Describe the bug When I set a downloaded file in a directory deeper than the Documents directory and try to play it, I get an error.
To Reproduce Steps to reproduce the behavior:
/xxx/yyy/zzz/Documents/temp/sample.mp3
Expected behavior Files downloaded to directories deeper than the Documents directory are played back correctly.
Device info iPhone SE, iOS 15.8
Additional context This is due to the fact that the file was downloaded to a directory deeper than the Documents directory. If I put the file directly under the Documents directory, it plays fine.
And I believe that it is better to support deeper hierarchical directories, not just directly under the Documents directory.
I could be wrong, but I think
lines 118-128
inalarm/ios/Classes/SwiftAlarmPlugin.swift
are relevant.