cordova-plugin-audio-recorder-api icon indicating copy to clipboard operation
cordova-plugin-audio-recorder-api copied to clipboard

changed iOS recordings folder to app's Documents folder due to prepareToRecord failing and to follow Apple guidelines

Open ncfx opened this issue 10 years ago • 3 comments
trafficstars

…brary/NoCloud. This is for 2 reasons:

    1) as recommended by Apple, the Documents folder is used to store user generated content.
    2) [recorder prepareToRecord] fails because the Library/NoCloud directory does not exist by default

ncfx avatar Nov 18 '15 23:11 ncfx

http://ngcordova.com/docs/plugins/file/

I wish use path cordova.file.dataDirectory with $cordovaFile.

Any suggestion?

emj365 avatar Nov 30 '15 11:11 emj365

Why isn't this pull request merged? The plugin isn't working otherwise and apparently it's also recommended by Apple...

thomasjonas avatar Apr 26 '16 13:04 thomasjonas

  1. This plugin creates user generated content, seems like it should belong there...
  2. This is true but if you include cordova-plugin-files, the file plugin will by default ensure the dataDirectory as well as several others exist. So maybe being more explicit on this is a good idea, but behavior on the whole seems appropriate.

ghost avatar May 05 '16 02:05 ghost