I have the package working on Android and iOS if I leave the recording in the folder it is created. On iOS I have moved the file to Environment.SpecialFolder.Library so the file won't be moved elsewhere with new versions of the app. However, once I move the file it won't play and I get the error "Exception in Play_Recording Could not initialize an instance of the type 'AVFoundation.AVAudioPlayer': the native 'initWithContentsOfURL:error:' method returned nil.". The file exists and I can get its file size. What am I doing wrong that the file won't play?
I have the package working on Android and iOS if I leave the recording in the folder it is created. On iOS I have moved the file to Environment.SpecialFolder.Library so the file won't be moved elsewhere with new versions of the app. However, once I move the file it won't play and I get the error "Exception in Play_Recording Could not initialize an instance of the type 'AVFoundation.AVAudioPlayer': the native 'initWithContentsOfURL:error:' method returned nil.". The file exists and I can get its file size. What am I doing wrong that the file won't play?