diff --git a/README.md b/README.md index e610338..7486a25 100644 --- a/README.md +++ b/README.md @@ -28,12 +28,12 @@ This repository has the following directory structure: * src/ - Shared Javasript code for iOS and Android common client. This is where most changes should be made for features, bug fixes, UI, etc. * editions/ - Assembly directories for each "flavor" of ScratchJr. These symlink to src for common code, and could diverge in settings and assets. - * free/ - Free edition JavaScript, including all shared code for all releases + * free/ - Free edition JavaScript, including all shared code for all releases * android/ - Android port of Scratch Jr. (Java, Android Studio Projects) * ScratchJr/ - Android Studio Project for ScratchJr Android Application * bin/ - Build scripts and other executables * doc/ - Developer Documentation -* ios/ - XCode project for iOS build. +* ios/ - XCode project for iOS build. (Make sure to open ScratchJr.xcworkspace not ScratchJr.xcodeproj) ## Building ScratchJr To build the Android version, you need to have a system equipped with Android Studio. To build the iOS version, you need to have a Mac with XCode. diff --git a/editions/free/src/localizations/en.json b/editions/free/src/localizations/en.json index 6c3222c..84f62b9 100644 --- a/editions/free/src/localizations/en.json +++ b/editions/free/src/localizations/en.json @@ -361,7 +361,7 @@ "SHARING_BY_EMAIL": "Share by Email", "SHARING_BY_AIRDROP": "Share by Airdrop", "SHARING_EMAIL_SUBJECT": "ScratchJr Project: {PROJECT_NAME}", - "SHARING_EMAIL_TEXT": "Click the icon to try my ScratchJr project on your iPad or Android tablet!

If you don't have the ScratchJr app, you can download it from the Apple App store or the Google Play Store.

With ScratchJr, children can create their own interactive stories and games.To learn more, see scratchjr.org.", + "SHARING_EMAIL_TEXT": "Click the icon to try my ScratchJr project on your iPad or Android tablet!

If you don't have the ScratchJr app, you can download it from the Apple App store or the Google Play Store.

With ScratchJr, children can create their own interactive stories and games. To learn more, see scratchjr.org.", "PARENTAL_GATE_EXPLANATION": "Why are we asking this? An adult must approve online sharing.", "GRID_NUMBER": "{N, number}", "NEW_PROJECT_PREFIX": "Project", diff --git a/ios/ScratchJr/src/RecordSound.m b/ios/ScratchJr/src/RecordSound.m index 450b448..4a1d4b8 100644 --- a/ios/ScratchJr/src/RecordSound.m +++ b/ios/ScratchJr/src/RecordSound.m @@ -61,9 +61,9 @@ NSString *canRecord; NSError *err; NSDictionary *settings = [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithInt: kAudioFormatLinearPCM], AVFormatIDKey, - [NSNumber numberWithFloat: 22050.0], AVSampleRateKey, + [NSNumber numberWithFloat: 16000.0], AVSampleRateKey, [NSNumber numberWithInt: 1], AVNumberOfChannelsKey, - [NSNumber numberWithInt: 16], AVLinearPCMBitDepthKey, + [NSNumber numberWithInt: 8], AVLinearPCMBitDepthKey, nil]; recorder = [[ AVAudioRecorder alloc] initWithURL:url settings:settings error:&err]; if (err) { diff --git a/src/editor/ui/Record.js b/src/editor/ui/Record.js index af6ec75..c02cd5b 100644 --- a/src/editor/ui/Record.js +++ b/src/editor/ui/Record.js @@ -173,7 +173,7 @@ export default class Record { if (isRecording) { Record.stopRecording(); } - }, 60000); + }, 30000); } }