nstudio / nativescript-audio

:microphone: NativeScript plugin to record and play audio :musical_note:
Other
150 stars 104 forks source link

create recording file fails in production ios #130

Open odparraj opened 6 years ago

odparraj commented 6 years ago

I am having problems because my application works perfectly in local but when I upload to the appstore in execution the application fails because it can not create the file in which the audio is saved, is there any type of permission restriction to create files in production?

coderReview commented 6 years ago

Same here.

coderReview commented 6 years ago

Fixed using this knownFolders.documents()

triniwiz commented 6 years ago

If you are trying to save the file using currentApp that will fail on a real device the app path is readonly