Tau: Audio file not exist on IOS

Created on 17 Nov 2018  路  4Comments  路  Source: Canardoux/tau

File created by the library is not available in ios:

String path = await flutterSound.startRecorder(null); _file = io.File(path);
path in mobil file:///private/var/mobile/Containers/Data/Application/2272A03E-2497-416C-98EC-69109A431A8B/tmp/sound.m4a

If you need to specify permissions in ios or what path to add?

help wanted

Most helpful comment

Did you try the example project?

the problem was solved by cutting from the return path "file://"

String path = await flutterSound.startRecorder(null); path = path.replaceAll(RegExp("file://"), ""); _file = io.File(path);

All 4 comments

Did you try the example project?

Did you try the example project?

the problem was solved by cutting from the return path "file://"

String path = await flutterSound.startRecorder(null); path = path.replaceAll(RegExp("file://"), ""); _file = io.File(path);

Thanks for sharing your experience. I might have to check this one out.

This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

edward-yakop picture edward-yakop  路  4Comments

jordygarcias picture jordygarcias  路  5Comments

felixjunghans picture felixjunghans  路  4Comments

palfrey picture palfrey  路  3Comments

alby97 picture alby97  路  5Comments