From 5a9ff12ab718fd0f0109440a1fda94b3d96ac7e0 Mon Sep 17 00:00:00 2001 From: Norman Cheng Date: Wed, 18 Nov 2015 15:25:30 -0800 Subject: [PATCH] changed iOS recordings folder to app's Documents folder instead of Library/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 --- src/ios/AudioRecorderAPI.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios/AudioRecorderAPI.m b/src/ios/AudioRecorderAPI.m index f75f9f3..4d8d0a1 100644 --- a/src/ios/AudioRecorderAPI.m +++ b/src/ios/AudioRecorderAPI.m @@ -3,7 +3,7 @@ @implementation AudioRecorderAPI -#define RECORDINGS_FOLDER [NSHomeDirectory() stringByAppendingPathComponent:@"Library/NoCloud"] +#define RECORDINGS_FOLDER [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"] - (void)record:(CDVInvokedUrlCommand*)command { _command = command;