diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index aaabc9e..c418330 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -4,7 +4,7 @@ plugins { id("dev.flutter.flutter-gradle-plugin") } -val appPackageName = "com.dronex.rec" +val appPackageName = "com.run.sportsx" android { namespace = appPackageName diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 16ccf34..620d7f6 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ + package="com.run.sportsx"> @@ -20,7 +20,7 @@ android:required="true" /> - - CADisableMinimumFrameDurationOnPhone - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - 飞行极控录像工作台 - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - 飞行极控录像工作台 - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleSignature - ???? - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - LSRequiresIPhoneOS - - NSCameraUsageDescription - 需要访问相机以显示预览并录制视频。 - NSMicrophoneUsageDescription - 需要访问麦克风以录制视频声音;未授权时将静音录制。 - UIFileSharingEnabled - - LSSupportsOpeningDocumentsInPlace - - UIApplicationSceneManifest - UIApplicationSupportsMultipleScenes - - UISceneConfigurations + CADisableMinimumFrameDurationOnPhone + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + 酷跑录像工作台 + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + 酷跑录像工作台 + CFBundlePackageType + APPL + CFBundleShortVersionString + $(FLUTTER_BUILD_NAME) + CFBundleSignature + ???? + CFBundleVersion + $(FLUTTER_BUILD_NUMBER) + LSRequiresIPhoneOS + + NSCameraUsageDescription + 需要访问相机以显示预览并录制视频。 + NSMicrophoneUsageDescription + 需要访问麦克风以录制视频声音;未授权时将静音录制。 + UIFileSharingEnabled + + LSSupportsOpeningDocumentsInPlace + + UIApplicationSceneManifest - UIWindowSceneSessionRoleApplication - - - UISceneClassName - UIWindowScene - UISceneConfigurationName - flutter - UISceneDelegateClassName - FlutterSceneDelegate - UISceneStoryboardFile - Main - - + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneClassName + UIWindowScene + UISceneConfigurationName + flutter + UISceneDelegateClassName + FlutterSceneDelegate + UISceneStoryboardFile + Main + + + + UIApplicationSupportsIndirectInputEvents + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + - UIApplicationSupportsIndirectInputEvents - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - + \ No newline at end of file diff --git a/lib/app/config/app_config.dart b/lib/app/config/app_config.dart index 202c45c..248730a 100644 --- a/lib/app/config/app_config.dart +++ b/lib/app/config/app_config.dart @@ -21,7 +21,7 @@ class AppConfig { static late EnvironmentValues current; static AppPackageInfo? packageInfo; - static const appName = '飞行极控录像工作台'; + static const appName = '酷跑录像工作台'; static const designSize = Size(375, 812); static void configure({ diff --git a/lib/core/platform/app_platform_info.dart b/lib/core/platform/app_platform_info.dart index f1aa85c..3c7f53d 100644 --- a/lib/core/platform/app_platform_info.dart +++ b/lib/core/platform/app_platform_info.dart @@ -60,7 +60,7 @@ class AppPlatformInfo { AppPlatformInfo._(); static const MethodChannel _channel = MethodChannel( - 'com.dronex.rec/platform_info', + 'com.run.sportsx/platform_info', ); static Future packageInfo() async { diff --git a/lib/features/recording/platform/recording_channel_names.dart b/lib/features/recording/platform/recording_channel_names.dart index e0293da..b97f0b7 100644 --- a/lib/features/recording/platform/recording_channel_names.dart +++ b/lib/features/recording/platform/recording_channel_names.dart @@ -1,5 +1,5 @@ abstract final class RecordingChannelNames { - static const packageName = 'com.dronex.rec'; + static const packageName = 'com.run.sportsx'; static const method = '$packageName/recording'; static const events = '$packageName/recording_events'; }