├── .gitignore
├── .metadata
├── LICENSE
├── README.md
├── analysis_options.yaml
├── android
├── .gitignore
├── app
│ ├── build.gradle.kts
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── flutter_ota_sample_app
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable-v21
│ │ │ └── launch_background.xml
│ │ │ ├── drawable
│ │ │ └── launch_background.xml
│ │ │ ├── mipmap-hdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── values-night
│ │ │ └── styles.xml
│ │ │ └── values
│ │ │ └── styles.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle.kts
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle.kts
├── images
└── over-the-air-demo.gif
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── WorkspaceSettings.xcsettings
├── Runner
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ │ ├── AppIcon.appiconset
│ │ │ ├── Contents.json
│ │ │ ├── Icon-App-1024x1024@1x.png
│ │ │ ├── Icon-App-20x20@1x.png
│ │ │ ├── Icon-App-20x20@2x.png
│ │ │ ├── Icon-App-20x20@3x.png
│ │ │ ├── Icon-App-29x29@1x.png
│ │ │ ├── Icon-App-29x29@2x.png
│ │ │ ├── Icon-App-29x29@3x.png
│ │ │ ├── Icon-App-40x40@1x.png
│ │ │ ├── Icon-App-40x40@2x.png
│ │ │ ├── Icon-App-40x40@3x.png
│ │ │ ├── Icon-App-60x60@2x.png
│ │ │ ├── Icon-App-60x60@3x.png
│ │ │ ├── Icon-App-76x76@1x.png
│ │ │ ├── Icon-App-76x76@2x.png
│ │ │ └── Icon-App-83.5x83.5@2x.png
│ │ └── LaunchImage.imageset
│ │ │ ├── Contents.json
│ │ │ ├── LaunchImage.png
│ │ │ ├── LaunchImage@2x.png
│ │ │ ├── LaunchImage@3x.png
│ │ │ └── README.md
│ ├── Base.lproj
│ │ ├── LaunchScreen.storyboard
│ │ └── Main.storyboard
│ ├── Info.plist
│ └── Runner-Bridging-Header.h
└── RunnerTests
│ └── RunnerTests.swift
├── l10n.yaml
├── lib
├── l10n
│ ├── generated
│ │ ├── app_localizations.dart
│ │ ├── app_localizations_de.dart
│ │ ├── app_localizations_en.dart
│ │ └── localizely_localizations.dart
│ ├── intl_de.arb
│ ├── intl_en.arb
│ └── intl_en_US.arb
└── main.dart
├── pubspec.lock
├── pubspec.yaml
├── test
└── widget_test.dart
└── web
├── favicon.png
├── icons
├── Icon-192.png
├── Icon-512.png
├── Icon-maskable-192.png
└── Icon-maskable-512.png
├── index.html
└── manifest.json
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 | migrate_working_dir/
12 |
13 | # IntelliJ related
14 | *.iml
15 | *.ipr
16 | *.iws
17 | .idea/
18 |
19 | # The .vscode folder contains launch configuration and tasks you configure in
20 | # VS Code which you may wish to be included in version control, so this line
21 | # is commented out by default.
22 | #.vscode/
23 |
24 | # Flutter/Dart/Pub related
25 | **/doc/api/
26 | **/ios/Flutter/.last_build_id
27 | .dart_tool/
28 | .flutter-plugins
29 | .flutter-plugins-dependencies
30 | .packages
31 | .pub-cache/
32 | .pub/
33 | /build/
34 |
35 | # Symbolication related
36 | app.*.symbols
37 |
38 | # Obfuscation related
39 | app.*.map.json
40 |
41 | # Android Studio will place build artifacts here
42 | /android/app/debug
43 | /android/app/profile
44 | /android/app/release
45 |
--------------------------------------------------------------------------------
/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled and should not be manually edited.
5 |
6 | version:
7 | revision: d408d302e22179d598f467e11da5dd968dbdc9ec
8 | channel: stable
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2020 Localizely
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Flutter “Over the Air” sample app
2 |
3 | Flutter sample app with “Over the Air” translation updates
4 |
5 | 
6 |
7 | ## Setup
8 |
9 | - Clone the repo
10 | - Run `flutter pub get` & `flutter pub run localizely_sdk:generate` commands
11 | - Create a new project on the [Localizely](https://localizely.com) platform and upload ARB files from the `lib\l10n` folder
12 | - Create new distribution and SDK token for the created project
13 | - Set distribution ID and SDK token from the Localizely platform in the `lib\main.dart` file
14 | - Run the app on a device
15 | - Update translations and add a new release to the created distribution to see translation updates
16 |
17 | ## Useful links
18 |
19 | - [Flutter Over-the-Air documentation](https://localizely.com/flutter-over-the-air/)
20 | - [Flutter Over-the-Air example with Flutter Intl](https://github.com/localizely/flutter-ota-sample-app/tree/flutter-intl-example)
21 |
--------------------------------------------------------------------------------
/analysis_options.yaml:
--------------------------------------------------------------------------------
1 | # This file configures the analyzer, which statically analyzes Dart code to
2 | # check for errors, warnings, and lints.
3 | #
4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6 | # invoked from the command line by running `flutter analyze`.
7 |
8 | # The following line activates a set of recommended lints for Flutter apps,
9 | # packages, and plugins designed to encourage good coding practices.
10 | include: package:flutter_lints/flutter.yaml
11 |
12 | linter:
13 | # The lint rules applied to this project can be customized in the
14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml`
15 | # included above or to enable additional rules. A list of all available lints
16 | # and their documentation is published at https://dart.dev/lints.
17 | #
18 | # Instead of disabling a lint rule for the entire project in the
19 | # section below, it can also be suppressed for a single line of code
20 | # or a specific dart file by using the `// ignore: name_of_lint` and
21 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file
22 | # producing the lint.
23 | rules:
24 | # avoid_print: false # Uncomment to disable the `avoid_print` rule
25 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
26 |
27 | # Additional information about this file can be found at
28 | # https://dart.dev/guides/language/analysis-options
29 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 | .cxx/
9 |
10 | # Remember to never publicly share your keystore.
11 | # See https://flutter.dev/to/reference-keystore
12 | key.properties
13 | **/*.keystore
14 | **/*.jks
15 |
--------------------------------------------------------------------------------
/android/app/build.gradle.kts:
--------------------------------------------------------------------------------
1 | plugins {
2 | id("com.android.application")
3 | id("kotlin-android")
4 | // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
5 | id("dev.flutter.flutter-gradle-plugin")
6 | }
7 |
8 | android {
9 | namespace = "com.example.flutter_ota_sample_app"
10 | compileSdk = flutter.compileSdkVersion
11 | ndkVersion = "27.0.12077973" // flutter.ndkVersion
12 |
13 | compileOptions {
14 | sourceCompatibility = JavaVersion.VERSION_11
15 | targetCompatibility = JavaVersion.VERSION_11
16 | }
17 |
18 | kotlinOptions {
19 | jvmTarget = JavaVersion.VERSION_11.toString()
20 | }
21 |
22 | defaultConfig {
23 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
24 | applicationId = "com.example.flutter_ota_sample_app"
25 | // You can update the following values to match your application needs.
26 | // For more information, see: https://flutter.dev/to/review-gradle-config.
27 | minSdk = flutter.minSdkVersion
28 | targetSdk = flutter.targetSdkVersion
29 | versionCode = flutter.versionCode
30 | versionName = flutter.versionName
31 | }
32 |
33 | buildTypes {
34 | release {
35 | // TODO: Add your own signing config for the release build.
36 | // Signing with the debug keys for now, so `flutter run --release` works.
37 | signingConfig = signingConfigs.getByName("debug")
38 | }
39 | }
40 | }
41 |
42 | flutter {
43 | source = "../.."
44 | }
45 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
15 |
19 |
23 |
24 |
25 |
26 |
27 |
28 |
30 |
33 |
34 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/example/flutter_ota_sample_app/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.flutter_ota_sample_app
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity : FlutterActivity()
6 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/build.gradle.kts:
--------------------------------------------------------------------------------
1 | allprojects {
2 | repositories {
3 | google()
4 | mavenCentral()
5 | }
6 | }
7 |
8 | val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get()
9 | rootProject.layout.buildDirectory.value(newBuildDir)
10 |
11 | subprojects {
12 | val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
13 | project.layout.buildDirectory.value(newSubprojectBuildDir)
14 | }
15 | subprojects {
16 | project.evaluationDependsOn(":app")
17 | }
18 |
19 | tasks.register("clean") {
20 | delete(rootProject.layout.buildDirectory)
21 | }
22 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip
6 |
--------------------------------------------------------------------------------
/android/settings.gradle.kts:
--------------------------------------------------------------------------------
1 | pluginManagement {
2 | val flutterSdkPath = run {
3 | val properties = java.util.Properties()
4 | file("local.properties").inputStream().use { properties.load(it) }
5 | val flutterSdkPath = properties.getProperty("flutter.sdk")
6 | require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
7 | flutterSdkPath
8 | }
9 |
10 | includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
11 |
12 | repositories {
13 | google()
14 | mavenCentral()
15 | gradlePluginPortal()
16 | }
17 | }
18 |
19 | plugins {
20 | id("dev.flutter.flutter-plugin-loader") version "1.0.0"
21 | id("com.android.application") version "8.7.1" apply false
22 | id("org.jetbrains.kotlin.android") version "2.0.20" apply false
23 | }
24 |
25 | include(":app")
26 |
--------------------------------------------------------------------------------
/images/over-the-air-demo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/images/over-the-air-demo.gif
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | **/dgph
2 | *.mode1v3
3 | *.mode2v3
4 | *.moved-aside
5 | *.pbxuser
6 | *.perspectivev3
7 | **/*sync/
8 | .sconsign.dblite
9 | .tags*
10 | **/.vagrant/
11 | **/DerivedData/
12 | Icon?
13 | **/Pods/
14 | **/.symlinks/
15 | profile
16 | xcuserdata
17 | **/.generated/
18 | Flutter/App.framework
19 | Flutter/Flutter.framework
20 | Flutter/Flutter.podspec
21 | Flutter/Generated.xcconfig
22 | Flutter/ephemeral/
23 | Flutter/app.flx
24 | Flutter/app.zip
25 | Flutter/flutter_assets/
26 | Flutter/flutter_export_environment.sh
27 | ServiceDefinitions.json
28 | Runner/GeneratedPluginRegistrant.*
29 |
30 | # Exceptions to above rules.
31 | !default.mode1v3
32 | !default.mode2v3
33 | !default.pbxuser
34 | !default.perspectivev3
35 |
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 12.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 54;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11 | 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; };
12 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
13 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
14 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
15 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
16 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
17 | /* End PBXBuildFile section */
18 |
19 | /* Begin PBXContainerItemProxy section */
20 | 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = {
21 | isa = PBXContainerItemProxy;
22 | containerPortal = 97C146E61CF9000F007C117D /* Project object */;
23 | proxyType = 1;
24 | remoteGlobalIDString = 97C146ED1CF9000F007C117D;
25 | remoteInfo = Runner;
26 | };
27 | /* End PBXContainerItemProxy section */
28 |
29 | /* Begin PBXCopyFilesBuildPhase section */
30 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
31 | isa = PBXCopyFilesBuildPhase;
32 | buildActionMask = 2147483647;
33 | dstPath = "";
34 | dstSubfolderSpec = 10;
35 | files = (
36 | );
37 | name = "Embed Frameworks";
38 | runOnlyForDeploymentPostprocessing = 0;
39 | };
40 | /* End PBXCopyFilesBuildPhase section */
41 |
42 | /* Begin PBXFileReference section */
43 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
44 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
45 | 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; };
46 | 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
47 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
48 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
49 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
50 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
51 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
52 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
53 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
54 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
55 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
56 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
57 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
58 | /* End PBXFileReference section */
59 |
60 | /* Begin PBXFrameworksBuildPhase section */
61 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
62 | isa = PBXFrameworksBuildPhase;
63 | buildActionMask = 2147483647;
64 | files = (
65 | );
66 | runOnlyForDeploymentPostprocessing = 0;
67 | };
68 | /* End PBXFrameworksBuildPhase section */
69 |
70 | /* Begin PBXGroup section */
71 | 331C8082294A63A400263BE5 /* RunnerTests */ = {
72 | isa = PBXGroup;
73 | children = (
74 | 331C807B294A618700263BE5 /* RunnerTests.swift */,
75 | );
76 | path = RunnerTests;
77 | sourceTree = "";
78 | };
79 | 9740EEB11CF90186004384FC /* Flutter */ = {
80 | isa = PBXGroup;
81 | children = (
82 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
83 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
84 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
85 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
86 | );
87 | name = Flutter;
88 | sourceTree = "";
89 | };
90 | 97C146E51CF9000F007C117D = {
91 | isa = PBXGroup;
92 | children = (
93 | 9740EEB11CF90186004384FC /* Flutter */,
94 | 97C146F01CF9000F007C117D /* Runner */,
95 | 97C146EF1CF9000F007C117D /* Products */,
96 | 331C8082294A63A400263BE5 /* RunnerTests */,
97 | );
98 | sourceTree = "";
99 | };
100 | 97C146EF1CF9000F007C117D /* Products */ = {
101 | isa = PBXGroup;
102 | children = (
103 | 97C146EE1CF9000F007C117D /* Runner.app */,
104 | 331C8081294A63A400263BE5 /* RunnerTests.xctest */,
105 | );
106 | name = Products;
107 | sourceTree = "";
108 | };
109 | 97C146F01CF9000F007C117D /* Runner */ = {
110 | isa = PBXGroup;
111 | children = (
112 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
113 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
114 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
115 | 97C147021CF9000F007C117D /* Info.plist */,
116 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
117 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
118 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
119 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
120 | );
121 | path = Runner;
122 | sourceTree = "";
123 | };
124 | /* End PBXGroup section */
125 |
126 | /* Begin PBXNativeTarget section */
127 | 331C8080294A63A400263BE5 /* RunnerTests */ = {
128 | isa = PBXNativeTarget;
129 | buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
130 | buildPhases = (
131 | 331C807D294A63A400263BE5 /* Sources */,
132 | 331C807F294A63A400263BE5 /* Resources */,
133 | );
134 | buildRules = (
135 | );
136 | dependencies = (
137 | 331C8086294A63A400263BE5 /* PBXTargetDependency */,
138 | );
139 | name = RunnerTests;
140 | productName = RunnerTests;
141 | productReference = 331C8081294A63A400263BE5 /* RunnerTests.xctest */;
142 | productType = "com.apple.product-type.bundle.unit-test";
143 | };
144 | 97C146ED1CF9000F007C117D /* Runner */ = {
145 | isa = PBXNativeTarget;
146 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
147 | buildPhases = (
148 | 9740EEB61CF901F6004384FC /* Run Script */,
149 | 97C146EA1CF9000F007C117D /* Sources */,
150 | 97C146EB1CF9000F007C117D /* Frameworks */,
151 | 97C146EC1CF9000F007C117D /* Resources */,
152 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
153 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
154 | );
155 | buildRules = (
156 | );
157 | dependencies = (
158 | );
159 | name = Runner;
160 | productName = Runner;
161 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
162 | productType = "com.apple.product-type.application";
163 | };
164 | /* End PBXNativeTarget section */
165 |
166 | /* Begin PBXProject section */
167 | 97C146E61CF9000F007C117D /* Project object */ = {
168 | isa = PBXProject;
169 | attributes = {
170 | BuildIndependentTargetsInParallel = YES;
171 | LastUpgradeCheck = 1510;
172 | ORGANIZATIONNAME = "";
173 | TargetAttributes = {
174 | 331C8080294A63A400263BE5 = {
175 | CreatedOnToolsVersion = 14.0;
176 | TestTargetID = 97C146ED1CF9000F007C117D;
177 | };
178 | 97C146ED1CF9000F007C117D = {
179 | CreatedOnToolsVersion = 7.3.1;
180 | LastSwiftMigration = 1100;
181 | };
182 | };
183 | };
184 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
185 | compatibilityVersion = "Xcode 9.3";
186 | developmentRegion = en;
187 | hasScannedForEncodings = 0;
188 | knownRegions = (
189 | en,
190 | Base,
191 | );
192 | mainGroup = 97C146E51CF9000F007C117D;
193 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
194 | projectDirPath = "";
195 | projectRoot = "";
196 | targets = (
197 | 97C146ED1CF9000F007C117D /* Runner */,
198 | 331C8080294A63A400263BE5 /* RunnerTests */,
199 | );
200 | };
201 | /* End PBXProject section */
202 |
203 | /* Begin PBXResourcesBuildPhase section */
204 | 331C807F294A63A400263BE5 /* Resources */ = {
205 | isa = PBXResourcesBuildPhase;
206 | buildActionMask = 2147483647;
207 | files = (
208 | );
209 | runOnlyForDeploymentPostprocessing = 0;
210 | };
211 | 97C146EC1CF9000F007C117D /* Resources */ = {
212 | isa = PBXResourcesBuildPhase;
213 | buildActionMask = 2147483647;
214 | files = (
215 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
216 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
217 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
218 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
219 | );
220 | runOnlyForDeploymentPostprocessing = 0;
221 | };
222 | /* End PBXResourcesBuildPhase section */
223 |
224 | /* Begin PBXShellScriptBuildPhase section */
225 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
226 | isa = PBXShellScriptBuildPhase;
227 | alwaysOutOfDate = 1;
228 | buildActionMask = 2147483647;
229 | files = (
230 | );
231 | inputPaths = (
232 | "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
233 | );
234 | name = "Thin Binary";
235 | outputPaths = (
236 | );
237 | runOnlyForDeploymentPostprocessing = 0;
238 | shellPath = /bin/sh;
239 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
240 | };
241 | 9740EEB61CF901F6004384FC /* Run Script */ = {
242 | isa = PBXShellScriptBuildPhase;
243 | alwaysOutOfDate = 1;
244 | buildActionMask = 2147483647;
245 | files = (
246 | );
247 | inputPaths = (
248 | );
249 | name = "Run Script";
250 | outputPaths = (
251 | );
252 | runOnlyForDeploymentPostprocessing = 0;
253 | shellPath = /bin/sh;
254 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
255 | };
256 | /* End PBXShellScriptBuildPhase section */
257 |
258 | /* Begin PBXSourcesBuildPhase section */
259 | 331C807D294A63A400263BE5 /* Sources */ = {
260 | isa = PBXSourcesBuildPhase;
261 | buildActionMask = 2147483647;
262 | files = (
263 | 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */,
264 | );
265 | runOnlyForDeploymentPostprocessing = 0;
266 | };
267 | 97C146EA1CF9000F007C117D /* Sources */ = {
268 | isa = PBXSourcesBuildPhase;
269 | buildActionMask = 2147483647;
270 | files = (
271 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
272 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
273 | );
274 | runOnlyForDeploymentPostprocessing = 0;
275 | };
276 | /* End PBXSourcesBuildPhase section */
277 |
278 | /* Begin PBXTargetDependency section */
279 | 331C8086294A63A400263BE5 /* PBXTargetDependency */ = {
280 | isa = PBXTargetDependency;
281 | target = 97C146ED1CF9000F007C117D /* Runner */;
282 | targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */;
283 | };
284 | /* End PBXTargetDependency section */
285 |
286 | /* Begin PBXVariantGroup section */
287 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
288 | isa = PBXVariantGroup;
289 | children = (
290 | 97C146FB1CF9000F007C117D /* Base */,
291 | );
292 | name = Main.storyboard;
293 | sourceTree = "";
294 | };
295 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
296 | isa = PBXVariantGroup;
297 | children = (
298 | 97C147001CF9000F007C117D /* Base */,
299 | );
300 | name = LaunchScreen.storyboard;
301 | sourceTree = "";
302 | };
303 | /* End PBXVariantGroup section */
304 |
305 | /* Begin XCBuildConfiguration section */
306 | 249021D3217E4FDB00AE95B9 /* Profile */ = {
307 | isa = XCBuildConfiguration;
308 | buildSettings = {
309 | ALWAYS_SEARCH_USER_PATHS = NO;
310 | ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
311 | CLANG_ANALYZER_NONNULL = YES;
312 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
313 | CLANG_CXX_LIBRARY = "libc++";
314 | CLANG_ENABLE_MODULES = YES;
315 | CLANG_ENABLE_OBJC_ARC = YES;
316 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
317 | CLANG_WARN_BOOL_CONVERSION = YES;
318 | CLANG_WARN_COMMA = YES;
319 | CLANG_WARN_CONSTANT_CONVERSION = YES;
320 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
321 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
322 | CLANG_WARN_EMPTY_BODY = YES;
323 | CLANG_WARN_ENUM_CONVERSION = YES;
324 | CLANG_WARN_INFINITE_RECURSION = YES;
325 | CLANG_WARN_INT_CONVERSION = YES;
326 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
327 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
328 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
329 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
330 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
331 | CLANG_WARN_STRICT_PROTOTYPES = YES;
332 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
333 | CLANG_WARN_UNREACHABLE_CODE = YES;
334 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
335 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
336 | COPY_PHASE_STRIP = NO;
337 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
338 | ENABLE_NS_ASSERTIONS = NO;
339 | ENABLE_STRICT_OBJC_MSGSEND = YES;
340 | ENABLE_USER_SCRIPT_SANDBOXING = NO;
341 | GCC_C_LANGUAGE_STANDARD = gnu99;
342 | GCC_NO_COMMON_BLOCKS = YES;
343 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
344 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
345 | GCC_WARN_UNDECLARED_SELECTOR = YES;
346 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
347 | GCC_WARN_UNUSED_FUNCTION = YES;
348 | GCC_WARN_UNUSED_VARIABLE = YES;
349 | IPHONEOS_DEPLOYMENT_TARGET = 12.0;
350 | MTL_ENABLE_DEBUG_INFO = NO;
351 | SDKROOT = iphoneos;
352 | SUPPORTED_PLATFORMS = iphoneos;
353 | TARGETED_DEVICE_FAMILY = "1,2";
354 | VALIDATE_PRODUCT = YES;
355 | };
356 | name = Profile;
357 | };
358 | 249021D4217E4FDB00AE95B9 /* Profile */ = {
359 | isa = XCBuildConfiguration;
360 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
361 | buildSettings = {
362 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
363 | CLANG_ENABLE_MODULES = YES;
364 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
365 | ENABLE_BITCODE = NO;
366 | INFOPLIST_FILE = Runner/Info.plist;
367 | LD_RUNPATH_SEARCH_PATHS = (
368 | "$(inherited)",
369 | "@executable_path/Frameworks",
370 | );
371 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterOtaSampleApp;
372 | PRODUCT_NAME = "$(TARGET_NAME)";
373 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
374 | SWIFT_VERSION = 5.0;
375 | VERSIONING_SYSTEM = "apple-generic";
376 | };
377 | name = Profile;
378 | };
379 | 331C8088294A63A400263BE5 /* Debug */ = {
380 | isa = XCBuildConfiguration;
381 | buildSettings = {
382 | BUNDLE_LOADER = "$(TEST_HOST)";
383 | CODE_SIGN_STYLE = Automatic;
384 | CURRENT_PROJECT_VERSION = 1;
385 | GENERATE_INFOPLIST_FILE = YES;
386 | MARKETING_VERSION = 1.0;
387 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterOtaSampleApp.RunnerTests;
388 | PRODUCT_NAME = "$(TARGET_NAME)";
389 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
390 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
391 | SWIFT_VERSION = 5.0;
392 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
393 | };
394 | name = Debug;
395 | };
396 | 331C8089294A63A400263BE5 /* Release */ = {
397 | isa = XCBuildConfiguration;
398 | buildSettings = {
399 | BUNDLE_LOADER = "$(TEST_HOST)";
400 | CODE_SIGN_STYLE = Automatic;
401 | CURRENT_PROJECT_VERSION = 1;
402 | GENERATE_INFOPLIST_FILE = YES;
403 | MARKETING_VERSION = 1.0;
404 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterOtaSampleApp.RunnerTests;
405 | PRODUCT_NAME = "$(TARGET_NAME)";
406 | SWIFT_VERSION = 5.0;
407 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
408 | };
409 | name = Release;
410 | };
411 | 331C808A294A63A400263BE5 /* Profile */ = {
412 | isa = XCBuildConfiguration;
413 | buildSettings = {
414 | BUNDLE_LOADER = "$(TEST_HOST)";
415 | CODE_SIGN_STYLE = Automatic;
416 | CURRENT_PROJECT_VERSION = 1;
417 | GENERATE_INFOPLIST_FILE = YES;
418 | MARKETING_VERSION = 1.0;
419 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterOtaSampleApp.RunnerTests;
420 | PRODUCT_NAME = "$(TARGET_NAME)";
421 | SWIFT_VERSION = 5.0;
422 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
423 | };
424 | name = Profile;
425 | };
426 | 97C147031CF9000F007C117D /* Debug */ = {
427 | isa = XCBuildConfiguration;
428 | buildSettings = {
429 | ALWAYS_SEARCH_USER_PATHS = NO;
430 | ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
431 | CLANG_ANALYZER_NONNULL = YES;
432 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
433 | CLANG_CXX_LIBRARY = "libc++";
434 | CLANG_ENABLE_MODULES = YES;
435 | CLANG_ENABLE_OBJC_ARC = YES;
436 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
437 | CLANG_WARN_BOOL_CONVERSION = YES;
438 | CLANG_WARN_COMMA = YES;
439 | CLANG_WARN_CONSTANT_CONVERSION = YES;
440 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
441 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
442 | CLANG_WARN_EMPTY_BODY = YES;
443 | CLANG_WARN_ENUM_CONVERSION = YES;
444 | CLANG_WARN_INFINITE_RECURSION = YES;
445 | CLANG_WARN_INT_CONVERSION = YES;
446 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
447 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
448 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
449 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
450 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
451 | CLANG_WARN_STRICT_PROTOTYPES = YES;
452 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
453 | CLANG_WARN_UNREACHABLE_CODE = YES;
454 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
455 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
456 | COPY_PHASE_STRIP = NO;
457 | DEBUG_INFORMATION_FORMAT = dwarf;
458 | ENABLE_STRICT_OBJC_MSGSEND = YES;
459 | ENABLE_TESTABILITY = YES;
460 | ENABLE_USER_SCRIPT_SANDBOXING = NO;
461 | GCC_C_LANGUAGE_STANDARD = gnu99;
462 | GCC_DYNAMIC_NO_PIC = NO;
463 | GCC_NO_COMMON_BLOCKS = YES;
464 | GCC_OPTIMIZATION_LEVEL = 0;
465 | GCC_PREPROCESSOR_DEFINITIONS = (
466 | "DEBUG=1",
467 | "$(inherited)",
468 | );
469 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
470 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
471 | GCC_WARN_UNDECLARED_SELECTOR = YES;
472 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
473 | GCC_WARN_UNUSED_FUNCTION = YES;
474 | GCC_WARN_UNUSED_VARIABLE = YES;
475 | IPHONEOS_DEPLOYMENT_TARGET = 12.0;
476 | MTL_ENABLE_DEBUG_INFO = YES;
477 | ONLY_ACTIVE_ARCH = YES;
478 | SDKROOT = iphoneos;
479 | TARGETED_DEVICE_FAMILY = "1,2";
480 | };
481 | name = Debug;
482 | };
483 | 97C147041CF9000F007C117D /* Release */ = {
484 | isa = XCBuildConfiguration;
485 | buildSettings = {
486 | ALWAYS_SEARCH_USER_PATHS = NO;
487 | ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
488 | CLANG_ANALYZER_NONNULL = YES;
489 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
490 | CLANG_CXX_LIBRARY = "libc++";
491 | CLANG_ENABLE_MODULES = YES;
492 | CLANG_ENABLE_OBJC_ARC = YES;
493 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
494 | CLANG_WARN_BOOL_CONVERSION = YES;
495 | CLANG_WARN_COMMA = YES;
496 | CLANG_WARN_CONSTANT_CONVERSION = YES;
497 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
498 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
499 | CLANG_WARN_EMPTY_BODY = YES;
500 | CLANG_WARN_ENUM_CONVERSION = YES;
501 | CLANG_WARN_INFINITE_RECURSION = YES;
502 | CLANG_WARN_INT_CONVERSION = YES;
503 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
504 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
505 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
506 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
507 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
508 | CLANG_WARN_STRICT_PROTOTYPES = YES;
509 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
510 | CLANG_WARN_UNREACHABLE_CODE = YES;
511 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
512 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
513 | COPY_PHASE_STRIP = NO;
514 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
515 | ENABLE_NS_ASSERTIONS = NO;
516 | ENABLE_STRICT_OBJC_MSGSEND = YES;
517 | ENABLE_USER_SCRIPT_SANDBOXING = NO;
518 | GCC_C_LANGUAGE_STANDARD = gnu99;
519 | GCC_NO_COMMON_BLOCKS = YES;
520 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
521 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
522 | GCC_WARN_UNDECLARED_SELECTOR = YES;
523 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
524 | GCC_WARN_UNUSED_FUNCTION = YES;
525 | GCC_WARN_UNUSED_VARIABLE = YES;
526 | IPHONEOS_DEPLOYMENT_TARGET = 12.0;
527 | MTL_ENABLE_DEBUG_INFO = NO;
528 | SDKROOT = iphoneos;
529 | SUPPORTED_PLATFORMS = iphoneos;
530 | SWIFT_COMPILATION_MODE = wholemodule;
531 | SWIFT_OPTIMIZATION_LEVEL = "-O";
532 | TARGETED_DEVICE_FAMILY = "1,2";
533 | VALIDATE_PRODUCT = YES;
534 | };
535 | name = Release;
536 | };
537 | 97C147061CF9000F007C117D /* Debug */ = {
538 | isa = XCBuildConfiguration;
539 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
540 | buildSettings = {
541 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
542 | CLANG_ENABLE_MODULES = YES;
543 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
544 | ENABLE_BITCODE = NO;
545 | INFOPLIST_FILE = Runner/Info.plist;
546 | LD_RUNPATH_SEARCH_PATHS = (
547 | "$(inherited)",
548 | "@executable_path/Frameworks",
549 | );
550 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterOtaSampleApp;
551 | PRODUCT_NAME = "$(TARGET_NAME)";
552 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
553 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
554 | SWIFT_VERSION = 5.0;
555 | VERSIONING_SYSTEM = "apple-generic";
556 | };
557 | name = Debug;
558 | };
559 | 97C147071CF9000F007C117D /* Release */ = {
560 | isa = XCBuildConfiguration;
561 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
562 | buildSettings = {
563 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
564 | CLANG_ENABLE_MODULES = YES;
565 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
566 | ENABLE_BITCODE = NO;
567 | INFOPLIST_FILE = Runner/Info.plist;
568 | LD_RUNPATH_SEARCH_PATHS = (
569 | "$(inherited)",
570 | "@executable_path/Frameworks",
571 | );
572 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterOtaSampleApp;
573 | PRODUCT_NAME = "$(TARGET_NAME)";
574 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
575 | SWIFT_VERSION = 5.0;
576 | VERSIONING_SYSTEM = "apple-generic";
577 | };
578 | name = Release;
579 | };
580 | /* End XCBuildConfiguration section */
581 |
582 | /* Begin XCConfigurationList section */
583 | 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = {
584 | isa = XCConfigurationList;
585 | buildConfigurations = (
586 | 331C8088294A63A400263BE5 /* Debug */,
587 | 331C8089294A63A400263BE5 /* Release */,
588 | 331C808A294A63A400263BE5 /* Profile */,
589 | );
590 | defaultConfigurationIsVisible = 0;
591 | defaultConfigurationName = Release;
592 | };
593 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
594 | isa = XCConfigurationList;
595 | buildConfigurations = (
596 | 97C147031CF9000F007C117D /* Debug */,
597 | 97C147041CF9000F007C117D /* Release */,
598 | 249021D3217E4FDB00AE95B9 /* Profile */,
599 | );
600 | defaultConfigurationIsVisible = 0;
601 | defaultConfigurationName = Release;
602 | };
603 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
604 | isa = XCConfigurationList;
605 | buildConfigurations = (
606 | 97C147061CF9000F007C117D /* Debug */,
607 | 97C147071CF9000F007C117D /* Release */,
608 | 249021D4217E4FDB00AE95B9 /* Profile */,
609 | );
610 | defaultConfigurationIsVisible = 0;
611 | defaultConfigurationName = Release;
612 | };
613 | /* End XCConfigurationList section */
614 | };
615 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
616 | }
617 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
37 |
38 |
39 |
40 |
43 |
49 |
50 |
51 |
52 |
53 |
64 |
66 |
72 |
73 |
74 |
75 |
81 |
83 |
89 |
90 |
91 |
92 |
94 |
95 |
98 |
99 |
100 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import Flutter
2 | import UIKit
3 |
4 | @main
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleDisplayName
8 | Flutter Ota Sample App
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | flutter_ota_sample_app
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | $(FLUTTER_BUILD_NAME)
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | $(FLUTTER_BUILD_NUMBER)
25 | LSRequiresIPhoneOS
26 |
27 | UILaunchStoryboardName
28 | LaunchScreen
29 | UIMainStoryboardFile
30 | Main
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 | UIInterfaceOrientationPortraitUpsideDown
41 | UIInterfaceOrientationLandscapeLeft
42 | UIInterfaceOrientationLandscapeRight
43 |
44 | CFBundleLocalizations
45 |
46 | en
47 | en_US
48 | de
49 |
50 | CADisableMinimumFrameDurationOnPhone
51 |
52 | UIApplicationSupportsIndirectInputEvents
53 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/ios/RunnerTests/RunnerTests.swift:
--------------------------------------------------------------------------------
1 | import Flutter
2 | import UIKit
3 | import XCTest
4 |
5 | class RunnerTests: XCTestCase {
6 |
7 | func testExample() {
8 | // If you add code to the Runner application, consider adding tests here.
9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest.
10 | }
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/l10n.yaml:
--------------------------------------------------------------------------------
1 | arb-dir: lib/l10n
2 | template-arb-file: intl_en.arb
3 | output-localization-file: app_localizations.dart
4 | output-dir: lib/l10n/generated
5 | synthetic-package: false
--------------------------------------------------------------------------------
/lib/l10n/generated/app_localizations.dart:
--------------------------------------------------------------------------------
1 | import 'dart:async';
2 |
3 | import 'package:flutter/foundation.dart';
4 | import 'package:flutter/widgets.dart';
5 | import 'package:flutter_localizations/flutter_localizations.dart';
6 | import 'package:intl/intl.dart' as intl;
7 |
8 | import 'app_localizations_de.dart';
9 | import 'app_localizations_en.dart';
10 |
11 | // ignore_for_file: type=lint
12 |
13 | /// Callers can lookup localized strings with an instance of AppLocalizations
14 | /// returned by `AppLocalizations.of(context)`.
15 | ///
16 | /// Applications need to include `AppLocalizations.delegate()` in their app's
17 | /// `localizationDelegates` list, and the locales they support in the app's
18 | /// `supportedLocales` list. For example:
19 | ///
20 | /// ```dart
21 | /// import 'generated/app_localizations.dart';
22 | ///
23 | /// return MaterialApp(
24 | /// localizationsDelegates: AppLocalizations.localizationsDelegates,
25 | /// supportedLocales: AppLocalizations.supportedLocales,
26 | /// home: MyApplicationHome(),
27 | /// );
28 | /// ```
29 | ///
30 | /// ## Update pubspec.yaml
31 | ///
32 | /// Please make sure to update your pubspec.yaml to include the following
33 | /// packages:
34 | ///
35 | /// ```yaml
36 | /// dependencies:
37 | /// # Internationalization support.
38 | /// flutter_localizations:
39 | /// sdk: flutter
40 | /// intl: any # Use the pinned version from flutter_localizations
41 | ///
42 | /// # Rest of dependencies
43 | /// ```
44 | ///
45 | /// ## iOS Applications
46 | ///
47 | /// iOS applications define key application metadata, including supported
48 | /// locales, in an Info.plist file that is built into the application bundle.
49 | /// To configure the locales supported by your app, you’ll need to edit this
50 | /// file.
51 | ///
52 | /// First, open your project’s ios/Runner.xcworkspace Xcode workspace file.
53 | /// Then, in the Project Navigator, open the Info.plist file under the Runner
54 | /// project’s Runner folder.
55 | ///
56 | /// Next, select the Information Property List item, select Add Item from the
57 | /// Editor menu, then select Localizations from the pop-up menu.
58 | ///
59 | /// Select and expand the newly-created Localizations item then, for each
60 | /// locale your application supports, add a new item and select the locale
61 | /// you wish to add from the pop-up menu in the Value field. This list should
62 | /// be consistent with the languages listed in the AppLocalizations.supportedLocales
63 | /// property.
64 | abstract class AppLocalizations {
65 | AppLocalizations(String locale) : localeName = intl.Intl.canonicalizedLocale(locale.toString());
66 |
67 | final String localeName;
68 |
69 | static AppLocalizations? of(BuildContext context) {
70 | return Localizations.of(context, AppLocalizations);
71 | }
72 |
73 | static const LocalizationsDelegate delegate = _AppLocalizationsDelegate();
74 |
75 | /// A list of this localizations delegate along with the default localizations
76 | /// delegates.
77 | ///
78 | /// Returns a list of localizations delegates containing this delegate along with
79 | /// GlobalMaterialLocalizations.delegate, GlobalCupertinoLocalizations.delegate,
80 | /// and GlobalWidgetsLocalizations.delegate.
81 | ///
82 | /// Additional delegates can be added by appending to this list in
83 | /// MaterialApp. This list does not have to be used at all if a custom list
84 | /// of delegates is preferred or required.
85 | static const List> localizationsDelegates = >[
86 | delegate,
87 | GlobalMaterialLocalizations.delegate,
88 | GlobalCupertinoLocalizations.delegate,
89 | GlobalWidgetsLocalizations.delegate,
90 | ];
91 |
92 | /// A list of this localizations delegate's supported locales.
93 | static const List supportedLocales = [
94 | Locale('de'),
95 | Locale('en'),
96 | Locale('en', 'US')
97 | ];
98 |
99 | /// Application title
100 | ///
101 | /// In en, this message translates to:
102 | /// **'Over-the-air app'**
103 | String get appTitle;
104 |
105 | /// Home page button pushed message
106 | ///
107 | /// In en, this message translates to:
108 | /// **'You have pushed the button this many times: {count}'**
109 | String pageHomePushedButtonMessage(int count);
110 |
111 | /// Home page title
112 | ///
113 | /// In en, this message translates to:
114 | /// **'Home page'**
115 | String get pageHomeTitle;
116 |
117 | /// Home page welcome message
118 | ///
119 | /// In en, this message translates to:
120 | /// **'Welcome to Over-the-air app'**
121 | String get pageHomeWelcomeMessage;
122 | }
123 |
124 | class _AppLocalizationsDelegate extends LocalizationsDelegate {
125 | const _AppLocalizationsDelegate();
126 |
127 | @override
128 | Future load(Locale locale) {
129 | return SynchronousFuture(lookupAppLocalizations(locale));
130 | }
131 |
132 | @override
133 | bool isSupported(Locale locale) => ['de', 'en'].contains(locale.languageCode);
134 |
135 | @override
136 | bool shouldReload(_AppLocalizationsDelegate old) => false;
137 | }
138 |
139 | AppLocalizations lookupAppLocalizations(Locale locale) {
140 |
141 | // Lookup logic when language+country codes are specified.
142 | switch (locale.languageCode) {
143 | case 'en': {
144 | switch (locale.countryCode) {
145 | case 'US': return AppLocalizationsEnUs();
146 | }
147 | break;
148 | }
149 | }
150 |
151 | // Lookup logic when only language code is specified.
152 | switch (locale.languageCode) {
153 | case 'de': return AppLocalizationsDe();
154 | case 'en': return AppLocalizationsEn();
155 | }
156 |
157 | throw FlutterError(
158 | 'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely '
159 | 'an issue with the localizations generation tool. Please file an issue '
160 | 'on GitHub with a reproducible sample app and the gen-l10n configuration '
161 | 'that was used.'
162 | );
163 | }
164 |
--------------------------------------------------------------------------------
/lib/l10n/generated/app_localizations_de.dart:
--------------------------------------------------------------------------------
1 | // ignore: unused_import
2 | import 'package:intl/intl.dart' as intl;
3 | import 'app_localizations.dart';
4 |
5 | // ignore_for_file: type=lint
6 |
7 | /// The translations for German (`de`).
8 | class AppLocalizationsDe extends AppLocalizations {
9 | AppLocalizationsDe([String locale = 'de']) : super(locale);
10 |
11 | @override
12 | String get appTitle => 'Over-the-air App';
13 |
14 | @override
15 | String pageHomePushedButtonMessage(int count) {
16 | return 'Sie haben den Knopf so oft gedrückt: $count';
17 | }
18 |
19 | @override
20 | String get pageHomeTitle => 'Startseite';
21 |
22 | @override
23 | String get pageHomeWelcomeMessage => 'Willkommen bei der Over-the-Air-App';
24 | }
25 |
--------------------------------------------------------------------------------
/lib/l10n/generated/app_localizations_en.dart:
--------------------------------------------------------------------------------
1 | // ignore: unused_import
2 | import 'package:intl/intl.dart' as intl;
3 | import 'app_localizations.dart';
4 |
5 | // ignore_for_file: type=lint
6 |
7 | /// The translations for English (`en`).
8 | class AppLocalizationsEn extends AppLocalizations {
9 | AppLocalizationsEn([String locale = 'en']) : super(locale);
10 |
11 | @override
12 | String get appTitle => 'Over-the-air app';
13 |
14 | @override
15 | String pageHomePushedButtonMessage(int count) {
16 | return 'You have pushed the button this many times: $count';
17 | }
18 |
19 | @override
20 | String get pageHomeTitle => 'Home page';
21 |
22 | @override
23 | String get pageHomeWelcomeMessage => 'Welcome to Over-the-air app';
24 | }
25 |
26 | /// The translations for English, as used in the United States (`en_US`).
27 | class AppLocalizationsEnUs extends AppLocalizationsEn {
28 | AppLocalizationsEnUs(): super('en_US');
29 |
30 | @override
31 | String get appTitle => 'Over-the-air app';
32 |
33 | @override
34 | String pageHomePushedButtonMessage(int count) {
35 | return 'You have pushed the button this many times: $count';
36 | }
37 |
38 | @override
39 | String get pageHomeTitle => 'Home page';
40 |
41 | @override
42 | String get pageHomeWelcomeMessage => 'Welcome to Over-the-air app';
43 | }
44 |
--------------------------------------------------------------------------------
/lib/l10n/generated/localizely_localizations.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/widgets.dart';
2 | import 'package:flutter_localizations/flutter_localizations.dart';
3 | import 'package:localizely_sdk/localizely_sdk.dart';
4 |
5 | import 'app_localizations.dart';
6 |
7 | // ignore_for_file: type=lint
8 |
9 | class LocalizelyLocalizations extends AppLocalizations {
10 | final AppLocalizations _fallback;
11 |
12 | LocalizelyLocalizations(String locale, AppLocalizations fallback) : _fallback = fallback, super(locale);
13 |
14 | static const LocalizationsDelegate delegate = _LocalizelyLocalizationsDelegate();
15 |
16 | static const List> localizationsDelegates = >[
17 | delegate,
18 | GlobalMaterialLocalizations.delegate,
19 | GlobalCupertinoLocalizations.delegate,
20 | GlobalWidgetsLocalizations.delegate,
21 | ];
22 |
23 | static const List supportedLocales = AppLocalizations.supportedLocales;
24 |
25 | @override
26 | String get appTitle => LocalizelyGenL10n.getText(localeName, 'appTitle') ?? _fallback.appTitle;
27 |
28 | @override
29 | String pageHomePushedButtonMessage(int count) => LocalizelyGenL10n.getText(localeName, 'pageHomePushedButtonMessage', [count], {"@pageHomePushedButtonMessage": {"placeholders": {"count": {"type": "int"}}}}, {}) ?? _fallback.pageHomePushedButtonMessage(count);
30 |
31 | @override
32 | String get pageHomeTitle => LocalizelyGenL10n.getText(localeName, 'pageHomeTitle') ?? _fallback.pageHomeTitle;
33 |
34 | @override
35 | String get pageHomeWelcomeMessage => LocalizelyGenL10n.getText(localeName, 'pageHomeWelcomeMessage') ?? _fallback.pageHomeWelcomeMessage;
36 | }
37 |
38 | class _LocalizelyLocalizationsDelegate extends LocalizationsDelegate {
39 | const _LocalizelyLocalizationsDelegate();
40 |
41 | @override
42 | Future load(Locale locale) => AppLocalizations.delegate.load(locale).then((fallback) {
43 | LocalizelyGenL10n.setCurrentLocale(locale.toString());
44 | return LocalizelyLocalizations(locale.toString(), fallback);
45 | });
46 |
47 | @override
48 | bool isSupported(Locale locale) => AppLocalizations.delegate.isSupported(locale);
49 |
50 | @override
51 | bool shouldReload(_LocalizelyLocalizationsDelegate old) => false;
52 | }
53 |
--------------------------------------------------------------------------------
/lib/l10n/intl_de.arb:
--------------------------------------------------------------------------------
1 | {
2 | "@@locale": "de",
3 | "appTitle": "Over-the-air App",
4 | "@appTitle": {
5 | "description": "Application title"
6 | },
7 | "pageHomePushedButtonMessage": "Sie haben den Knopf so oft gedrückt: {count}",
8 | "@pageHomePushedButtonMessage": {
9 | "description": "Home page button pushed message",
10 | "placeholders": {
11 | "count": {
12 | "type": "int"
13 | }
14 | }
15 | },
16 | "pageHomeTitle": "Startseite",
17 | "@pageHomeTitle": {
18 | "description": "Home page title"
19 | },
20 | "pageHomeWelcomeMessage": "Willkommen bei der Over-the-Air-App",
21 | "@pageHomeWelcomeMessage": {
22 | "description": "Home page welcome message"
23 | }
24 | }
--------------------------------------------------------------------------------
/lib/l10n/intl_en.arb:
--------------------------------------------------------------------------------
1 | {
2 | "@@locale": "en",
3 | "appTitle": "Over-the-air app",
4 | "@appTitle": {
5 | "description": "Application title"
6 | },
7 | "pageHomePushedButtonMessage": "You have pushed the button this many times: {count}",
8 | "@pageHomePushedButtonMessage": {
9 | "description": "Home page button pushed message",
10 | "placeholders": {
11 | "count": {
12 | "type": "int"
13 | }
14 | }
15 | },
16 | "pageHomeTitle": "Home page",
17 | "@pageHomeTitle": {
18 | "description": "Home page title"
19 | },
20 | "pageHomeWelcomeMessage": "Welcome to Over-the-air app",
21 | "@pageHomeWelcomeMessage": {
22 | "description": "Home page welcome message"
23 | }
24 | }
--------------------------------------------------------------------------------
/lib/l10n/intl_en_US.arb:
--------------------------------------------------------------------------------
1 | {
2 | "@@locale": "en_US",
3 | "appTitle": "Over-the-air app",
4 | "@appTitle": {
5 | "description": "Application title"
6 | },
7 | "pageHomePushedButtonMessage": "You have pushed the button this many times: {count}",
8 | "@pageHomePushedButtonMessage": {
9 | "description": "Home page button pushed message",
10 | "placeholders": {
11 | "count": {
12 | "type": "int"
13 | }
14 | }
15 | },
16 | "pageHomeTitle": "Home page",
17 | "@pageHomeTitle": {
18 | "description": "Home page title"
19 | },
20 | "pageHomeWelcomeMessage": "Welcome to Over-the-air app",
21 | "@pageHomeWelcomeMessage": {
22 | "description": "Home page welcome message"
23 | }
24 | }
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:localizely_sdk/localizely_sdk.dart'; // Import sdk package
3 |
4 | import 'l10n/generated/app_localizations.dart';
5 | import 'l10n/generated/localizely_localizations.dart';
6 |
7 | void main() {
8 | Localizely.init(
9 | '',
10 | '',
11 | ); // Initialize Localizely SDK with your sdk token and distribution id
12 | Localizely.setPreRelease(
13 | true,
14 | ); // Add this only if you want to use prereleases
15 | Localizely.setAppVersion(
16 | '1.0.0',
17 | ); // Add this only if you want to explicitly set the application version, or in cases when automatic detection is not possible (e.g. Flutter web apps)
18 |
19 | runApp(const MyApp());
20 | }
21 |
22 | class MyApp extends StatelessWidget {
23 | const MyApp({super.key});
24 |
25 | // This widget is the root of your application.
26 | @override
27 | Widget build(BuildContext context) {
28 | return MaterialApp(
29 | onGenerateTitle: (context) => AppLocalizations.of(context)!.appTitle,
30 | theme: ThemeData(
31 | // This is the theme of your application.
32 | //
33 | // TRY THIS: Try running your application with "flutter run". You'll see
34 | // the application has a purple toolbar. Then, without quitting the app,
35 | // try changing the seedColor in the colorScheme below to Colors.green
36 | // and then invoke "hot reload" (save your changes or press the "hot
37 | // reload" button in a Flutter-supported IDE, or press "r" if you used
38 | // the command line to start the app).
39 | //
40 | // Notice that the counter didn't reset back to zero; the application
41 | // state is not lost during the reload. To reset the state, use hot
42 | // restart instead.
43 | //
44 | // This works for code too, not just values: Most code changes can be
45 | // tested with just a hot reload.
46 | colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
47 | useMaterial3: true,
48 | ),
49 | localizationsDelegates: LocalizelyLocalizations.localizationsDelegates,
50 | supportedLocales: LocalizelyLocalizations.supportedLocales,
51 | home: Builder(
52 | builder:
53 | (context) =>
54 | MyHomePage(title: AppLocalizations.of(context)!.pageHomeTitle),
55 | ),
56 | );
57 | }
58 | }
59 |
60 | class MyHomePage extends StatefulWidget {
61 | const MyHomePage({super.key, required this.title});
62 |
63 | // This widget is the home page of your application. It is stateful, meaning
64 | // that it has a State object (defined below) that contains fields that affect
65 | // how it looks.
66 |
67 | // This class is the configuration for the state. It holds the values (in this
68 | // case the title) provided by the parent (in this case the App widget) and
69 | // used by the build method of the State. Fields in a Widget subclass are
70 | // always marked "final".
71 |
72 | final String title;
73 |
74 | @override
75 | State createState() => _MyHomePageState();
76 | }
77 |
78 | class _MyHomePageState extends State {
79 | int _counter = 0;
80 | bool _isLoading = true;
81 |
82 | void _incrementCounter() {
83 | setState(() {
84 | // This call to setState tells the Flutter framework that something has
85 | // changed in this State, which causes it to rerun the build method below
86 | // so that the display can reflect the updated values. If we changed
87 | // _counter without calling setState(), then the build method would not be
88 | // called again, and so nothing would appear to happen.
89 | _counter++;
90 | });
91 | }
92 |
93 | @override
94 | void initState() {
95 | super.initState();
96 |
97 | // Call 'updateTranslations' after localization delegates initialization
98 | Localizely.updateTranslations().then(
99 | (response) => setState(() {
100 | _isLoading = false;
101 | }),
102 | onError:
103 | (error) => setState(() {
104 | _isLoading = false;
105 | }),
106 | );
107 | }
108 |
109 | @override
110 | Widget build(BuildContext context) {
111 | // This method is rerun every time setState is called, for instance as done
112 | // by the _incrementCounter method above.
113 | //
114 | // The Flutter framework has been optimized to make rerunning build methods
115 | // fast, so that you can just rebuild anything that needs updating rather
116 | // than having to individually change instances of widgets.
117 | return Scaffold(
118 | appBar: AppBar(
119 | // TRY THIS: Try changing the color here to a specific color (to
120 | // Colors.amber, perhaps?) and trigger a hot reload to see the AppBar
121 | // change color while the other colors stay the same.
122 | backgroundColor: Theme.of(context).colorScheme.inversePrimary,
123 | // Here we take the value from the MyHomePage object that was created by
124 | // the App.build method, and use it to set our appbar title.
125 | title: Text(widget.title),
126 | ),
127 | body: Center(
128 | // Center is a layout widget. It takes a single child and positions it
129 | // in the middle of the parent.
130 | child:
131 | _isLoading
132 | ? const CircularProgressIndicator()
133 | : Column(
134 | // Column is also a layout widget. It takes a list of children and
135 | // arranges them vertically. By default, it sizes itself to fit its
136 | // children horizontally, and tries to be as tall as its parent.
137 | //
138 | // Column has various properties to control how it sizes itself and
139 | // how it positions its children. Here we use mainAxisAlignment to
140 | // center the children vertically; the main axis here is the vertical
141 | // axis because Columns are vertical (the cross axis would be
142 | // horizontal).
143 | //
144 | // TRY THIS: Invoke "debug painting" (choose the "Toggle Debug Paint"
145 | // action in the IDE, or press "p" in the console), to see the
146 | // wireframe for each widget.
147 | mainAxisAlignment: MainAxisAlignment.center,
148 | children: [
149 | Container(
150 | padding: const EdgeInsets.all(20),
151 | child: Text(
152 | AppLocalizations.of(context)!.pageHomeWelcomeMessage,
153 | style: const TextStyle(fontSize: 16),
154 | ),
155 | ),
156 | Text(
157 | AppLocalizations.of(
158 | context,
159 | )!.pageHomePushedButtonMessage(_counter),
160 | ),
161 | ],
162 | ),
163 | ),
164 | floatingActionButton:
165 | _isLoading
166 | ? null
167 | : FloatingActionButton(
168 | onPressed: _incrementCounter,
169 | tooltip: 'Increment',
170 | child: const Icon(Icons.add),
171 | ), // This trailing comma makes auto-formatting nicer for build methods.
172 | );
173 | }
174 | }
175 |
--------------------------------------------------------------------------------
/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://dart.dev/tools/pub/glossary#lockfile
3 | packages:
4 | _fe_analyzer_shared:
5 | dependency: transitive
6 | description:
7 | name: _fe_analyzer_shared
8 | sha256: "16e298750b6d0af7ce8a3ba7c18c69c3785d11b15ec83f6dcd0ad2a0009b3cab"
9 | url: "https://pub.dev"
10 | source: hosted
11 | version: "76.0.0"
12 | _macros:
13 | dependency: transitive
14 | description: dart
15 | source: sdk
16 | version: "0.3.3"
17 | analyzer:
18 | dependency: transitive
19 | description:
20 | name: analyzer
21 | sha256: "1f14db053a8c23e260789e9b0980fa27f2680dd640932cae5e1137cce0e46e1e"
22 | url: "https://pub.dev"
23 | source: hosted
24 | version: "6.11.0"
25 | async:
26 | dependency: transitive
27 | description:
28 | name: async
29 | sha256: d2872f9c19731c2e5f10444b14686eb7cc85c76274bd6c16e1816bff9a3bab63
30 | url: "https://pub.dev"
31 | source: hosted
32 | version: "2.12.0"
33 | boolean_selector:
34 | dependency: transitive
35 | description:
36 | name: boolean_selector
37 | sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea"
38 | url: "https://pub.dev"
39 | source: hosted
40 | version: "2.1.2"
41 | build:
42 | dependency: transitive
43 | description:
44 | name: build
45 | sha256: "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0"
46 | url: "https://pub.dev"
47 | source: hosted
48 | version: "2.4.1"
49 | build_config:
50 | dependency: transitive
51 | description:
52 | name: build_config
53 | sha256: bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1
54 | url: "https://pub.dev"
55 | source: hosted
56 | version: "1.1.1"
57 | characters:
58 | dependency: transitive
59 | description:
60 | name: characters
61 | sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803
62 | url: "https://pub.dev"
63 | source: hosted
64 | version: "1.4.0"
65 | checked_yaml:
66 | dependency: transitive
67 | description:
68 | name: checked_yaml
69 | sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff
70 | url: "https://pub.dev"
71 | source: hosted
72 | version: "2.0.3"
73 | clock:
74 | dependency: transitive
75 | description:
76 | name: clock
77 | sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b
78 | url: "https://pub.dev"
79 | source: hosted
80 | version: "1.1.2"
81 | collection:
82 | dependency: transitive
83 | description:
84 | name: collection
85 | sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76"
86 | url: "https://pub.dev"
87 | source: hosted
88 | version: "1.19.1"
89 | convert:
90 | dependency: transitive
91 | description:
92 | name: convert
93 | sha256: b30acd5944035672bc15c6b7a8b47d773e41e2f17de064350988c5d02adb1c68
94 | url: "https://pub.dev"
95 | source: hosted
96 | version: "3.1.2"
97 | crypto:
98 | dependency: transitive
99 | description:
100 | name: crypto
101 | sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855"
102 | url: "https://pub.dev"
103 | source: hosted
104 | version: "3.0.6"
105 | cupertino_icons:
106 | dependency: "direct main"
107 | description:
108 | name: cupertino_icons
109 | sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6
110 | url: "https://pub.dev"
111 | source: hosted
112 | version: "1.0.8"
113 | fake_async:
114 | dependency: transitive
115 | description:
116 | name: fake_async
117 | sha256: "6a95e56b2449df2273fd8c45a662d6947ce1ebb7aafe80e550a3f68297f3cacc"
118 | url: "https://pub.dev"
119 | source: hosted
120 | version: "1.3.2"
121 | ffi:
122 | dependency: transitive
123 | description:
124 | name: ffi
125 | sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6"
126 | url: "https://pub.dev"
127 | source: hosted
128 | version: "2.1.3"
129 | file:
130 | dependency: transitive
131 | description:
132 | name: file
133 | sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4
134 | url: "https://pub.dev"
135 | source: hosted
136 | version: "7.0.1"
137 | fixnum:
138 | dependency: transitive
139 | description:
140 | name: fixnum
141 | sha256: b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be
142 | url: "https://pub.dev"
143 | source: hosted
144 | version: "1.1.1"
145 | flutter:
146 | dependency: "direct main"
147 | description: flutter
148 | source: sdk
149 | version: "0.0.0"
150 | flutter_lints:
151 | dependency: "direct dev"
152 | description:
153 | name: flutter_lints
154 | sha256: "5398f14efa795ffb7a33e9b6a08798b26a180edac4ad7db3f231e40f82ce11e1"
155 | url: "https://pub.dev"
156 | source: hosted
157 | version: "5.0.0"
158 | flutter_localizations:
159 | dependency: "direct main"
160 | description: flutter
161 | source: sdk
162 | version: "0.0.0"
163 | flutter_test:
164 | dependency: "direct dev"
165 | description: flutter
166 | source: sdk
167 | version: "0.0.0"
168 | flutter_web_plugins:
169 | dependency: transitive
170 | description: flutter
171 | source: sdk
172 | version: "0.0.0"
173 | glob:
174 | dependency: transitive
175 | description:
176 | name: glob
177 | sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63"
178 | url: "https://pub.dev"
179 | source: hosted
180 | version: "2.1.2"
181 | http:
182 | dependency: transitive
183 | description:
184 | name: http
185 | sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010
186 | url: "https://pub.dev"
187 | source: hosted
188 | version: "1.2.2"
189 | http_parser:
190 | dependency: transitive
191 | description:
192 | name: http_parser
193 | sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b"
194 | url: "https://pub.dev"
195 | source: hosted
196 | version: "4.0.2"
197 | intl:
198 | dependency: "direct main"
199 | description:
200 | name: intl
201 | sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf
202 | url: "https://pub.dev"
203 | source: hosted
204 | version: "0.19.0"
205 | json_annotation:
206 | dependency: transitive
207 | description:
208 | name: json_annotation
209 | sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1"
210 | url: "https://pub.dev"
211 | source: hosted
212 | version: "4.9.0"
213 | leak_tracker:
214 | dependency: transitive
215 | description:
216 | name: leak_tracker
217 | sha256: c35baad643ba394b40aac41080300150a4f08fd0fd6a10378f8f7c6bc161acec
218 | url: "https://pub.dev"
219 | source: hosted
220 | version: "10.0.8"
221 | leak_tracker_flutter_testing:
222 | dependency: transitive
223 | description:
224 | name: leak_tracker_flutter_testing
225 | sha256: f8b613e7e6a13ec79cfdc0e97638fddb3ab848452eff057653abd3edba760573
226 | url: "https://pub.dev"
227 | source: hosted
228 | version: "3.0.9"
229 | leak_tracker_testing:
230 | dependency: transitive
231 | description:
232 | name: leak_tracker_testing
233 | sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
234 | url: "https://pub.dev"
235 | source: hosted
236 | version: "3.0.1"
237 | lints:
238 | dependency: transitive
239 | description:
240 | name: lints
241 | sha256: c35bb79562d980e9a453fc715854e1ed39e24e7d0297a880ef54e17f9874a9d7
242 | url: "https://pub.dev"
243 | source: hosted
244 | version: "5.1.1"
245 | localizely_sdk:
246 | dependency: "direct main"
247 | description:
248 | name: localizely_sdk
249 | sha256: "5e9d4fa309479570afd25be6ed1cfc67784af314c06305dbd5d634b1c7df7ec1"
250 | url: "https://pub.dev"
251 | source: hosted
252 | version: "2.6.2"
253 | logger:
254 | dependency: transitive
255 | description:
256 | name: logger
257 | sha256: "697d067c60c20999686a0add96cf6aba723b3aa1f83ecf806a8097231529ec32"
258 | url: "https://pub.dev"
259 | source: hosted
260 | version: "2.4.0"
261 | logging:
262 | dependency: transitive
263 | description:
264 | name: logging
265 | sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61
266 | url: "https://pub.dev"
267 | source: hosted
268 | version: "1.3.0"
269 | macros:
270 | dependency: transitive
271 | description:
272 | name: macros
273 | sha256: "1d9e801cd66f7ea3663c45fc708450db1fa57f988142c64289142c9b7ee80656"
274 | url: "https://pub.dev"
275 | source: hosted
276 | version: "0.1.3-main.0"
277 | matcher:
278 | dependency: transitive
279 | description:
280 | name: matcher
281 | sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2
282 | url: "https://pub.dev"
283 | source: hosted
284 | version: "0.12.17"
285 | material_color_utilities:
286 | dependency: transitive
287 | description:
288 | name: material_color_utilities
289 | sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
290 | url: "https://pub.dev"
291 | source: hosted
292 | version: "0.11.1"
293 | meta:
294 | dependency: transitive
295 | description:
296 | name: meta
297 | sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c
298 | url: "https://pub.dev"
299 | source: hosted
300 | version: "1.16.0"
301 | package_config:
302 | dependency: transitive
303 | description:
304 | name: package_config
305 | sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd"
306 | url: "https://pub.dev"
307 | source: hosted
308 | version: "2.1.0"
309 | package_info_plus:
310 | dependency: transitive
311 | description:
312 | name: package_info_plus
313 | sha256: da8d9ac8c4b1df253d1a328b7bf01ae77ef132833479ab40763334db13b91cce
314 | url: "https://pub.dev"
315 | source: hosted
316 | version: "8.1.1"
317 | package_info_plus_platform_interface:
318 | dependency: transitive
319 | description:
320 | name: package_info_plus_platform_interface
321 | sha256: ac1f4a4847f1ade8e6a87d1f39f5d7c67490738642e2542f559ec38c37489a66
322 | url: "https://pub.dev"
323 | source: hosted
324 | version: "3.0.1"
325 | path:
326 | dependency: transitive
327 | description:
328 | name: path
329 | sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5"
330 | url: "https://pub.dev"
331 | source: hosted
332 | version: "1.9.1"
333 | path_provider:
334 | dependency: transitive
335 | description:
336 | name: path_provider
337 | sha256: "50c5dd5b6e1aaf6fb3a78b33f6aa3afca52bf903a8a5298f53101fdaee55bbcd"
338 | url: "https://pub.dev"
339 | source: hosted
340 | version: "2.1.5"
341 | path_provider_android:
342 | dependency: transitive
343 | description:
344 | name: path_provider_android
345 | sha256: c464428172cb986b758c6d1724c603097febb8fb855aa265aeecc9280c294d4a
346 | url: "https://pub.dev"
347 | source: hosted
348 | version: "2.2.12"
349 | path_provider_foundation:
350 | dependency: transitive
351 | description:
352 | name: path_provider_foundation
353 | sha256: f234384a3fdd67f989b4d54a5d73ca2a6c422fa55ae694381ae0f4375cd1ea16
354 | url: "https://pub.dev"
355 | source: hosted
356 | version: "2.4.0"
357 | path_provider_linux:
358 | dependency: transitive
359 | description:
360 | name: path_provider_linux
361 | sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279
362 | url: "https://pub.dev"
363 | source: hosted
364 | version: "2.2.1"
365 | path_provider_platform_interface:
366 | dependency: transitive
367 | description:
368 | name: path_provider_platform_interface
369 | sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334"
370 | url: "https://pub.dev"
371 | source: hosted
372 | version: "2.1.2"
373 | path_provider_windows:
374 | dependency: transitive
375 | description:
376 | name: path_provider_windows
377 | sha256: bd6f00dbd873bfb70d0761682da2b3a2c2fccc2b9e84c495821639601d81afe7
378 | url: "https://pub.dev"
379 | source: hosted
380 | version: "2.3.0"
381 | petitparser:
382 | dependency: transitive
383 | description:
384 | name: petitparser
385 | sha256: c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27
386 | url: "https://pub.dev"
387 | source: hosted
388 | version: "6.0.2"
389 | platform:
390 | dependency: transitive
391 | description:
392 | name: platform
393 | sha256: "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984"
394 | url: "https://pub.dev"
395 | source: hosted
396 | version: "3.1.6"
397 | plugin_platform_interface:
398 | dependency: transitive
399 | description:
400 | name: plugin_platform_interface
401 | sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
402 | url: "https://pub.dev"
403 | source: hosted
404 | version: "2.1.8"
405 | pub_semver:
406 | dependency: transitive
407 | description:
408 | name: pub_semver
409 | sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c"
410 | url: "https://pub.dev"
411 | source: hosted
412 | version: "2.1.4"
413 | pubspec_parse:
414 | dependency: transitive
415 | description:
416 | name: pubspec_parse
417 | sha256: c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8
418 | url: "https://pub.dev"
419 | source: hosted
420 | version: "1.3.0"
421 | shared_preferences:
422 | dependency: transitive
423 | description:
424 | name: shared_preferences
425 | sha256: "846849e3e9b68f3ef4b60c60cf4b3e02e9321bc7f4d8c4692cf87ffa82fc8a3a"
426 | url: "https://pub.dev"
427 | source: hosted
428 | version: "2.5.2"
429 | shared_preferences_android:
430 | dependency: transitive
431 | description:
432 | name: shared_preferences_android
433 | sha256: a768fc8ede5f0c8e6150476e14f38e2417c0864ca36bb4582be8e21925a03c22
434 | url: "https://pub.dev"
435 | source: hosted
436 | version: "2.4.6"
437 | shared_preferences_foundation:
438 | dependency: transitive
439 | description:
440 | name: shared_preferences_foundation
441 | sha256: "07e050c7cd39bad516f8d64c455f04508d09df104be326d8c02551590a0d513d"
442 | url: "https://pub.dev"
443 | source: hosted
444 | version: "2.5.3"
445 | shared_preferences_linux:
446 | dependency: transitive
447 | description:
448 | name: shared_preferences_linux
449 | sha256: "580abfd40f415611503cae30adf626e6656dfb2f0cee8f465ece7b6defb40f2f"
450 | url: "https://pub.dev"
451 | source: hosted
452 | version: "2.4.1"
453 | shared_preferences_platform_interface:
454 | dependency: transitive
455 | description:
456 | name: shared_preferences_platform_interface
457 | sha256: "57cbf196c486bc2cf1f02b85784932c6094376284b3ad5779d1b1c6c6a816b80"
458 | url: "https://pub.dev"
459 | source: hosted
460 | version: "2.4.1"
461 | shared_preferences_web:
462 | dependency: transitive
463 | description:
464 | name: shared_preferences_web
465 | sha256: d2ca4132d3946fec2184261726b355836a82c33d7d5b67af32692aff18a4684e
466 | url: "https://pub.dev"
467 | source: hosted
468 | version: "2.4.2"
469 | shared_preferences_windows:
470 | dependency: transitive
471 | description:
472 | name: shared_preferences_windows
473 | sha256: "94ef0f72b2d71bc3e700e025db3710911bd51a71cefb65cc609dd0d9a982e3c1"
474 | url: "https://pub.dev"
475 | source: hosted
476 | version: "2.4.1"
477 | sky_engine:
478 | dependency: transitive
479 | description: flutter
480 | source: sdk
481 | version: "0.0.0"
482 | source_span:
483 | dependency: transitive
484 | description:
485 | name: source_span
486 | sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c"
487 | url: "https://pub.dev"
488 | source: hosted
489 | version: "1.10.1"
490 | sprintf:
491 | dependency: transitive
492 | description:
493 | name: sprintf
494 | sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23"
495 | url: "https://pub.dev"
496 | source: hosted
497 | version: "7.0.0"
498 | stack_trace:
499 | dependency: transitive
500 | description:
501 | name: stack_trace
502 | sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1"
503 | url: "https://pub.dev"
504 | source: hosted
505 | version: "1.12.1"
506 | stream_channel:
507 | dependency: transitive
508 | description:
509 | name: stream_channel
510 | sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d"
511 | url: "https://pub.dev"
512 | source: hosted
513 | version: "2.1.4"
514 | string_scanner:
515 | dependency: transitive
516 | description:
517 | name: string_scanner
518 | sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43"
519 | url: "https://pub.dev"
520 | source: hosted
521 | version: "1.4.1"
522 | term_glyph:
523 | dependency: transitive
524 | description:
525 | name: term_glyph
526 | sha256: "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e"
527 | url: "https://pub.dev"
528 | source: hosted
529 | version: "1.2.2"
530 | test_api:
531 | dependency: transitive
532 | description:
533 | name: test_api
534 | sha256: fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd
535 | url: "https://pub.dev"
536 | source: hosted
537 | version: "0.7.4"
538 | typed_data:
539 | dependency: transitive
540 | description:
541 | name: typed_data
542 | sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006
543 | url: "https://pub.dev"
544 | source: hosted
545 | version: "1.4.0"
546 | uuid:
547 | dependency: transitive
548 | description:
549 | name: uuid
550 | sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff
551 | url: "https://pub.dev"
552 | source: hosted
553 | version: "4.5.1"
554 | vector_math:
555 | dependency: transitive
556 | description:
557 | name: vector_math
558 | sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
559 | url: "https://pub.dev"
560 | source: hosted
561 | version: "2.1.4"
562 | vm_service:
563 | dependency: transitive
564 | description:
565 | name: vm_service
566 | sha256: "0968250880a6c5fe7edc067ed0a13d4bae1577fe2771dcf3010d52c4a9d3ca14"
567 | url: "https://pub.dev"
568 | source: hosted
569 | version: "14.3.1"
570 | watcher:
571 | dependency: transitive
572 | description:
573 | name: watcher
574 | sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8"
575 | url: "https://pub.dev"
576 | source: hosted
577 | version: "1.1.0"
578 | web:
579 | dependency: transitive
580 | description:
581 | name: web
582 | sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb
583 | url: "https://pub.dev"
584 | source: hosted
585 | version: "1.1.0"
586 | web_socket:
587 | dependency: transitive
588 | description:
589 | name: web_socket
590 | sha256: "3c12d96c0c9a4eec095246debcea7b86c0324f22df69893d538fcc6f1b8cce83"
591 | url: "https://pub.dev"
592 | source: hosted
593 | version: "0.1.6"
594 | web_socket_channel:
595 | dependency: transitive
596 | description:
597 | name: web_socket_channel
598 | sha256: "9f187088ed104edd8662ca07af4b124465893caf063ba29758f97af57e61da8f"
599 | url: "https://pub.dev"
600 | source: hosted
601 | version: "3.0.1"
602 | win32:
603 | dependency: transitive
604 | description:
605 | name: win32
606 | sha256: "84ba388638ed7a8cb3445a320c8273136ab2631cd5f2c57888335504ddab1bc2"
607 | url: "https://pub.dev"
608 | source: hosted
609 | version: "5.8.0"
610 | xdg_directories:
611 | dependency: transitive
612 | description:
613 | name: xdg_directories
614 | sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15"
615 | url: "https://pub.dev"
616 | source: hosted
617 | version: "1.1.0"
618 | yaml:
619 | dependency: transitive
620 | description:
621 | name: yaml
622 | sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5"
623 | url: "https://pub.dev"
624 | source: hosted
625 | version: "3.1.2"
626 | sdks:
627 | dart: ">=3.7.0 <4.0.0"
628 | flutter: ">=3.24.0"
629 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: flutter_ota_sample_app
2 | description: Flutter Over-the-air sample app.
3 |
4 | # The following line prevents the package from being accidentally published to
5 | # pub.dev using `flutter pub publish`. This is preferred for private packages.
6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev
7 |
8 | # The following defines the version and build number for your application.
9 | # A version number is three numbers separated by dots, like 1.2.43
10 | # followed by an optional build number separated by a +.
11 | # Both the version and the builder number may be overridden in flutter
12 | # build by specifying --build-name and --build-number, respectively.
13 | # In Android, build-name is used as versionName while build-number used as versionCode.
14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
16 | # Read more about iOS versioning at
17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18 | # In Windows, build-name is used as the major, minor, and patch parts
19 | # of the product and file versions while build-number is used as the build suffix.
20 | version: 1.0.0+1
21 |
22 | environment:
23 | sdk: ^3.7.0
24 |
25 | dependencies:
26 | flutter:
27 | sdk: flutter
28 | flutter_localizations:
29 | sdk: flutter
30 | intl: any
31 | localizely_sdk: ^2.6.2
32 |
33 | # The following adds the Cupertino Icons font to your application.
34 | # Use with the CupertinoIcons class for iOS style icons.
35 | cupertino_icons: ^1.0.8
36 |
37 | dev_dependencies:
38 | flutter_test:
39 | sdk: flutter
40 |
41 | # The "flutter_lints" package below contains a set of recommended lints to
42 | # encourage good coding practices. The lint set provided by the package is
43 | # activated in the `analysis_options.yaml` file located at the root of your
44 | # package. See that file for information about deactivating specific lint
45 | # rules and activating additional ones.
46 | flutter_lints: ^5.0.0
47 |
48 | # For information on the generic Dart part of this file, see the
49 | # following page: https://dart.dev/tools/pub/pubspec
50 |
51 | # The following section is specific to Flutter packages.
52 | flutter:
53 | generate: true
54 |
55 | # The following line ensures that the Material Icons font is
56 | # included with your application, so that you can use the icons in
57 | # the material Icons class.
58 | uses-material-design: true
59 |
60 | # To add assets to your application, add an assets section, like this:
61 | # assets:
62 | # - images/a_dot_burr.jpeg
63 | # - images/a_dot_ham.jpeg
64 |
65 | # An image asset can refer to one or more resolution-specific "variants", see
66 | # https://flutter.dev/to/resolution-aware-images
67 |
68 | # For details regarding adding assets from package dependencies, see
69 | # https://flutter.dev/to/asset-from-package
70 |
71 | # To add custom fonts to your application, add a fonts section here,
72 | # in this "flutter" section. Each entry in this list should have a
73 | # "family" key with the font family name, and a "fonts" key with a
74 | # list giving the asset and other descriptors for the font. For
75 | # example:
76 | # fonts:
77 | # - family: Schyler
78 | # fonts:
79 | # - asset: fonts/Schyler-Regular.ttf
80 | # - asset: fonts/Schyler-Italic.ttf
81 | # style: italic
82 | # - family: Trajan Pro
83 | # fonts:
84 | # - asset: fonts/TrajanPro.ttf
85 | # - asset: fonts/TrajanPro_Bold.ttf
86 | # weight: 700
87 | #
88 | # For details regarding fonts from package dependencies,
89 | # see https://flutter.dev/to/font-from-package
90 |
--------------------------------------------------------------------------------
/test/widget_test.dart:
--------------------------------------------------------------------------------
1 | // This is a basic Flutter widget test.
2 | //
3 | // To perform an interaction with a widget in your test, use the WidgetTester
4 | // utility that Flutter provides. For example, you can send tap and scroll
5 | // gestures. You can also use WidgetTester to find child widgets in the widget
6 | // tree, read text, and verify that the values of widget properties are correct.
7 |
8 | import 'package:flutter/material.dart';
9 | import 'package:flutter_test/flutter_test.dart';
10 |
11 | import 'package:flutter_ota_sample_app/main.dart';
12 |
13 | void main() {
14 | testWidgets('Smoke app test', (WidgetTester tester) async {
15 | // Build our app and trigger a frame.
16 | await tester.pumpWidget(const MyApp());
17 |
18 | await tester.pumpAndSettle();
19 |
20 | expect(find.byType(Scaffold), findsOneWidget);
21 | });
22 | }
23 |
--------------------------------------------------------------------------------
/web/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/web/favicon.png
--------------------------------------------------------------------------------
/web/icons/Icon-192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/web/icons/Icon-192.png
--------------------------------------------------------------------------------
/web/icons/Icon-512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/web/icons/Icon-512.png
--------------------------------------------------------------------------------
/web/icons/Icon-maskable-192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/web/icons/Icon-maskable-192.png
--------------------------------------------------------------------------------
/web/icons/Icon-maskable-512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/localizely/flutter-ota-sample-app/29db2b961dc870a8ddbac17511c9cadd01fb3406/web/icons/Icon-maskable-512.png
--------------------------------------------------------------------------------
/web/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 | flutter_ota_sample_app
33 |
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/web/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "flutter_ota_sample_app",
3 | "short_name": "flutter_ota_sample_app",
4 | "start_url": ".",
5 | "display": "standalone",
6 | "background_color": "#0175C2",
7 | "theme_color": "#0175C2",
8 | "description": "A new Flutter project.",
9 | "orientation": "portrait-primary",
10 | "prefer_related_applications": false,
11 | "icons": [
12 | {
13 | "src": "icons/Icon-192.png",
14 | "sizes": "192x192",
15 | "type": "image/png"
16 | },
17 | {
18 | "src": "icons/Icon-512.png",
19 | "sizes": "512x512",
20 | "type": "image/png"
21 | },
22 | {
23 | "src": "icons/Icon-maskable-192.png",
24 | "sizes": "192x192",
25 | "type": "image/png",
26 | "purpose": "maskable"
27 | },
28 | {
29 | "src": "icons/Icon-maskable-512.png",
30 | "sizes": "512x512",
31 | "type": "image/png",
32 | "purpose": "maskable"
33 | }
34 | ]
35 | }
36 |
--------------------------------------------------------------------------------