compile works with JDK 17 and we have access to microphone

This commit is contained in:
Dobromir Popov
2024-02-14 19:21:20 +02:00
parent 7fd17ada80
commit ff32837bf2
6 changed files with 19 additions and 5 deletions

View File

View File

@ -1,6 +1,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<application
android:name=".MainApplication"

View File

@ -4,6 +4,8 @@
import {AppRegistry} from 'react-native';
import App from './App';
import VoiceHandler from './VoiceHandler';
import {name as appName} from './app.json';
AppRegistry.registerComponent(appName, () => App);
// AppRegistry.registerComponent(appName, () => App);
AppRegistry.registerComponent(appName, () => VoiceHandler);

View File

@ -48,5 +48,7 @@
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>NSMicrophoneUsageDescription</key>
<string>We use the mike to send voice commands to the AI agent.</string>
</dict>
</plist>