💄 Optimize platform specfic code
This commit is contained in:
		| @@ -26,11 +26,7 @@ if (flutterVersionName == null) { | ||||
| android { | ||||
|     namespace = "dev.solsynth.solian" | ||||
|     compileSdk = flutter.compileSdkVersion | ||||
|     ndkVersion = flutter.ndkVersion | ||||
|  | ||||
|     defaultConfig { | ||||
|         multiDexEnabled true | ||||
|     } | ||||
|     ndkVersion = "26.1.10909125" | ||||
|  | ||||
|     compileOptions { | ||||
|         coreLibraryDesugaringEnabled true | ||||
| @@ -40,9 +36,8 @@ android { | ||||
|  | ||||
|     defaultConfig { | ||||
|         applicationId = "dev.solsynth.solian" | ||||
|         // You can update the following values to match your application needs. | ||||
|         // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. | ||||
|         minSdk = flutter.minSdkVersion | ||||
|         minSdkVersion 23 | ||||
|         multiDexEnabled true | ||||
|         targetSdk = flutter.targetSdkVersion | ||||
|         versionCode = flutterVersionCode.toInteger() | ||||
|         versionName = flutterVersionName | ||||
|   | ||||
| @@ -109,6 +109,8 @@ PODS: | ||||
|     - GoogleUtilities/Privacy | ||||
|   - image_picker_ios (0.0.1): | ||||
|     - Flutter | ||||
|   - irondash_engine_context (0.0.1): | ||||
|     - Flutter | ||||
|   - livekit_client (2.2.0): | ||||
|     - Flutter | ||||
|     - WebRTC-SDK (= 114.5735.10) | ||||
| @@ -141,6 +143,8 @@ PODS: | ||||
|   - sqflite (0.0.3): | ||||
|     - Flutter | ||||
|     - FlutterMacOS | ||||
|   - super_native_extensions (0.0.1): | ||||
|     - Flutter | ||||
|   - SwiftyGif (5.4.5) | ||||
|   - url_launcher_ios (0.0.1): | ||||
|     - Flutter | ||||
| @@ -162,6 +166,7 @@ DEPENDENCIES: | ||||
|   - flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`) | ||||
|   - flutter_webrtc (from `.symlinks/plugins/flutter_webrtc/ios`) | ||||
|   - image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`) | ||||
|   - irondash_engine_context (from `.symlinks/plugins/irondash_engine_context/ios`) | ||||
|   - livekit_client (from `.symlinks/plugins/livekit_client/ios`) | ||||
|   - package_info_plus (from `.symlinks/plugins/package_info_plus/ios`) | ||||
|   - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) | ||||
| @@ -170,6 +175,7 @@ DEPENDENCIES: | ||||
|   - sentry_flutter (from `.symlinks/plugins/sentry_flutter/ios`) | ||||
|   - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`) | ||||
|   - sqflite (from `.symlinks/plugins/sqflite/darwin`) | ||||
|   - super_native_extensions (from `.symlinks/plugins/super_native_extensions/ios`) | ||||
|   - url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`) | ||||
|   - video_player_avfoundation (from `.symlinks/plugins/video_player_avfoundation/darwin`) | ||||
|   - wakelock_plus (from `.symlinks/plugins/wakelock_plus/ios`) | ||||
| @@ -213,6 +219,8 @@ EXTERNAL SOURCES: | ||||
|     :path: ".symlinks/plugins/flutter_webrtc/ios" | ||||
|   image_picker_ios: | ||||
|     :path: ".symlinks/plugins/image_picker_ios/ios" | ||||
|   irondash_engine_context: | ||||
|     :path: ".symlinks/plugins/irondash_engine_context/ios" | ||||
|   livekit_client: | ||||
|     :path: ".symlinks/plugins/livekit_client/ios" | ||||
|   package_info_plus: | ||||
| @@ -229,6 +237,8 @@ EXTERNAL SOURCES: | ||||
|     :path: ".symlinks/plugins/shared_preferences_foundation/darwin" | ||||
|   sqflite: | ||||
|     :path: ".symlinks/plugins/sqflite/darwin" | ||||
|   super_native_extensions: | ||||
|     :path: ".symlinks/plugins/super_native_extensions/ios" | ||||
|   url_launcher_ios: | ||||
|     :path: ".symlinks/plugins/url_launcher_ios/ios" | ||||
|   video_player_avfoundation: | ||||
| @@ -256,6 +266,7 @@ SPEC CHECKSUMS: | ||||
|   GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a | ||||
|   GoogleUtilities: ea963c370a38a8069cc5f7ba4ca849a60b6d7d15 | ||||
|   image_picker_ios: c560581cceedb403a6ff17f2f816d7fea1421fc1 | ||||
|   irondash_engine_context: 3458bf979b90d616ffb8ae03a150bafe2e860cc9 | ||||
|   livekit_client: 2b3f5185f95d46d62d3570bf981f3d98ad3051e2 | ||||
|   nanopb: 438bc412db1928dac798aa6fd75726007be04262 | ||||
|   package_info_plus: 58f0028419748fad15bf008b270aaa8e54380b1c | ||||
| @@ -268,6 +279,7 @@ SPEC CHECKSUMS: | ||||
|   sentry_flutter: 5fb57c5b7e6427a9dc1fedde4269eb65823982d4 | ||||
|   shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78 | ||||
|   sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec | ||||
|   super_native_extensions: 4916b3c627a9c7fffdc48a23a9eca0b1ac228fa7 | ||||
|   SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4 | ||||
|   url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe | ||||
|   video_player_avfoundation: 7c6c11d8470e1675df7397027218274b6d2360b3 | ||||
|   | ||||
| @@ -1,5 +1,6 @@ | ||||
| <!DOCTYPE html> | ||||
| <html> | ||||
|  | ||||
| <head> | ||||
|   <!-- | ||||
|     If you are serving your web app in a path other than the root, change the | ||||
| @@ -27,12 +28,52 @@ | ||||
|   <link rel="apple-touch-icon" href="icons/Icon-192.png"> | ||||
|  | ||||
|   <!-- Favicon --> | ||||
|   <link rel="icon" type="image/png" href="favicon.png"/> | ||||
|   <link rel="icon" type="image/png" href="favicon.png" /> | ||||
|  | ||||
|   <!-- Loading styles --> | ||||
|   <style> | ||||
|     .loader-container { | ||||
|       display: flex; | ||||
|       justify-content: center; | ||||
|       align-items: center; | ||||
|       margin: 0; | ||||
|       position: absolute; | ||||
|       top: 50%; | ||||
|       left: 50%; | ||||
|       -ms-transform: translate(-50%, -50%); | ||||
|       transform: translate(-50%, -50%); | ||||
|     } | ||||
|  | ||||
|     .loader { | ||||
|       border: 10px solid #f3f3f3; | ||||
|       border-top: 10px solid #8f94ca; | ||||
|       border-radius: 50%; | ||||
|       width: 32px; | ||||
|       height: 32px; | ||||
|       animation: spin .35s linear infinite; | ||||
|     } | ||||
|  | ||||
|     @keyframes spin { | ||||
|       0% { | ||||
|         transform: rotate(0deg); | ||||
|       } | ||||
|  | ||||
|       100% { | ||||
|         transform: rotate(360deg); | ||||
|       } | ||||
|     } | ||||
|   </style> | ||||
|  | ||||
|   <title>Solian</title> | ||||
|   <link rel="manifest" href="manifest.json"> | ||||
| </head> | ||||
|  | ||||
| <body> | ||||
|   <div class="loader-container"> | ||||
|     <div class="loader"></div> | ||||
|   </div> | ||||
|  | ||||
|   <script src="flutter_bootstrap.js" async></script> | ||||
| </body> | ||||
|  | ||||
| </html> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user