diff --git a/app/backgroundtask.ts b/app/backgroundtask.ts index 9f47641..fb1dab2 100644 --- a/app/backgroundtask.ts +++ b/app/backgroundtask.ts @@ -5,7 +5,6 @@ import { CheyenneSocket } from "./cheyenne"; import { NativeModules, NativeEventEmitter } from "react-native"; import { PermissionsAndroid } from "react-native"; import { STORAGE_KEY_RUN_BACKGROUND_TASK } from "./constants"; -import SoundPlayer from "react-native-sound-player"; import { ZeroconfManager } from "./zeroconf"; const { BackgroundTaskModule } = NativeModules; diff --git a/app/constants.ts b/app/constants.ts index 92daf4e..07278dd 100644 --- a/app/constants.ts +++ b/app/constants.ts @@ -1,4 +1,4 @@ export const HASSMIC_PORT = 11700; export const STORAGE_KEY_UUID = "zeroconfuuid"; export const STORAGE_KEY_RUN_BACKGROUND_TASK = "bgtaskshouldrun"; -export const APP_VERSION = "1.0.8.1"; +export const APP_VERSION = "1.0.8.2"; diff --git a/app/main.tsx b/app/main.tsx index 7dbb233..101b62a 100644 --- a/app/main.tsx +++ b/app/main.tsx @@ -17,12 +17,20 @@ import { UUIDManager } from "./util"; import { ZeroconfManager } from "./zeroconf"; import { useState, useEffect } from "react"; -import { pkgJson } from "../package.json"; - // note - patched version from -// https://github.com/Romick2005/react-native-live-audio-stream +// https://github.com/jeffc/react-native-live-audio-stream import LiveAudioStream from "react-native-live-audio-stream"; +const Separator = () => ( + +); + export default function Index() { const [hasAudioPermission, setHasAudioPermission] = useState(false); const [hasNotificationPermission, setHasNotificationPermission] = @@ -133,6 +141,11 @@ export default function Index() { }} > <> + {hasAudioPermission ? null : ( + +