diff --git a/bricks.iml b/bricks.iml
new file mode 100644
index 0000000..f66303d
--- /dev/null
+++ b/bricks.iml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mason-lock.json b/mason-lock.json
index b8ea175..a8571e7 100644
--- a/mason-lock.json
+++ b/mason-lock.json
@@ -1 +1 @@
-{"bricks":{"dart_package":{"path":"/Users/haironchaviano/Documents/bricks/dart_package"},"feature_page_bloc":{"path":"/Users/haironchaviano/Documents/bricks/feature_page_bloc"},"feature_route_bloc":{"path":"/Users/haironchaviano/Documents/bricks/feature_route_bloc"},"flutter_package":{"path":"/Users/haironchaviano/Documents/bricks/flutter_package"},"go_router_setup":{"path":"/Users/haironchaviano/Documents/bricks/go_router_setup"},"model_json":{"path":"/Users/haironchaviano/Documents/bricks/model_json"},"rest_frog":{"path":"/Users/haironchaviano/Documents/bricks/rest_frog"},"somnio_starter":{"path":"/Users/haironchaviano/Documents/bricks/somnio_starter"},"ui_package":{"path":"/Users/haironchaviano/Documents/bricks/ui_package"}}}
\ No newline at end of file
+{"bricks":{"dart_package":{"path":"/Users/marcostort/Documents/bricks/dart_package"},"feature_page_bloc":{"path":"/Users/marcostort/Documents/bricks/feature_page_bloc"},"feature_route_bloc":{"path":"/Users/marcostort/Documents/bricks/feature_route_bloc"},"flutter_package":{"path":"/Users/marcostort/Documents/bricks/flutter_package"},"go_router_setup":{"path":"/Users/marcostort/Documents/bricks/go_router_setup"},"model_json":{"path":"/Users/marcostort/Documents/bricks/model_json"},"rest_frog":{"path":"/Users/marcostort/Documents/bricks/rest_frog"},"somnio_starter":{"path":"/Users/marcostort/Documents/bricks/somnio_starter"},"ui_package":{"path":"/Users/marcostort/Documents/bricks/ui_package"}}}
\ No newline at end of file
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/.gitignore b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/.gitignore
index d6aa291..be3943c 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/.gitignore
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/.gitignore
@@ -1,11 +1,14 @@
gradle-wrapper.jar
/.gradle
/captures/
+/gradlew
+/gradlew.bat
/local.properties
GeneratedPluginRegistrant.java
+.cxx/
# Remember to never publicly share your keystore.
-# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
+# See https://flutter.dev/to/reference-keystore
key.properties
**/*.keystore
**/*.jks
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/build.gradle b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/build.gradle
deleted file mode 100644
index 9d65d87..0000000
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/build.gradle
+++ /dev/null
@@ -1,115 +0,0 @@
-plugins {
- id "com.android.application"
- id "kotlin-android"
- id "dev.flutter.flutter-gradle-plugin"
-}
-
-def localProperties = new Properties()
-def localPropertiesFile = rootProject.file('local.properties')
-if (localPropertiesFile.exists()) {
- localPropertiesFile.withReader('UTF-8') { reader ->
- localProperties.load(reader)
- }
-}
-
-def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
-if (flutterVersionCode == null) {
- flutterVersionCode = '1'
-}
-
-def flutterVersionName = localProperties.getProperty('flutter.versionName')
-if (flutterVersionName == null) {
- flutterVersionName = '1.0'
-}
-
-def keystoreProperties = new Properties()
-def keystorePropertiesFile = rootProject.file('key.properties')
-if (keystorePropertiesFile.exists()) {
- keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
-}
-
-android {
- namespace "{{org_name.dotCase()}}.{{project_name.snakeCase()}}"
- compileSdkVersion flutter.compileSdkVersion
- ndkVersion flutter.ndkVersion
-
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
-
- kotlinOptions {
- jvmTarget = '1.8'
- }
-
- sourceSets {
- main.java.srcDirs += 'src/main/kotlin'
- }
-
- defaultConfig {
- // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
- applicationId "{{org_name.dotCase()}}.{{project_name.snakeCase()}}"
- // You can update the following values to match your application needs.
- // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
- minSdkVersion flutter.minSdkVersion
- targetSdkVersion flutter.targetSdkVersion
- versionCode flutterVersionCode.toInteger()
- versionName flutterVersionName
- }
-
- signingConfigs {
- if (System.getenv("ANDROID_KEYSTORE_PATH")) {
- release {
- storeFile file(System.getenv("ANDROID_KEYSTORE_PATH"))
- keyAlias System.getenv("ANDROID_KEYSTORE_ALIAS")
- keyPassword System.getenv("ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD")
- storePassword System.getenv("ANDROID_KEYSTORE_PASSWORD")
- }
- } else {
- release {
- keyAlias keystoreProperties['keyAlias']
- keyPassword keystoreProperties['keyPassword']
- storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
- storePassword keystoreProperties['storePassword']
- }
- }
- }
-
- flavorDimensions "default"
- productFlavors {
- production {
- dimension "default"
- applicationIdSuffix ""
- manifestPlaceholders = [appName: "{{project_name.titleCase()}}"]
- }
- staging {
- dimension "default"
- applicationIdSuffix ".stg"
- manifestPlaceholders = [appName: "[STG] {{project_name.titleCase()}}"]
- }
- development {
- dimension "default"
- applicationIdSuffix ".dev"
- manifestPlaceholders = [appName: "[DEV] {{project_name.titleCase()}}"]
- }
- }
-
- buildTypes {
- release {
- signingConfig signingConfigs.release
- minifyEnabled true
- proguardFiles getDefaultProguardFile('proguard-android.txt')
- }
- debug {
- signingConfig signingConfigs.debug
- }
- }
-}
-
-flutter {
- source '../..'
-}
-
-dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10"
-}
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/build.gradle.kts b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/build.gradle.kts
new file mode 100644
index 0000000..0202476
--- /dev/null
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/build.gradle.kts
@@ -0,0 +1,44 @@
+plugins {
+ id("com.android.application")
+ id("kotlin-android")
+ // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
+ id("dev.flutter.flutter-gradle-plugin")
+}
+
+android {
+ namespace = "com.example.bricks"
+ compileSdk = flutter.compileSdkVersion
+ ndkVersion = flutter.ndkVersion
+
+ compileOptions {
+ sourceCompatibility = JavaVersion.VERSION_17
+ targetCompatibility = JavaVersion.VERSION_17
+ }
+
+ kotlinOptions {
+ jvmTarget = JavaVersion.VERSION_17.toString()
+ }
+
+ defaultConfig {
+ // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
+ applicationId = "com.example.bricks"
+ // You can update the following values to match your application needs.
+ // For more information, see: https://flutter.dev/to/review-gradle-config.
+ minSdk = flutter.minSdkVersion
+ targetSdk = flutter.targetSdkVersion
+ versionCode = flutter.versionCode
+ versionName = flutter.versionName
+ }
+
+ buildTypes {
+ release {
+ // TODO: Add your own signing config for the release build.
+ // Signing with the debug keys for now, so `flutter run --release` works.
+ signingConfig = signingConfigs.getByName("debug")
+ }
+ }
+}
+
+flutter {
+ source = "../.."
+}
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/debug/AndroidManifest.xml b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/debug/AndroidManifest.xml
index c026bfb..399f698 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/debug/AndroidManifest.xml
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/debug/AndroidManifest.xml
@@ -1,5 +1,4 @@
-
+
-
-
-
-
-
-
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/development/res/drawable/launch_background.xml b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/development/res/drawable/launch_background.xml
deleted file mode 100644
index 304732f..0000000
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/development/res/drawable/launch_background.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/development/res/mipmap-hdpi/ic_launcher.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/development/res/mipmap-hdpi/ic_launcher.png
deleted file mode 100644
index db77bb4..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/development/res/mipmap-hdpi/ic_launcher.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/development/res/mipmap-mdpi/ic_launcher.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/development/res/mipmap-mdpi/ic_launcher.png
deleted file mode 100644
index 17987b7..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/development/res/mipmap-mdpi/ic_launcher.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/development/res/mipmap-xhdpi/ic_launcher.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/development/res/mipmap-xhdpi/ic_launcher.png
deleted file mode 100644
index 09d4391..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/development/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/development/res/mipmap-xxhdpi/ic_launcher.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/development/res/mipmap-xxhdpi/ic_launcher.png
deleted file mode 100644
index d5f1c8d..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/development/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/development/res/mipmap-xxxhdpi/ic_launcher.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/development/res/mipmap-xxxhdpi/ic_launcher.png
deleted file mode 100644
index 4d6372e..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/development/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/main/AndroidManifest.xml b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/main/AndroidManifest.xml
index e6d7f4b..29c379f 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/main/AndroidManifest.xml
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/main/AndroidManifest.xml
@@ -1,13 +1,13 @@
-
-
+
+ />
@@ -31,4 +31,15 @@
android:name="flutterEmbedding"
android:value="2" />
+
+
+
+
+
+
+
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/main/kotlin/com/example/bricks/MainActivity.kt b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/main/kotlin/com/example/bricks/MainActivity.kt
new file mode 100644
index 0000000..ac09d0e
--- /dev/null
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/main/kotlin/com/example/bricks/MainActivity.kt
@@ -0,0 +1,5 @@
+package com.example.bricks
+
+import io.flutter.embedding.android.FlutterActivity
+
+class MainActivity : FlutterActivity()
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/main/kotlin/{{org_name.pathCase()}}/MainActivity.kt b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/main/kotlin/{{org_name.pathCase()}}/MainActivity.kt
deleted file mode 100644
index 28ecd3b..0000000
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/main/kotlin/{{org_name.pathCase()}}/MainActivity.kt
+++ /dev/null
@@ -1,6 +0,0 @@
-package {{org_name.dotCase()}}.{{project_name.snakeCase()}}
-
-import io.flutter.embedding.android.FlutterActivity
-
-class MainActivity: FlutterActivity() {
-}
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/profile/AndroidManifest.xml b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/profile/AndroidManifest.xml
index c026bfb..399f698 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/profile/AndroidManifest.xml
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/profile/AndroidManifest.xml
@@ -1,5 +1,4 @@
-
+
-
-
-
-
-
-
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/drawable/launch_background.xml b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/drawable/launch_background.xml
deleted file mode 100644
index 304732f..0000000
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/drawable/launch_background.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/mipmap-hdpi/ic_launcher.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/mipmap-hdpi/ic_launcher.png
deleted file mode 100644
index db77bb4..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/mipmap-hdpi/ic_launcher.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/mipmap-mdpi/ic_launcher.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/mipmap-mdpi/ic_launcher.png
deleted file mode 100644
index 17987b7..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/mipmap-mdpi/ic_launcher.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/mipmap-xhdpi/ic_launcher.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/mipmap-xhdpi/ic_launcher.png
deleted file mode 100644
index 09d4391..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/mipmap-xxhdpi/ic_launcher.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/mipmap-xxhdpi/ic_launcher.png
deleted file mode 100644
index d5f1c8d..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/mipmap-xxxhdpi/ic_launcher.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/mipmap-xxxhdpi/ic_launcher.png
deleted file mode 100644
index 4d6372e..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/build.gradle b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/build.gradle
deleted file mode 100644
index bc157bd..0000000
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/build.gradle
+++ /dev/null
@@ -1,18 +0,0 @@
-allprojects {
- repositories {
- google()
- mavenCentral()
- }
-}
-
-rootProject.buildDir = '../build'
-subprojects {
- project.buildDir = "${rootProject.buildDir}/${project.name}"
-}
-subprojects {
- project.evaluationDependsOn(':app')
-}
-
-tasks.register("clean", Delete) {
- delete rootProject.buildDir
-}
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/build.gradle.kts b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/build.gradle.kts
new file mode 100644
index 0000000..dbee657
--- /dev/null
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/build.gradle.kts
@@ -0,0 +1,24 @@
+allprojects {
+ repositories {
+ google()
+ mavenCentral()
+ }
+}
+
+val newBuildDir: Directory =
+ rootProject.layout.buildDirectory
+ .dir("../../build")
+ .get()
+rootProject.layout.buildDirectory.value(newBuildDir)
+
+subprojects {
+ val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
+ project.layout.buildDirectory.value(newSubprojectBuildDir)
+}
+subprojects {
+ project.evaluationDependsOn(":app")
+}
+
+tasks.register("clean") {
+ delete(rootProject.layout.buildDirectory)
+}
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/gradle.properties b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/gradle.properties
index 94adc3a..fbee1d8 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/gradle.properties
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/gradle.properties
@@ -1,3 +1,2 @@
-org.gradle.jvmargs=-Xmx1536M
+org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError
android.useAndroidX=true
-android.enableJetifier=true
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/gradle/wrapper/gradle-wrapper.properties b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/gradle/wrapper/gradle-wrapper.properties
index 6b66533..e4ef43f 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/gradle/wrapper/gradle-wrapper.properties
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,5 @@
-#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-all.zip
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/gradlew b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/gradlew
old mode 100644
new mode 100755
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/settings.gradle b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/settings.gradle
deleted file mode 100644
index 1d6d19b..0000000
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/settings.gradle
+++ /dev/null
@@ -1,26 +0,0 @@
-pluginManagement {
- def flutterSdkPath = {
- def properties = new Properties()
- file("local.properties").withInputStream { properties.load(it) }
- def flutterSdkPath = properties.getProperty("flutter.sdk")
- assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
- return flutterSdkPath
- }
- settings.ext.flutterSdkPath = flutterSdkPath()
-
- includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
-
- repositories {
- google()
- mavenCentral()
- gradlePluginPortal()
- }
-}
-
-plugins {
- id "dev.flutter.flutter-plugin-loader" version "1.0.0"
- id "com.android.application" version "7.3.0" apply false
- id "org.jetbrains.kotlin.android" version "1.7.10" apply false
-}
-
-include ":app"
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/settings.gradle.kts b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/settings.gradle.kts
new file mode 100644
index 0000000..ca7fe06
--- /dev/null
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/android/settings.gradle.kts
@@ -0,0 +1,26 @@
+pluginManagement {
+ val flutterSdkPath =
+ run {
+ val properties = java.util.Properties()
+ file("local.properties").inputStream().use { properties.load(it) }
+ val flutterSdkPath = properties.getProperty("flutter.sdk")
+ require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
+ flutterSdkPath
+ }
+
+ includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
+
+ repositories {
+ google()
+ mavenCentral()
+ gradlePluginPortal()
+ }
+}
+
+plugins {
+ id("dev.flutter.flutter-plugin-loader") version "1.0.0"
+ id("com.android.application") version "8.11.1" apply false
+ id("org.jetbrains.kotlin.android") version "2.2.20" apply false
+}
+
+include(":app")
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Flutter/AppFrameworkInfo.plist b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Flutter/AppFrameworkInfo.plist
index 4f8d4d2..1dc6cf7 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Flutter/AppFrameworkInfo.plist
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Flutter/AppFrameworkInfo.plist
@@ -3,7 +3,7 @@
CFBundleDevelopmentRegion
- $(DEVELOPMENT_LANGUAGE)
+ en
CFBundleExecutable
App
CFBundleIdentifier
@@ -21,6 +21,6 @@
CFBundleVersion
1.0
MinimumOSVersion
- 11.0
+ 13.0
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/project.pbxproj b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/project.pbxproj
index 5758e1d..42ac687 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/project.pbxproj
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/project.pbxproj
@@ -43,7 +43,7 @@
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; };
- 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
+ 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
@@ -68,7 +68,7 @@
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
- 331C8082294A63A400263BE5 /* RunnerTests */ = {
+ 331C8082294A63A400263BE5 /* RunnerTests */ = {
isa = PBXGroup;
children = (
331C807B294A618700263BE5 /* RunnerTests.swift */,
@@ -124,7 +124,7 @@
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
- 331C8080294A63A400263BE5 /* RunnerTests */ = {
+ 331C8080294A63A400263BE5 /* RunnerTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
buildPhases = (
@@ -167,11 +167,11 @@
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
- BuildIndependentTargetsInParallel = NO;
- LastUpgradeCheck = 1430;
+ BuildIndependentTargetsInParallel = YES;
+ LastUpgradeCheck = 1510;
ORGANIZATIONNAME = "";
TargetAttributes = {
- 331C8080294A63A400263BE5 = {
+ 331C8080294A63A400263BE5 = {
CreatedOnToolsVersion = 14.0;
TestTargetID = 97C146ED1CF9000F007C117D;
};
@@ -201,7 +201,7 @@
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
- 331C807F294A63A400263BE5 /* Resources */ = {
+ 331C807F294A63A400263BE5 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
@@ -256,7 +256,7 @@
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
- 331C807D294A63A400263BE5 /* Sources */ = {
+ 331C807D294A63A400263BE5 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
@@ -303,106 +303,11 @@
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
- 3C9C55192B07AC99000E5FCD /* Debug-production */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_COMMA = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_STRICT_PROTOTYPES = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = dwarf;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- ENABLE_TESTABILITY = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = iphoneos;
- TARGETED_DEVICE_FAMILY = "1,2";
- };
- name = "Debug-production";
- };
- 3C9C551A2B07AC99000E5FCD /* Debug-production */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CLANG_ENABLE_MODULES = YES;
- CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
- ENABLE_BITCODE = NO;
- FLAVOR_APP_NAME = "{{project_name.titleCase()}}";
- INFOPLIST_FILE = Runner/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/Frameworks",
- );
- PACKAGE_CONFIG = .dart_tool/package_config.json;
- PRODUCT_BUNDLE_IDENTIFIER = {{application_id}};
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- SWIFT_VERSION = 5.0;
- VERSIONING_SYSTEM = "apple-generic";
- };
- name = "Debug-production";
- };
- 3C9C551B2B07AC99000E5FCD /* Debug-production */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- BUNDLE_LOADER = "$(TEST_HOST)";
- CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 1;
- GENERATE_INFOPLIST_FILE = YES;
- MARKETING_VERSION = 1.0;
- PRODUCT_BUNDLE_IDENTIFIER = {{application_id}}.RunnerTests;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- SWIFT_VERSION = 5.0;
- TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
- };
- name = "Debug-production";
- };
- 3C9C551C2B07ACA4000E5FCD /* Release-production */ = {
+ 249021D3217E4FDB00AE95B9 /* Profile */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
@@ -432,6 +337,7 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_USER_SCRIPT_SANDBOXING = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
@@ -440,41 +346,38 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
- SWIFT_COMPILATION_MODE = wholemodule;
- SWIFT_OPTIMIZATION_LEVEL = "-O";
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
- name = "Release-production";
+ name = Profile;
};
- 3C9C551D2B07ACA4000E5FCD /* Release-production */ = {
+ 249021D4217E4FDB00AE95B9 /* Profile */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ DEVELOPMENT_TEAM = 332S4VAVCD;
ENABLE_BITCODE = NO;
- FLAVOR_APP_NAME = "{{project_name.titleCase()}}";
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
- PACKAGE_CONFIG = .dart_tool/package_config.json;
- PRODUCT_BUNDLE_IDENTIFIER = {{application_id}};
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.bricks;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
};
- name = "Release-production";
+ name = Profile;
};
- 3C9C551E2B07ACA4000E5FCD /* Release-production */ = {
+ 331C8088294A63A400263BE5 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
@@ -482,271 +385,16 @@
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
- PRODUCT_BUNDLE_IDENTIFIER = {{application_id}}.RunnerTests;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_VERSION = 5.0;
- TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
- };
- name = "Release-production";
- };
- 3C9C55222B07ACBD000E5FCD /* Profile-production */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_COMMA = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_STRICT_PROTOTYPES = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- SUPPORTED_PLATFORMS = iphoneos;
- TARGETED_DEVICE_FAMILY = "1,2";
- VALIDATE_PRODUCT = YES;
- };
- name = "Profile-production";
- };
- 3C9C55232B07ACBD000E5FCD /* Profile-production */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CLANG_ENABLE_MODULES = YES;
- CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
- ENABLE_BITCODE = NO;
- FLAVOR_APP_NAME = "{{project_name.titleCase()}}";
- INFOPLIST_FILE = Runner/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/Frameworks",
- );
- PACKAGE_CONFIG = .dart_tool/package_config.json;
- PRODUCT_BUNDLE_IDENTIFIER = {{application_id}};
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
- SWIFT_VERSION = 5.0;
- VERSIONING_SYSTEM = "apple-generic";
- };
- name = "Profile-production";
- };
- 3C9C55242B07ACBD000E5FCD /* Profile-production */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- BUNDLE_LOADER = "$(TEST_HOST)";
- CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 1;
- GENERATE_INFOPLIST_FILE = YES;
- MARKETING_VERSION = 1.0;
- PRODUCT_BUNDLE_IDENTIFIER = {{application_id}};
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_VERSION = 5.0;
- TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
- };
- name = "Profile-production";
- };
- 3C9C55252B07ACE7000E5FCD /* Debug-development */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_COMMA = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_STRICT_PROTOTYPES = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = dwarf;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- ENABLE_TESTABILITY = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = iphoneos;
- TARGETED_DEVICE_FAMILY = "1,2";
- };
- name = "Debug-development";
- };
- 3C9C55262B07ACE7000E5FCD /* Debug-development */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-dev";
- CLANG_ENABLE_MODULES = YES;
- CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
- ENABLE_BITCODE = NO;
- FLAVOR_APP_NAME = "[DEV] {{project_name.titleCase()}}";
- INFOPLIST_FILE = Runner/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/Frameworks",
- );
- PACKAGE_CONFIG = .dart_tool/package_config.json;
- PRODUCT_BUNDLE_IDENTIFIER = {{application_id}}.dev;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- SWIFT_VERSION = 5.0;
- VERSIONING_SYSTEM = "apple-generic";
- };
- name = "Debug-development";
- };
- 3C9C55272B07ACE7000E5FCD /* Debug-development */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- BUNDLE_LOADER = "$(TEST_HOST)";
- CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 1;
- GENERATE_INFOPLIST_FILE = YES;
- MARKETING_VERSION = 1.0;
- PRODUCT_BUNDLE_IDENTIFIER = {{application_id}}.RunnerTests;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.bricks.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
};
- name = "Debug-development";
+ name = Debug;
};
- 3C9C552B2B07AD09000E5FCD /* Profile-development */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_COMMA = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_STRICT_PROTOTYPES = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- SUPPORTED_PLATFORMS = iphoneos;
- TARGETED_DEVICE_FAMILY = "1,2";
- VALIDATE_PRODUCT = YES;
- };
- name = "Profile-development";
- };
- 3C9C552C2B07AD09000E5FCD /* Profile-development */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-dev";
- CLANG_ENABLE_MODULES = YES;
- CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
- ENABLE_BITCODE = NO;
- FLAVOR_APP_NAME = "[DEV] {{project_name.titleCase()}}";
- INFOPLIST_FILE = Runner/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/Frameworks",
- );
- PACKAGE_CONFIG = .dart_tool/package_config.json;
- PRODUCT_BUNDLE_IDENTIFIER = {{application_id}}.dev;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
- SWIFT_VERSION = 5.0;
- VERSIONING_SYSTEM = "apple-generic";
- };
- name = "Profile-development";
- };
- 3C9C552D2B07AD09000E5FCD /* Profile-development */ = {
+ 331C8089294A63A400263BE5 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
@@ -754,89 +402,14 @@
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
- PRODUCT_BUNDLE_IDENTIFIER = {{application_id}}.RunnerTests;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.bricks.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
};
- name = "Profile-development";
- };
- 3C9C552E2B07AD1B000E5FCD /* Release-development */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_COMMA = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_STRICT_PROTOTYPES = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- SUPPORTED_PLATFORMS = iphoneos;
- TARGETED_DEVICE_FAMILY = "1,2";
- SWIFT_COMPILATION_MODE = wholemodule;
- SWIFT_OPTIMIZATION_LEVEL = "-O";
- VALIDATE_PRODUCT = YES;
- };
- name = "Release-development";
+ name = Release;
};
- 3C9C552F2B07AD1B000E5FCD /* Release-development */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-dev";
- CLANG_ENABLE_MODULES = YES;
- CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
- ENABLE_BITCODE = NO;
- FLAVOR_APP_NAME = "[DEV] {{project_name.titleCase()}}";
- INFOPLIST_FILE = Runner/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/Frameworks",
- );
- PACKAGE_CONFIG = .dart_tool/package_config.json;
- PRODUCT_BUNDLE_IDENTIFIER = {{application_id}}.dev;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
- SWIFT_VERSION = 5.0;
- VERSIONING_SYSTEM = "apple-generic";
- };
- name = "Release-development";
- };
- 3C9C55302B07AD1B000E5FCD /* Release-development */ = {
+ 331C808A294A63A400263BE5 /* Profile */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
@@ -844,17 +417,18 @@
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
- PRODUCT_BUNDLE_IDENTIFIER = {{application_id}}.RunnerTests;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.bricks.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
};
- name = "Release-development";
+ name = Profile;
};
- 3C9C55312B07AD26000E5FCD /* Debug-staging */ = {
+ 97C147031CF9000F007C117D /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
@@ -884,6 +458,7 @@
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
+ ENABLE_USER_SCRIPT_SANDBOXING = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
@@ -898,59 +473,19 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
};
- name = "Debug-staging";
- };
- 3C9C55322B07AD26000E5FCD /* Debug-staging */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-stg";
- CLANG_ENABLE_MODULES = YES;
- CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
- ENABLE_BITCODE = NO;
- FLAVOR_APP_NAME = "[STG] {{project_name.titleCase()}}";
- INFOPLIST_FILE = Runner/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/Frameworks",
- );
- PACKAGE_CONFIG = .dart_tool/package_config.json;
- PRODUCT_BUNDLE_IDENTIFIER = {{application_id}}.stg;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- SWIFT_VERSION = 5.0;
- VERSIONING_SYSTEM = "apple-generic";
- };
- name = "Debug-staging";
+ name = Debug;
};
- 3C9C55332B07AD26000E5FCD /* Debug-staging */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- BUNDLE_LOADER = "$(TEST_HOST)";
- CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 1;
- GENERATE_INFOPLIST_FILE = YES;
- MARKETING_VERSION = 1.0;
- PRODUCT_BUNDLE_IDENTIFIER = {{application_id}}.RunnerTests;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- SWIFT_VERSION = 5.0;
- TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
- };
- name = "Debug-staging";
- };
- 3C9C55342B07AD41000E5FCD /* Release-staging */ = {
+ 97C147041CF9000F007C117D /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
@@ -980,6 +515,7 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_USER_SCRIPT_SANDBOXING = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
@@ -988,7 +524,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
@@ -997,184 +533,85 @@
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
- name = "Release-staging";
+ name = Release;
};
- 3C9C55352B07AD41000E5FCD /* Release-staging */ = {
+ 97C147061CF9000F007C117D /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-stg";
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ DEVELOPMENT_TEAM = 332S4VAVCD;
ENABLE_BITCODE = NO;
- FLAVOR_APP_NAME = "[STG] {{project_name.titleCase()}}";
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
- PACKAGE_CONFIG = .dart_tool/package_config.json;
- PRODUCT_BUNDLE_IDENTIFIER = {{application_id}}.stg;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.bricks;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
};
- name = "Release-staging";
- };
- 3C9C55362B07AD41000E5FCD /* Release-staging */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- BUNDLE_LOADER = "$(TEST_HOST)";
- CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 1;
- GENERATE_INFOPLIST_FILE = YES;
- MARKETING_VERSION = 1.0;
- PRODUCT_BUNDLE_IDENTIFIER = {{application_id}}.RunnerTests;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_VERSION = 5.0;
- TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
- };
- name = "Release-staging";
+ name = Debug;
};
- 3C9C55372B07AD4B000E5FCD /* Profile-staging */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_COMMA = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_STRICT_PROTOTYPES = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- SUPPORTED_PLATFORMS = iphoneos;
- TARGETED_DEVICE_FAMILY = "1,2";
- VALIDATE_PRODUCT = YES;
- };
- name = "Profile-staging";
- };
- 3C9C55382B07AD4B000E5FCD /* Profile-staging */ = {
+ 97C147071CF9000F007C117D /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-stg";
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ DEVELOPMENT_TEAM = 332S4VAVCD;
ENABLE_BITCODE = NO;
- FLAVOR_APP_NAME = "[STG] {{project_name.titleCase()}}";
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
- PACKAGE_CONFIG = .dart_tool/package_config.json;
- PRODUCT_BUNDLE_IDENTIFIER = {{application_id}}.stg;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.bricks;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
};
- name = "Profile-staging";
- };
- 3C9C55392B07AD4B000E5FCD /* Profile-staging */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- BUNDLE_LOADER = "$(TEST_HOST)";
- CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 1;
- GENERATE_INFOPLIST_FILE = YES;
- MARKETING_VERSION = 1.0;
- PRODUCT_BUNDLE_IDENTIFIER = {{application_id}}.RunnerTests;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_VERSION = 5.0;
- TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
- };
- name = "Profile-staging";
+ name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
- 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = {
+ 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
- 3C9C551B2B07AC99000E5FCD /* Debug-production */,
- 3C9C55332B07AD26000E5FCD /* Debug-staging */,
- 3C9C55272B07ACE7000E5FCD /* Debug-development */,
- 3C9C551E2B07ACA4000E5FCD /* Release-production */,
- 3C9C55362B07AD41000E5FCD /* Release-staging */,
- 3C9C55302B07AD1B000E5FCD /* Release-development */,
- 3C9C55242B07ACBD000E5FCD /* Profile-production */,
- 3C9C55392B07AD4B000E5FCD /* Profile-staging */,
- 3C9C552D2B07AD09000E5FCD /* Profile-development */,
+ 331C8088294A63A400263BE5 /* Debug */,
+ 331C8089294A63A400263BE5 /* Release */,
+ 331C808A294A63A400263BE5 /* Profile */,
);
defaultConfigurationIsVisible = 0;
- defaultConfigurationName = "Release-production";
+ defaultConfigurationName = Release;
};
97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
isa = XCConfigurationList;
buildConfigurations = (
- 3C9C55192B07AC99000E5FCD /* Debug-production */,
- 3C9C55312B07AD26000E5FCD /* Debug-staging */,
- 3C9C55252B07ACE7000E5FCD /* Debug-development */,
- 3C9C551C2B07ACA4000E5FCD /* Release-production */,
- 3C9C55342B07AD41000E5FCD /* Release-staging */,
- 3C9C552E2B07AD1B000E5FCD /* Release-development */,
- 3C9C55222B07ACBD000E5FCD /* Profile-production */,
- 3C9C55372B07AD4B000E5FCD /* Profile-staging */,
- 3C9C552B2B07AD09000E5FCD /* Profile-development */,
+ 97C147031CF9000F007C117D /* Debug */,
+ 97C147041CF9000F007C117D /* Release */,
+ 249021D3217E4FDB00AE95B9 /* Profile */,
);
defaultConfigurationIsVisible = 0;
- defaultConfigurationName = "Release-production";
+ defaultConfigurationName = Release;
};
97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
isa = XCConfigurationList;
buildConfigurations = (
- 3C9C551A2B07AC99000E5FCD /* Debug-production */,
- 3C9C55322B07AD26000E5FCD /* Debug-staging */,
- 3C9C55262B07ACE7000E5FCD /* Debug-development */,
- 3C9C551D2B07ACA4000E5FCD /* Release-production */,
- 3C9C55352B07AD41000E5FCD /* Release-staging */,
- 3C9C552F2B07AD1B000E5FCD /* Release-development */,
- 3C9C55232B07ACBD000E5FCD /* Profile-production */,
- 3C9C55382B07AD4B000E5FCD /* Profile-staging */,
- 3C9C552C2B07AD09000E5FCD /* Profile-development */,
+ 97C147061CF9000F007C117D /* Debug */,
+ 97C147071CF9000F007C117D /* Release */,
+ 249021D4217E4FDB00AE95B9 /* Profile */,
);
defaultConfigurationIsVisible = 0;
- defaultConfigurationName = "Release-production";
+ defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
index 87131a0..e3773d4 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -1,6 +1,6 @@
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/xcshareddata/xcschemes/development.xcscheme b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/xcshareddata/xcschemes/development.xcscheme
deleted file mode 100644
index 06da47c..0000000
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/xcshareddata/xcschemes/development.xcscheme
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/xcshareddata/xcschemes/production.xcscheme b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/xcshareddata/xcschemes/production.xcscheme
deleted file mode 100644
index b59fb06..0000000
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/xcshareddata/xcschemes/production.xcscheme
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/xcshareddata/xcschemes/staging.xcscheme b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/xcshareddata/xcschemes/staging.xcscheme
deleted file mode 100644
index 6e3b252..0000000
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/xcshareddata/xcschemes/staging.xcscheme
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/AppDelegate.swift b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/AppDelegate.swift
index 70693e4..6266644 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/AppDelegate.swift
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/AppDelegate.swift
@@ -1,7 +1,7 @@
-import UIKit
import Flutter
+import UIKit
-@UIApplicationMain
+@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Contents.json b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Contents.json
deleted file mode 100644
index d36b1fa..0000000
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Contents.json
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- "images" : [
- {
- "size" : "20x20",
- "idiom" : "iphone",
- "filename" : "Icon-App-20x20@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "20x20",
- "idiom" : "iphone",
- "filename" : "Icon-App-20x20@3x.png",
- "scale" : "3x"
- },
- {
- "size" : "29x29",
- "idiom" : "iphone",
- "filename" : "Icon-App-29x29@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "29x29",
- "idiom" : "iphone",
- "filename" : "Icon-App-29x29@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "29x29",
- "idiom" : "iphone",
- "filename" : "Icon-App-29x29@3x.png",
- "scale" : "3x"
- },
- {
- "size" : "40x40",
- "idiom" : "iphone",
- "filename" : "Icon-App-40x40@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "40x40",
- "idiom" : "iphone",
- "filename" : "Icon-App-40x40@3x.png",
- "scale" : "3x"
- },
- {
- "size" : "60x60",
- "idiom" : "iphone",
- "filename" : "Icon-App-60x60@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "60x60",
- "idiom" : "iphone",
- "filename" : "Icon-App-60x60@3x.png",
- "scale" : "3x"
- },
- {
- "size" : "20x20",
- "idiom" : "ipad",
- "filename" : "Icon-App-20x20@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "20x20",
- "idiom" : "ipad",
- "filename" : "Icon-App-20x20@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "29x29",
- "idiom" : "ipad",
- "filename" : "Icon-App-29x29@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "29x29",
- "idiom" : "ipad",
- "filename" : "Icon-App-29x29@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "40x40",
- "idiom" : "ipad",
- "filename" : "Icon-App-40x40@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "40x40",
- "idiom" : "ipad",
- "filename" : "Icon-App-40x40@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "76x76",
- "idiom" : "ipad",
- "filename" : "Icon-App-76x76@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "76x76",
- "idiom" : "ipad",
- "filename" : "Icon-App-76x76@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "83.5x83.5",
- "idiom" : "ipad",
- "filename" : "Icon-App-83.5x83.5@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "1024x1024",
- "idiom" : "ios-marketing",
- "filename" : "Icon-App-1024x1024@1x.png",
- "scale" : "1x"
- }
- ],
- "info" : {
- "version" : 1,
- "author" : "xcode"
- }
-}
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-1024x1024@1x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-1024x1024@1x.png
deleted file mode 100644
index dc9ada4..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-1024x1024@1x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-20x20@1x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-20x20@1x.png
deleted file mode 100644
index 7353c41..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-20x20@1x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-20x20@2x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-20x20@2x.png
deleted file mode 100644
index 797d452..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-20x20@2x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-20x20@3x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-20x20@3x.png
deleted file mode 100644
index 6ed2d93..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-20x20@3x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-29x29@1x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-29x29@1x.png
deleted file mode 100644
index 4cd7b00..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-29x29@1x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-29x29@2x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-29x29@2x.png
deleted file mode 100644
index fe73094..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-29x29@2x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-29x29@3x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-29x29@3x.png
deleted file mode 100644
index 321773c..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-29x29@3x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-40x40@1x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-40x40@1x.png
deleted file mode 100644
index 797d452..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-40x40@1x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-40x40@2x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-40x40@2x.png
deleted file mode 100644
index 502f463..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-40x40@2x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-40x40@3x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-40x40@3x.png
deleted file mode 100644
index 0ec3034..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-40x40@3x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-60x60@2x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-60x60@2x.png
deleted file mode 100644
index 0ec3034..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-60x60@2x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-60x60@3x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-60x60@3x.png
deleted file mode 100644
index e9f5fea..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-60x60@3x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-76x76@1x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-76x76@1x.png
deleted file mode 100644
index 84ac32a..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-76x76@1x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-76x76@2x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-76x76@2x.png
deleted file mode 100644
index 8953cba..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-76x76@2x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-83.5x83.5@2x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-83.5x83.5@2x.png
deleted file mode 100644
index 0467bf1..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Icon-App-83.5x83.5@2x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Contents.json b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Contents.json
deleted file mode 100644
index d36b1fa..0000000
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Contents.json
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- "images" : [
- {
- "size" : "20x20",
- "idiom" : "iphone",
- "filename" : "Icon-App-20x20@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "20x20",
- "idiom" : "iphone",
- "filename" : "Icon-App-20x20@3x.png",
- "scale" : "3x"
- },
- {
- "size" : "29x29",
- "idiom" : "iphone",
- "filename" : "Icon-App-29x29@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "29x29",
- "idiom" : "iphone",
- "filename" : "Icon-App-29x29@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "29x29",
- "idiom" : "iphone",
- "filename" : "Icon-App-29x29@3x.png",
- "scale" : "3x"
- },
- {
- "size" : "40x40",
- "idiom" : "iphone",
- "filename" : "Icon-App-40x40@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "40x40",
- "idiom" : "iphone",
- "filename" : "Icon-App-40x40@3x.png",
- "scale" : "3x"
- },
- {
- "size" : "60x60",
- "idiom" : "iphone",
- "filename" : "Icon-App-60x60@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "60x60",
- "idiom" : "iphone",
- "filename" : "Icon-App-60x60@3x.png",
- "scale" : "3x"
- },
- {
- "size" : "20x20",
- "idiom" : "ipad",
- "filename" : "Icon-App-20x20@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "20x20",
- "idiom" : "ipad",
- "filename" : "Icon-App-20x20@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "29x29",
- "idiom" : "ipad",
- "filename" : "Icon-App-29x29@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "29x29",
- "idiom" : "ipad",
- "filename" : "Icon-App-29x29@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "40x40",
- "idiom" : "ipad",
- "filename" : "Icon-App-40x40@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "40x40",
- "idiom" : "ipad",
- "filename" : "Icon-App-40x40@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "76x76",
- "idiom" : "ipad",
- "filename" : "Icon-App-76x76@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "76x76",
- "idiom" : "ipad",
- "filename" : "Icon-App-76x76@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "83.5x83.5",
- "idiom" : "ipad",
- "filename" : "Icon-App-83.5x83.5@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "1024x1024",
- "idiom" : "ios-marketing",
- "filename" : "Icon-App-1024x1024@1x.png",
- "scale" : "1x"
- }
- ],
- "info" : {
- "version" : 1,
- "author" : "xcode"
- }
-}
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-1024x1024@1x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-1024x1024@1x.png
deleted file mode 100644
index dc9ada4..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-1024x1024@1x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-20x20@1x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-20x20@1x.png
deleted file mode 100644
index 7353c41..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-20x20@1x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-20x20@2x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-20x20@2x.png
deleted file mode 100644
index 797d452..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-20x20@2x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-20x20@3x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-20x20@3x.png
deleted file mode 100644
index 6ed2d93..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-20x20@3x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-29x29@1x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-29x29@1x.png
deleted file mode 100644
index 4cd7b00..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-29x29@1x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-29x29@2x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-29x29@2x.png
deleted file mode 100644
index fe73094..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-29x29@2x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-29x29@3x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-29x29@3x.png
deleted file mode 100644
index 321773c..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-29x29@3x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-40x40@1x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-40x40@1x.png
deleted file mode 100644
index 797d452..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-40x40@1x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-40x40@2x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-40x40@2x.png
deleted file mode 100644
index 502f463..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-40x40@2x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-40x40@3x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-40x40@3x.png
deleted file mode 100644
index 0ec3034..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-40x40@3x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-60x60@2x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-60x60@2x.png
deleted file mode 100644
index 0ec3034..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-60x60@2x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-60x60@3x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-60x60@3x.png
deleted file mode 100644
index e9f5fea..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-60x60@3x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-76x76@1x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-76x76@1x.png
deleted file mode 100644
index 84ac32a..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-76x76@1x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-76x76@2x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-76x76@2x.png
deleted file mode 100644
index 8953cba..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-76x76@2x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-83.5x83.5@2x.png b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-83.5x83.5@2x.png
deleted file mode 100644
index 0467bf1..0000000
Binary files a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Icon-App-83.5x83.5@2x.png and /dev/null differ
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Base.lproj/LaunchScreen.storyboard b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Base.lproj/LaunchScreen.storyboard
index 6564da0..f2e259c 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Base.lproj/LaunchScreen.storyboard
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Base.lproj/LaunchScreen.storyboard
@@ -1,10 +1,8 @@
-
-
-
+
+
-
-
+
@@ -16,11 +14,9 @@
-
-
@@ -32,10 +28,10 @@
-
+
-
+
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Info.plist b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Info.plist
index 25236cf..fa50ea4 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Info.plist
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/ios/Runner/Info.plist
@@ -2,15 +2,10 @@
- CFBundleLocalizations
-
- en
- es
-
CFBundleDevelopmentRegion
$(DEVELOPMENT_LANGUAGE)
CFBundleDisplayName
- $(FLAVOR_APP_NAME)
+ Bricks
CFBundleExecutable
$(EXECUTABLE_NAME)
CFBundleIdentifier
@@ -18,7 +13,7 @@
CFBundleInfoDictionaryVersion
6.0
CFBundleName
- $(FLAVOR_APP_NAME)
+ bricks
CFBundlePackageType
APPL
CFBundleShortVersionString
@@ -46,8 +41,6 @@
UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationLandscapeRight
- UIViewControllerBasedStatusBarAppearance
-
CADisableMinimumFrameDurationOnPhone
UIApplicationSupportsIndirectInputEvents
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/lib/l10n/l10n.dart b/somnio_starter/__brick__/{{project_name.snakeCase()}}/lib/l10n/l10n.dart
index 17c891b..834da1c 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/lib/l10n/l10n.dart
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/lib/l10n/l10n.dart
@@ -1,8 +1,7 @@
import 'package:flutter/widgets.dart';
-import 'package:flutter_gen/gen_l10n/app_localizations.dart';
-
-export 'package:flutter_gen/gen_l10n/app_localizations.dart';
+import 'package:{{project_name.snakeCase()}}/l10n/arb/app_localizations.dart';
+export 'package:{{project_name.snakeCase()}}/l10n/arb/app_localizations.dart';
extension AppLocalizationsX on BuildContext {
AppLocalizations get l10n => AppLocalizations.of(this);
}
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/app_config_repository/lib/src/app_config_repository.dart b/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/app_config_repository/lib/src/app_config_repository.dart
index 4c29afd..426f271 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/app_config_repository/lib/src/app_config_repository.dart
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/app_config_repository/lib/src/app_config_repository.dart
@@ -33,10 +33,10 @@ class AppConfigRepository {
/// Returns a [Stream] which indicates whether
/// the current application requires a force upgrade.
Stream isForceUpgradeRequired() {
- var isUpgradeRequired = false;
- var upgradeUrl = '';
-
- _apiClient.appConfigResource.getUpgrade().then((upgrade) {
+ return _apiClient.appConfigResource.getUpgrade().asStream().map((upgrade) {
+ bool isUpgradeRequired;
+ String upgradeUrl;
+
if (_platform == Platform.android) {
isUpgradeRequired = _buildNumber < upgrade.androidBuildNumber;
upgradeUrl = upgrade.androidUpgradeUrl;
@@ -44,13 +44,11 @@ class AppConfigRepository {
isUpgradeRequired = _buildNumber < upgrade.iosBuildNumber;
upgradeUrl = upgrade.iosUpgradeUrl;
}
- });
-
- return Stream.value(
- ForceUpgrade(
+
+ return ForceUpgrade(
isUpgradeRequired: isUpgradeRequired,
upgradeUrl: isUpgradeRequired ? upgradeUrl : '',
- ),
- );
+ );
+ });
}
}
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/gallery/pubspec.yaml b/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/gallery/pubspec.yaml
index 672f411..9f2ad61 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/gallery/pubspec.yaml
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/gallery/pubspec.yaml
@@ -7,11 +7,10 @@ environment:
sdk: ">=2.18.0 <3.0.0"
dependencies:
- {{project_name.snakeCase()}}_ui:
- path: ../
flutter:
sdk: flutter
- flutter_asset_generator: ^1.0.2
+ {{project_name.snakeCase()}}_ui:
+ path: ../
dev_dependencies:
very_good_analysis: ^5.1.0
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/lib/src/theme/{{project_name.snakeCase()}}_theme.dart b/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/lib/src/theme/{{project_name.snakeCase()}}_theme.dart
index 659c9fb..3bb4712 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/lib/src/theme/{{project_name.snakeCase()}}_theme.dart
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/lib/src/theme/{{project_name.snakeCase()}}_theme.dart
@@ -39,7 +39,7 @@ class {{short_name.upperCase()}}Theme {
scaffoldBackgroundColor: {{short_name.upperCase()}}Colors.black,
colorScheme: _darkColorScheme,
appBarTheme: _darkAppBarTheme,
- disabledColor: {{short_name.upperCase()}}Colors.white.withOpacity(0.5),
+ disabledColor: {{short_name.upperCase()}}Colors.white.withValues(alpha: 0.5),
textTheme: _darkTextTheme,
unselectedWidgetColor: {{short_name.upperCase()}}Colors.lightGrey,
iconTheme: _darkIconTheme,
@@ -326,8 +326,8 @@ class {{short_name.upperCase()}}Theme {
}
/// Returns the correct [TabBarTheme] based on the current theme.
- TabBarTheme get _tabBarTheme {
- return TabBarTheme(
+ TabBarThemeData get _tabBarTheme {
+ return TabBarThemeData(
labelStyle: {{short_name.upperCase()}}TextStyle.button,
labelColor: {{short_name.upperCase()}}Colors.darkAqua,
labelPadding: const EdgeInsets.symmetric(
@@ -352,7 +352,7 @@ class {{short_name.upperCase()}}Theme {
return BottomNavigationBarThemeData(
backgroundColor: {{short_name.upperCase()}}Colors.black,
selectedItemColor: {{short_name.upperCase()}}Colors.white,
- unselectedItemColor: {{short_name.upperCase()}}Colors.white.withOpacity(0.74),
+ unselectedItemColor: {{short_name.upperCase()}}Colors.white.withValues(alpha: 0.74),
);
}
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/pubspec.yaml b/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/pubspec.yaml
index 613e3a4..d64332c 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/pubspec.yaml
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/pubspec.yaml
@@ -10,7 +10,6 @@ environment:
dependencies:
flutter:
sdk: flutter
- flutter_asset_generator: ^1.2.0
flutter_svg: ^2.0.10+1
dev_dependencies:
@@ -35,10 +34,7 @@ flutter:
weight: 600
flutter_gen:
- assets:
- output:
- package_parameter_enabled: true
+ output: lib/gen/
line_length: 80
-
integrations:
flutter_svg: true
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/test/src/helpers/pump_app.dart b/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/test/src/helpers/pump_app.dart
index 0be349b..c600695 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/test/src/helpers/pump_app.dart
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/test/src/helpers/pump_app.dart
@@ -1,26 +1,17 @@
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
-import 'package:mockingjay/mockingjay.dart';
extension {{short_name.upperCase()}}Tester on WidgetTester {
Future pumpApp(
Widget widgetUnderTest, {
ThemeData? theme,
- MockNavigator? navigator,
}) async {
await pumpWidget(
MaterialApp(
theme: theme,
- home: navigator == null
- ? Scaffold(
- body: widgetUnderTest,
- )
- : MockNavigatorProvider(
- navigator: navigator,
- child: Scaffold(
- body: widgetUnderTest,
- ),
- ),
+ home: Scaffold(
+ body: widgetUnderTest,
+ ),
),
);
await pump();
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/test/theme/{{project_name.snakeCase()}}_theme_test.dart b/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/test/theme/{{project_name.snakeCase()}}_theme_test.dart
index 991e547..fc09522 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/test/theme/{{project_name.snakeCase()}}_theme_test.dart
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/packages/{{project_name.snakeCase()}}_ui/test/theme/{{project_name.snakeCase()}}_theme_test.dart
@@ -130,7 +130,7 @@ void main() {
});
test(
- 'padding is EdgeInsets.symmetric(horizontal: {{short_name.upperCase()}}Spacing.xlg, vertical: {{short_name.upperCase()}}Spacing.lg)',
+ 'padding is EdgeInsets.symmetric(horizontal: xlg, vertical: lg)',
() {
expect(
{{short_name.upperCase()}}Theme().lightTheme.outlinedButtonTheme.style?.padding!.resolve({}),
@@ -265,7 +265,7 @@ void main() {
});
test(
- 'padding is EdgeInsets.symmetric(horizontal: {{short_name.upperCase()}}Spacing.xlg, vertical: {{short_name.upperCase()}}Spacing.lg)',
+ 'padding is EdgeInsets.symmetric(horizontal: xlg, vertical: lg)',
() {
expect(
{{short_name.upperCase()}}Theme().darkTheme.outlinedButtonTheme.style?.padding?.resolve({}),
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/pubspec.yaml b/somnio_starter/__brick__/{{project_name.snakeCase()}}/pubspec.yaml
index 64654f8..4dadc56 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/pubspec.yaml
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/pubspec.yaml
@@ -14,6 +14,8 @@ dependencies:
path: packages/app_config_repository
auth_client:
path: packages/auth_client
+ {{project_name.snakeCase()}}_ui:
+ path: packages/{{project_name.snakeCase()}}_ui
bloc: ^8.1.4
equatable: ^2.0.5
flutter:
@@ -24,10 +26,8 @@ dependencies:
form_inputs:
path: packages/form_inputs
go_router: ^14.2.9
- intl: ^0.19.0
+ intl: ^0.20.2
package_info_plus: ^8.0.2
- temp_ui:
- path: packages/temp_ui
url_launcher: ^6.3.0
user_repository:
path: packages/user_repository
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/test/app/bloc/app_bloc_test.dart b/somnio_starter/__brick__/{{project_name.snakeCase()}}/test/app/bloc/app_bloc_test.dart
index 9f0562d..270e31b 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/test/app/bloc/app_bloc_test.dart
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/test/app/bloc/app_bloc_test.dart
@@ -14,10 +14,28 @@ void main() {
late UserRepository mockUserRepository;
late AppConfigRepository appConfigRepository;
late ApiClient mockApiClient;
+ late AppConfigResource mockAppConfigResource;
setUp(() {
mockUserRepository = MockUserRepository();
mockApiClient = MockApiClient();
+ mockAppConfigResource = MockAppConfigResource();
+
+ when(() => mockApiClient.appConfigResource)
+ .thenReturn(mockAppConfigResource);
+ when(() => mockAppConfigResource.getUpgrade()).thenAnswer(
+ (_) async => const Upgrade(
+ androidUpgradeUrl:
+ 'https://play.google.com/store/apps/details?id=com.example.{{project_name}}',
+ iosUpgradeUrl: 'https://apps.apple.com/app/{{project_name}}/id123456789',
+ androidBuildNumber: 200,
+ iosBuildNumber: 200,
+ ),
+ );
+ when(() => mockAppConfigResource.getDownForMaintenance()).thenAnswer(
+ (_) async => false,
+ );
+
appConfigRepository = AppConfigRepository(
buildNumber: 201,
platform: Platform.android,
@@ -145,6 +163,15 @@ void main() {
'AppState:AppState(null, AppStatus.forceUpgrade)]'
' when nothing is added',
setUp: () {
+ when(() => mockAppConfigResource.getUpgrade()).thenAnswer(
+ (_) async => const Upgrade(
+ androidUpgradeUrl:
+ 'https://play.google.com/store/apps/details?id=com.example.{{project_name}}',
+ iosUpgradeUrl: 'https://apps.apple.com/app/{{project_name}}/id123456789',
+ androidBuildNumber: 150, // Higher than 140
+ iosBuildNumber: 200,
+ ),
+ );
appConfigRepository = AppConfigRepository(
buildNumber: 140,
platform: Platform.android,
@@ -168,6 +195,15 @@ void main() {
'AppState:AppState(null, AppStatus.forceUpgrade)]'
' when nothing is added',
setUp: () {
+ when(() => mockAppConfigResource.getUpgrade()).thenAnswer(
+ (_) async => const Upgrade(
+ androidUpgradeUrl:
+ 'https://play.google.com/store/apps/details?id=com.example.{{project_name}}',
+ iosUpgradeUrl: 'https://apps.apple.com/app/{{project_name}}/id123456789',
+ androidBuildNumber: 200,
+ iosBuildNumber: 150, // Higher than 100
+ ),
+ );
appConfigRepository = AppConfigRepository(
buildNumber: 100,
platform: Platform.iOS,
@@ -191,6 +227,19 @@ void main() {
'AppState:AppState(null, AppStatus.downForMaintenance)]'
' when nothing is added',
setUp: () {
+ when(() => mockAppConfigResource.getUpgrade()).thenAnswer(
+ (_) async => const Upgrade(
+ androidUpgradeUrl:
+ 'https://play.google.com/store/apps/details?id=com.example.{{project_name}}',
+ iosUpgradeUrl: 'https://apps.apple.com/app/{{project_name}}/id123456789',
+ androidBuildNumber:
+ 50, // Lower than 99 to not trigger force upgrade
+ iosBuildNumber: 50, // Lower than 99 to not trigger force upgrade
+ ),
+ );
+ when(() => mockAppConfigResource.getDownForMaintenance()).thenAnswer(
+ (_) async => true, // Return true to trigger down for maintenance
+ );
appConfigRepository = AppConfigRepository(
buildNumber: 99,
platform: Platform.iOS,
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/test/app/extensions/build_context_test.dart b/somnio_starter/__brick__/{{project_name.snakeCase()}}/test/app/extensions/build_context_test.dart
index 88d6edd..d73e223 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/test/app/extensions/build_context_test.dart
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/test/app/extensions/build_context_test.dart
@@ -1,24 +1,23 @@
import 'package:app_config_repository/app_config_repository.dart';
-import 'package:flutter/widgets.dart';
+import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_test/flutter_test.dart';
-import 'package:{{project_name}}/app/app.dart';
import 'package:mocktail/mocktail.dart';
+import 'package:{{project_name}}/app/app.dart';
import 'package:user_repository/user_repository.dart';
import '../../helpers/helpers.dart';
void main() {
late AppBloc mockAppBloc;
- late BuildContext mockBuildContext;
setUp(() {
mockAppBloc = MockAppBloc();
- mockBuildContext = MockBuildContext();
});
group('BuildContextX', () {
- test('user getter returns the user from AppBloc state', () {
+ testWidgets('user getter returns the user from AppBloc state',
+ (tester) async {
// Mock user
const testUser = User(id: 'id', email: 'email');
@@ -31,14 +30,22 @@ void main() {
),
);
- // Provide the mock AppBloc using the context extension
- when(() => mockBuildContext.read()).thenReturn(mockAppBloc);
-
- // Test the extension method
- final user = mockBuildContext.user;
+ late User? actualUser;
+
+ await tester.pumpWidget(
+ BlocProvider.value(
+ value: mockAppBloc,
+ child: Builder(
+ builder: (context) {
+ actualUser = context.user;
+ return Container();
+ },
+ ),
+ ),
+ );
// Verify that the extension method returns the correct user
- expect(user, equals(testUser));
+ expect(actualUser, equals(testUser));
});
});
}
diff --git a/somnio_starter/__brick__/{{project_name.snakeCase()}}/test/helpers/pump_app.dart b/somnio_starter/__brick__/{{project_name.snakeCase()}}/test/helpers/pump_app.dart
index 35b8a19..ada99e0 100644
--- a/somnio_starter/__brick__/{{project_name.snakeCase()}}/test/helpers/pump_app.dart
+++ b/somnio_starter/__brick__/{{project_name.snakeCase()}}/test/helpers/pump_app.dart
@@ -42,6 +42,8 @@ class MockNavigatorObserver extends Mock implements NavigatorObserver {}
class MockApiClient extends Mock implements ApiClient {}
+class MockAppConfigResource extends Mock implements AppConfigResource {}
+
class FakeRoute extends Fake implements Route {}
class MockHomeBloc extends MockBloc implements HomeBloc {}
@@ -120,7 +122,7 @@ extension AppTester on WidgetTester {
),
],
child: MaterialApp.router(
- title: 'Somnio Starter',
+ title: '{{project_name.titleCase()}}',
localizationsDelegates: const [
AppLocalizations.delegate,
GlobalMaterialLocalizations.delegate,
diff --git a/somnio_starter/hooks/post_gen.dart b/somnio_starter/hooks/post_gen.dart
index 4a68465..4c39146 100644
--- a/somnio_starter/hooks/post_gen.dart
+++ b/somnio_starter/hooks/post_gen.dart
@@ -37,7 +37,12 @@ void run(HookContext context) async {
progress = context.logger.progress(
'Creating auto generated assets using build_runner',
);
-
+ await Process.run(
+ 'mkdir',
+ ['gen'],
+ runInShell: true,
+ workingDirectory: uiPackageDirectory,
+ );
await Process.run(
'flutter',
['pub', 'run', 'build_runner', 'build', '--delete-conflicting-outputs'],
diff --git a/ui_package/__brick__/{{package_name.snakeCase()}}_ui/gallery/pubspec.yaml b/ui_package/__brick__/{{package_name.snakeCase()}}_ui/gallery/pubspec.yaml
index a2a6c9e..34bbb3c 100644
--- a/ui_package/__brick__/{{package_name.snakeCase()}}_ui/gallery/pubspec.yaml
+++ b/ui_package/__brick__/{{package_name.snakeCase()}}_ui/gallery/pubspec.yaml
@@ -11,7 +11,6 @@ dependencies:
path: ../
flutter:
sdk: flutter
- flutter_asset_generator: ^1.0.2
dev_dependencies:
flutter_lints: ^2.0.1
diff --git a/ui_package/__brick__/{{package_name.snakeCase()}}_ui/pubspec.yaml b/ui_package/__brick__/{{package_name.snakeCase()}}_ui/pubspec.yaml
index 6f1278f..0904c4d 100644
--- a/ui_package/__brick__/{{package_name.snakeCase()}}_ui/pubspec.yaml
+++ b/ui_package/__brick__/{{package_name.snakeCase()}}_ui/pubspec.yaml
@@ -10,12 +10,11 @@ environment:
dependencies:
flutter:
sdk: flutter
- flutter_asset_generator: ^1.0.2
flutter_svg: ^2.0.10+1
dev_dependencies:
- build_runner: ^2.4.4'
- flutter_gen_runner: ^5.3.1
+ build_runner: ^2.10.4
+ flutter_gen_runner: ^5.12.0
flutter_test:
sdk: flutter
very_good_analysis: ^5.1.0