Add a missing privacy message to the plist. Map new line to carriage return for the GS.

This commit is contained in:
Jeremy Rand 2021-07-20 19:59:33 -04:00
parent 083c938e0d
commit 52855a1e01
2 changed files with 4 additions and 2 deletions

View File

@ -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)

View File

@ -17,9 +17,11 @@
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>87</string>
<string>93</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSMicrophoneUsageDescription</key>
<string>This app uses the microphone in order to do speech recognition</string>
<key>NSSpeechRecognitionUsageDescription</key>
<string>The app uses speech recognition to dictate text to your Apple IIgs</string>
<key>UIApplicationSceneManifest</key>