diff --git a/ListenerApp/ContentView.swift b/ListenerApp/ContentView.swift index f5fd945..ab4cbbe 100644 --- a/ListenerApp/ContentView.swift +++ b/ListenerApp/ContentView.swift @@ -164,7 +164,7 @@ struct ContentView: View { if (commonChars < self.textHeard.count) { stringToSend = String(repeating: "\u{7f}", count: self.textHeard.count - commonChars) } - stringToSend.append(contentsOf: latestText.suffix(latestText.count - commonChars)) + stringToSend.append(contentsOf: latestText.suffix(latestText.count - commonChars).replacingOccurrences(of: "\n", with: "\r")) if (stringToSend.count > 0) { // TODO - Handle strings to send that are longer than 64K (doubt that would happen though) diff --git a/ListenerApp/Info.plist b/ListenerApp/Info.plist index f27fb3d..76bd8c4 100644 --- a/ListenerApp/Info.plist +++ b/ListenerApp/Info.plist @@ -17,9 +17,11 @@ CFBundleShortVersionString 1.0 CFBundleVersion - 87 + 93 LSRequiresIPhoneOS + NSMicrophoneUsageDescription + This app uses the microphone in order to do speech recognition NSSpeechRecognitionUsageDescription The app uses speech recognition to dictate text to your Apple IIgs UIApplicationSceneManifest