Initial import: Music_Server, MusicFree, catalog-sync

This commit is contained in:
2026-05-23 16:51:14 +08:00
commit 069af30dba
847 changed files with 179878 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import { NativeModule, NativeModules } from "react-native";
interface INativeUtils extends NativeModule {
exitApp: () => void;
checkStoragePermission: () => Promise<boolean>;
requestStoragePermission: () => void;
isIgnoringBatteryOptimizations: () => Promise<boolean>;
requestIgnoreBatteryOptimizations: () => Promise<boolean>;
getWindowDimensions: () => { width: number, height: number }; // Fix bug: https://github.com/facebook/react-native/issues/47080
}
const NativeUtils = NativeModules.NativeUtils;
export default NativeUtils as INativeUtils;