Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

example: Update web, iOS, and Android code to the latest Flutter version (#29582)

Tylera91615002221
diff --git a/apps/docs/next-env.d.ts b/apps/docs/next-env.d.ts
index 40c3d68096c..4f11a03dc6c 100644
--- a/apps/docs/next-env.d.ts
+++ b/apps/docs/next-env.d.ts
@@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/user-management/flutter-user-management/.metadata b/examples/user-management/flutter-user-management/.metadata
index 31b763f97f2..bf9453771ae 100644
--- a/examples/user-management/flutter-user-management/.metadata
+++ b/examples/user-management/flutter-user-management/.metadata
@@ -1,11 +1,11 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
-# This file should be version controlled.
+# This file should be version controlled and should not be manually edited.
version:
- revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
- channel: stable
+ revision: "4cf269e36de2573851eaef3c763994f8f9be494d"
+ channel: "stable"
project_type: app
@@ -13,26 +13,26 @@ project_type: app
migration:
platforms:
- platform: root
- create_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
- base_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
+ create_revision: 4cf269e36de2573851eaef3c763994f8f9be494d
+ base_revision: 4cf269e36de2573851eaef3c763994f8f9be494d
- platform: android
- create_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
- base_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
+ create_revision: 4cf269e36de2573851eaef3c763994f8f9be494d
+ base_revision: 4cf269e36de2573851eaef3c763994f8f9be494d
- platform: ios
- create_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
- base_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
+ create_revision: 4cf269e36de2573851eaef3c763994f8f9be494d
+ base_revision: 4cf269e36de2573851eaef3c763994f8f9be494d
- platform: linux
- create_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
- base_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
+ create_revision: 4cf269e36de2573851eaef3c763994f8f9be494d
+ base_revision: 4cf269e36de2573851eaef3c763994f8f9be494d
- platform: macos
- create_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
- base_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
+ create_revision: 4cf269e36de2573851eaef3c763994f8f9be494d
+ base_revision: 4cf269e36de2573851eaef3c763994f8f9be494d
- platform: web
- create_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
- base_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
+ create_revision: 4cf269e36de2573851eaef3c763994f8f9be494d
+ base_revision: 4cf269e36de2573851eaef3c763994f8f9be494d
- platform: windows
- create_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
- base_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
+ create_revision: 4cf269e36de2573851eaef3c763994f8f9be494d
+ base_revision: 4cf269e36de2573851eaef3c763994f8f9be494d
# User provided section
diff --git a/examples/user-management/flutter-user-management/android/.gitignore b/examples/user-management/flutter-user-management/android/.gitignore
index 6f568019d3c..55afd919c65 100644
--- a/examples/user-management/flutter-user-management/android/.gitignore
+++ b/examples/user-management/flutter-user-management/android/.gitignore
@@ -7,7 +7,7 @@ gradle-wrapper.jar
GeneratedPluginRegistrant.java
# 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/examples/user-management/flutter-user-management/android/app/build.gradle b/examples/user-management/flutter-user-management/android/app/build.gradle
index 40a2dc3f3c7..79b3133b847 100644
--- a/examples/user-management/flutter-user-management/android/app/build.gradle
+++ b/examples/user-management/flutter-user-management/android/app/build.gradle
@@ -1,71 +1,44 @@
-def localProperties = new Properties()
-def localPropertiesFile = rootProject.file('local.properties')
-if (localPropertiesFile.exists()) {
- localPropertiesFile.withReader('UTF-8') { reader ->
- localProperties.load(reader)
- }
-}
-
-def flutterRoot = localProperties.getProperty('flutter.sdk')
-if (flutterRoot == null) {
- throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
-}
-
-def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
-if (flutterVersionCode == null) {
- flutterVersionCode = '1'
-}
-
-def flutterVersionName = localProperties.getProperty('flutter.versionName')
-if (flutterVersionName == null) {
- flutterVersionName = '1.0'
+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"
}
-apply plugin: 'com.android.application'
-apply plugin: 'kotlin-android'
-apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
-
android {
- compileSdkVersion flutter.compileSdkVersion
- ndkVersion flutter.ndkVersion
+ namespace = "com.example.supabase_quickstart"
+ compileSdk = flutter.compileSdkVersion
+ ndkVersion = flutter.ndkVersion
compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
- jvmTarget = '1.8'
- }
-
- sourceSets {
- main.java.srcDirs += 'src/main/kotlin'
+ jvmTarget = JavaVersion.VERSION_1_8
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
- applicationId "com.example.supabase_flutter_quickstart"
+ applicationId = "com.example.supabase_quickstart"
// You can update the following values to match your application needs.
- // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
- minSdkVersion flutter.minSdkVersion
- targetSdkVersion flutter.targetSdkVersion
- versionCode flutterVersionCode.toInteger()
- versionName flutterVersionName
+ // 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.debug
+ signingConfig = signingConfigs.debug
}
}
}
flutter {
- source '../..'
-}
-
-dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
+ source = "../.."
}
diff --git a/examples/user-management/flutter-user-management/android/app/src/debug/AndroidManifest.xml b/examples/user-management/flutter-user-management/android/app/src/debug/AndroidManifest.xml
index 502d0052833..399f6981d5d 100644
--- a/examples/user-management/flutter-user-management/android/app/src/debug/AndroidManifest.xml
+++ b/examples/user-management/flutter-user-management/android/app/src/debug/AndroidManifest.xml
@@ -1,5 +1,4 @@
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.example.supabase_flutter_quickstart">
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
diff --git a/examples/user-management/flutter-user-management/android/app/src/main/AndroidManifest.xml b/examples/user-management/flutter-user-management/android/app/src/main/AndroidManifest.xml
index f78c4794901..bde9a44585d 100644
--- a/examples/user-management/flutter-user-management/android/app/src/main/AndroidManifest.xml
+++ b/examples/user-management/flutter-user-management/android/app/src/main/AndroidManifest.xml
@@ -1,13 +1,13 @@
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.example.supabase_flutter_quickstart">
- <application
- android:label="supabase_flutter_quickstart"
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
+ <application
+ android:label="supabase_quickstart"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
+ android:taskAffinity=""
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
@@ -41,4 +41,15 @@
android:name="flutterEmbedding"
android:value="2" />
</application>
+ <!-- Required to query activities that can process text, see:
+ https://developer.android.com/training/package-visibility and
+ https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
+
+ In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
+ <queries>
+ <intent>
+ <action android:name="android.intent.action.PROCESS_TEXT"/>
+ <data android:mimeType="text/plain"/>
+ </intent>
+ </queries>
</manifest>
diff --git a/examples/user-management/flutter-user-management/android/app/src/main/kotlin/com/example/supabase_flutter_quickstart/MainActivity.kt b/examples/user-management/flutter-user-management/android/app/src/main/kotlin/com/example/supabase_flutter_quickstart/MainActivity.kt
deleted file mode 100644
index 8f7a7da3aaf..00000000000
--- a/examples/user-management/flutter-user-management/android/app/src/main/kotlin/com/example/supabase_flutter_quickstart/MainActivity.kt
+++ /dev/null
@@ -1,6 +0,0 @@
-package com.example.supabase_flutter_quickstart
-
-import io.flutter.embedding.android.FlutterActivity
-
-class MainActivity: FlutterActivity() {
-}
diff --git a/examples/user-management/flutter-user-management/android/app/src/main/kotlin/com/example/supabase_quickstart/MainActivity.kt b/examples/user-management/flutter-user-management/android/app/src/main/kotlin/com/example/supabase_quickstart/MainActivity.kt
new file mode 100644
index 00000000000..6b8965ed41a
--- /dev/null
+++ b/examples/user-management/flutter-user-management/android/app/src/main/kotlin/com/example/supabase_quickstart/MainActivity.kt
@@ -0,0 +1,5 @@
+package com.example.supabase_quickstart
+
+import io.flutter.embedding.android.FlutterActivity
+
+class MainActivity: FlutterActivity()
diff --git a/examples/user-management/flutter-user-management/android/app/src/profile/AndroidManifest.xml b/examples/user-management/flutter-user-management/android/app/src/profile/AndroidManifest.xml
index 502d0052833..399f6981d5d 100644
--- a/examples/user-management/flutter-user-management/android/app/src/profile/AndroidManifest.xml
+++ b/examples/user-management/flutter-user-management/android/app/src/profile/AndroidManifest.xml
@@ -1,5 +1,4 @@
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.example.supabase_flutter_quickstart">
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
diff --git a/examples/user-management/flutter-user-management/android/build.gradle b/examples/user-management/flutter-user-management/android/build.gradle
index 83ae220041c..d2ffbffa4cd 100644
--- a/examples/user-management/flutter-user-management/android/build.gradle
+++ b/examples/user-management/flutter-user-management/android/build.gradle
@@ -1,16 +1,3 @@
-buildscript {
- ext.kotlin_version = '1.6.10'
- repositories {
- google()
- mavenCentral()
- }
-
- dependencies {
- classpath 'com.android.tools.build:gradle:7.1.2'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- }
-}
-
allprojects {
repositories {
google()
@@ -18,14 +5,14 @@ allprojects {
}
}
-rootProject.buildDir = '../build'
+rootProject.buildDir = "../build"
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
- project.evaluationDependsOn(':app')
+ project.evaluationDependsOn(":app")
}
-task clean(type: Delete) {
+tasks.register("clean", Delete) {
delete rootProject.buildDir
}
diff --git a/examples/user-management/flutter-user-management/android/gradle.properties b/examples/user-management/flutter-user-management/android/gradle.properties
index 94adc3a3f97..25971708216 100644
--- a/examples/user-management/flutter-user-management/android/gradle.properties
+++ b/examples/user-management/flutter-user-management/android/gradle.properties
@@ -1,3 +1,3 @@
-org.gradle.jvmargs=-Xmx1536M
+org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError
android.useAndroidX=true
android.enableJetifier=true
diff --git a/examples/user-management/flutter-user-management/android/gradle/wrapper/gradle-wrapper.properties b/examples/user-management/flutter-user-management/android/gradle/wrapper/gradle-wrapper.properties
index cc5527d781a..7bb2df6ba6e 100644
--- a/examples/user-management/flutter-user-management/android/gradle/wrapper/gradle-wrapper.properties
+++ b/examples/user-management/flutter-user-management/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.4-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
diff --git a/examples/user-management/flutter-user-management/android/settings.gradle b/examples/user-management/flutter-user-management/android/settings.gradle
index 44e62bcf06a..b9e43bd3761 100644
--- a/examples/user-management/flutter-user-management/android/settings.gradle
+++ b/examples/user-management/flutter-user-management/android/settings.gradle
@@ -1,11 +1,25 @@
-include ':app'
+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
+ }()
-def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
-def properties = new Properties()
+ includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
-assert localPropertiesFile.exists()
-localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
+ repositories {
+ google()
+ mavenCentral()
+ gradlePluginPortal()
+ }
+}
-def flutterSdkPath = properties.getProperty("flutter.sdk")
-assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
-apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
+plugins {
+ id "dev.flutter.flutter-plugin-loader" version "1.0.0"
+ id "com.android.application" version "8.1.0" apply false
+ id "org.jetbrains.kotlin.android" version "1.8.22" apply false
+}
+
+include ":app"
diff --git a/examples/user-management/flutter-user-management/ios/.gitignore b/examples/user-management/flutter-user-management/ios/.gitignore
index 3514239da6f..7a7f9873ad7 100644
--- a/examples/user-management/flutter-user-management/ios/.gitignore
+++ b/examples/user-management/flutter-user-management/ios/.gitignore
@@ -1,3 +1,4 @@
+**/dgph
*.mode1v3
*.mode2v3
*.moved-aside
@@ -25,7 +26,6 @@ Flutter/flutter_assets/
Flutter/flutter_export_environment.sh
ServiceDefinitions.json
Runner/GeneratedPluginRegistrant.*
-**/dgph
# Exceptions to above rules.
!default.mode1v3
diff --git a/examples/user-management/flutter-user-management/ios/Podfile b/examples/user-management/flutter-user-management/ios/Podfile
index 2c068c404bd..d97f17e223f 100644
--- a/examples/user-management/flutter-user-management/ios/Podfile
+++ b/examples/user-management/flutter-user-management/ios/Podfile
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
-platform :ios, '12.0'
+# platform :ios, '12.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
@@ -32,6 +32,9 @@ target 'Runner' do
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
+ target 'RunnerTests' do
+ inherit! :search_paths
+ end
end
post_install do |installer|
diff --git a/examples/user-management/flutter-user-management/ios/Podfile.lock b/examples/user-management/flutter-user-management/ios/Podfile.lock
index 9f31d9b4fab..0d8407ca9d5 100644
--- a/examples/user-management/flutter-user-management/ios/Podfile.lock
+++ b/examples/user-management/flutter-user-management/ios/Podfile.lock
@@ -1,5 +1,5 @@
PODS:
- - app_links (0.0.1):
+ - app_links (0.0.2):
- Flutter
- Flutter (1.0.0)
- image_picker_ios (0.0.1):
@@ -36,13 +36,13 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/url_launcher_ios/ios"
SPEC CHECKSUMS:
- app_links: e70ca16b4b0f88253b3b3660200d4a10b4ea9795
+ app_links: e7a6750a915a9e161c58d91bc610e8cd1d4d0ad0
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
image_picker_ios: c560581cceedb403a6ff17f2f816d7fea1421fc1
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe
-PODFILE CHECKSUM: 4e8f8b2be68aeea4c0d5beb6ff1e79fface1d048
+PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796
COCOAPODS: 1.14.3
diff --git a/examples/user-management/flutter-user-management/ios/Runner.xcodeproj/project.pbxproj b/examples/user-management/flutter-user-management/ios/Runner.xcodeproj/project.pbxproj
index 3acdb5a5a15..3a5beb2676d 100644
--- a/examples/user-management/flutter-user-management/ios/Runner.xcodeproj/project.pbxproj
+++ b/examples/user-management/flutter-user-management/ios/Runner.xcodeproj/project.pbxproj
@@ -8,14 +8,26 @@
/* Begin PBXBuildFile section */
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
- 2A9ED23B051EDD0F5FBED417 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D7E3D491E8646C679C856589 /* Pods_Runner.framework */; };
+ 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; };
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
+ 9D4180ECD51A9BF2E610DE16 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C0EAA4F97558899A3D22B021 /* Pods_Runner.framework */; };
+ E5D0345A9613429BF06BD4F8 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B564CCE30E529C194834358 /* Pods_RunnerTests.framework */; };
/* End PBXBuildFile section */
+/* Begin PBXContainerItemProxy section */
+ 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 97C146E61CF9000F007C117D /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 97C146ED1CF9000F007C117D;
+ remoteInfo = Runner;
+ };
+/* End PBXContainerItemProxy section */
+
/* Begin PBXCopyFilesBuildPhase section */
9705A1C41CF9048500538489 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
@@ -30,11 +42,16 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
+ 0DC4750BE6045D0060504AD8 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
- 2879CD6D78BD452C535364FA /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
+ 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
+ 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 = "<group>"; };
- 4CE913C6A9C558793805D287 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
+ 3B564CCE30E529C194834358 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+ 528BC4ACD39246E20F25B67C /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
+ 52BBB127CFB6C413C9835A7F /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
+ 6CCB7E89B3373E3BF30AA017 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
@@ -45,8 +62,9 @@
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
- D456D2C96FEC7E0153676626 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
- D7E3D491E8646C679C856589 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+ C0EAA4F97558899A3D22B021 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+ D178ECC6C07FAB4480EB5DF4 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
+ E8AED684B494047C6CF63D35 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -54,19 +72,47 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- 2A9ED23B051EDD0F5FBED417 /* Pods_Runner.framework in Frameworks */,
+ 9D4180ECD51A9BF2E610DE16 /* Pods_Runner.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ B0746AD51B6A280759CB6CDB /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ E5D0345A9613429BF06BD4F8 /* Pods_RunnerTests.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
- 8E763F5BE03DF8C1B7DFE094 /* Pods */ = {
+ 331C8082294A63A400263BE5 /* RunnerTests */ = {
isa = PBXGroup;
children = (
- D456D2C96FEC7E0153676626 /* Pods-Runner.debug.xcconfig */,
- 2879CD6D78BD452C535364FA /* Pods-Runner.release.xcconfig */,
- 4CE913C6A9C558793805D287 /* Pods-Runner.profile.xcconfig */,
+ 331C807B294A618700263BE5 /* RunnerTests.swift */,
+ );
+ path = RunnerTests;
+ sourceTree = "<group>";
+ };
+ 4A6E7318E7CA276EE42F2060 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ C0EAA4F97558899A3D22B021 /* Pods_Runner.framework */,
+ 3B564CCE30E529C194834358 /* Pods_RunnerTests.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ 890855C46D1761289DA4687C /* Pods */ = {
+ isa = PBXGroup;
+ children = (
+ E8AED684B494047C6CF63D35 /* Pods-Runner.debug.xcconfig */,
+ 52BBB127CFB6C413C9835A7F /* Pods-Runner.release.xcconfig */,
+ 6CCB7E89B3373E3BF30AA017 /* Pods-Runner.profile.xcconfig */,
+ 0DC4750BE6045D0060504AD8 /* Pods-RunnerTests.debug.xcconfig */,
+ D178ECC6C07FAB4480EB5DF4 /* Pods-RunnerTests.release.xcconfig */,
+ 528BC4ACD39246E20F25B67C /* Pods-RunnerTests.profile.xcconfig */,
);
name = Pods;
path = Pods;
@@ -89,8 +135,9 @@
9740EEB11CF90186004384FC /* Flutter */,
97C146F01CF9000F007C117D /* Runner */,
97C146EF1CF9000F007C117D /* Products */,
- 8E763F5BE03DF8C1B7DFE094 /* Pods */,
- E0EA85E1DB1D9CF582E64E75 /* Frameworks */,
+ 331C8082294A63A400263BE5 /* RunnerTests */,
+ 890855C46D1761289DA4687C /* Pods */,
+ 4A6E7318E7CA276EE42F2060 /* Frameworks */,
);
sourceTree = "<group>";
};
@@ -98,6 +145,7 @@
isa = PBXGroup;
children = (
97C146EE1CF9000F007C117D /* Runner.app */,
+ 331C8081294A63A400263BE5 /* RunnerTests.xctest */,
);
name = Products;
sourceTree = "<group>";
@@ -117,29 +165,40 @@
path = Runner;
sourceTree = "<group>";
};
- E0EA85E1DB1D9CF582E64E75 /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- D7E3D491E8646C679C856589 /* Pods_Runner.framework */,
- );
- name = Frameworks;
- sourceTree = "<group>";
- };
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
+ 331C8080294A63A400263BE5 /* RunnerTests */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
+ buildPhases = (
+ EAD59A9F6A98ED96FB609173 /* [CP] Check Pods Manifest.lock */,
+ 331C807D294A63A400263BE5 /* Sources */,
+ 331C807F294A63A400263BE5 /* Resources */,
+ B0746AD51B6A280759CB6CDB /* Frameworks */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 331C8086294A63A400263BE5 /* PBXTargetDependency */,
+ );
+ name = RunnerTests;
+ productName = RunnerTests;
+ productReference = 331C8081294A63A400263BE5 /* RunnerTests.xctest */;
+ productType = "com.apple.product-type.bundle.unit-test";
+ };
97C146ED1CF9000F007C117D /* Runner */ = {
isa = PBXNativeTarget;
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
buildPhases = (
- 3BCC1F4952B3ACD64BAC7F8A /* [CP] Check Pods Manifest.lock */,
+ 90BE5233E130D7C38B4F919C /* [CP] Check Pods Manifest.lock */,
9740EEB61CF901F6004384FC /* Run Script */,
97C146EA1CF9000F007C117D /* Sources */,
97C146EB1CF9000F007C117D /* Frameworks */,
97C146EC1CF9000F007C117D /* Resources */,
9705A1C41CF9048500538489 /* Embed Frameworks */,
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
- 42D88EB2AD99301B3F31AE35 /* [CP] Embed Pods Frameworks */,
+ 14A432F2F7F9BF282F3B90AC /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
@@ -156,9 +215,14 @@
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
+ BuildIndependentTargetsInParallel = YES;
LastUpgradeCheck = 1510;
ORGANIZATIONNAME = "";
TargetAttributes = {
+ 331C8080294A63A400263BE5 = {
+ CreatedOnToolsVersion = 14.0;
+ TestTargetID = 97C146ED1CF9000F007C117D;
+ };
97C146ED1CF9000F007C117D = {
CreatedOnToolsVersion = 7.3.1;
LastSwiftMigration = 1100;
@@ -179,11 +243,19 @@
projectRoot = "";
targets = (
97C146ED1CF9000F007C117D /* Runner */,
+ 331C8080294A63A400263BE5 /* RunnerTests */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
+ 331C807F294A63A400263BE5 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
97C146EC1CF9000F007C117D /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
@@ -198,6 +270,23 @@
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
+ 14A432F2F7F9BF282F3B90AC /* [CP] Embed Pods Frameworks */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
+ );
+ name = "[CP] Embed Pods Frameworks";
+ outputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
@@ -214,7 +303,7 @@
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
};
- 3BCC1F4952B3ACD64BAC7F8A /* [CP] Check Pods Manifest.lock */ = {
+ 90BE5233E130D7C38B4F919C /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
@@ -236,41 +325,54 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
- 42D88EB2AD99301B3F31AE35 /* [CP] Embed Pods Frameworks */ = {
+ 9740EEB61CF901F6004384FC /* Run Script */ = {
isa = PBXShellScriptBuildPhase;
+ alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
- inputFileListPaths = (
- "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
+ inputPaths = (
);
- name = "[CP] Embed Pods Frameworks";
- outputFileListPaths = (
- "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
+ name = "Run Script";
+ outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
- showEnvVarsInLog = 0;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
};
- 9740EEB61CF901F6004384FC /* Run Script */ = {
+ EAD59A9F6A98ED96FB609173 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
- alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
+ inputFileListPaths = (
+ );
inputPaths = (
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+ "${PODS_ROOT}/Manifest.lock",
+ );
+ name = "[CP] Check Pods Manifest.lock";
+ outputFileListPaths = (
);
- name = "Run Script";
outputPaths = (
+ "$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
+ showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
+ 331C807D294A63A400263BE5 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
97C146EA1CF9000F007C117D /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
@@ -282,6 +384,14 @@
};
/* End PBXSourcesBuildPhase section */
+/* Begin PBXTargetDependency section */
+ 331C8086294A63A400263BE5 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 97C146ED1CF9000F007C117D /* Runner */;
+ targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
/* Begin PBXVariantGroup section */
97C146FA1CF9000F007C117D /* Main.storyboard */ = {
isa = PBXVariantGroup;
@@ -306,6 +416,7 @@
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++";
@@ -335,6 +446,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;
@@ -359,10 +471,14 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ DEVELOPMENT_TEAM = W922Q3DGN8;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- PRODUCT_BUNDLE_IDENTIFIER = com.example.supabaseFlutter;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.supabaseQuickstart;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
@@ -370,10 +486,61 @@
};
name = Profile;
};
+ 331C8088294A63A400263BE5 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 0DC4750BE6045D0060504AD8 /* Pods-RunnerTests.debug.xcconfig */;
+ buildSettings = {
+ BUNDLE_LOADER = "$(TEST_HOST)";
+ CODE_SIGN_STYLE = Automatic;
+ CURRENT_PROJECT_VERSION = 1;
+ GENERATE_INFOPLIST_FILE = YES;
+ MARKETING_VERSION = 1.0;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.supabaseQuickstart.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;
+ };
+ 331C8089294A63A400263BE5 /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = D178ECC6C07FAB4480EB5DF4 /* Pods-RunnerTests.release.xcconfig */;
+ buildSettings = {
+ BUNDLE_LOADER = "$(TEST_HOST)";
+ CODE_SIGN_STYLE = Automatic;
+ CURRENT_PROJECT_VERSION = 1;
+ GENERATE_INFOPLIST_FILE = YES;
+ MARKETING_VERSION = 1.0;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.supabaseQuickstart.RunnerTests;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 5.0;
+ TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
+ };
+ name = Release;
+ };
+ 331C808A294A63A400263BE5 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 528BC4ACD39246E20F25B67C /* Pods-RunnerTests.profile.xcconfig */;
+ buildSettings = {
+ BUNDLE_LOADER = "$(TEST_HOST)";
+ CODE_SIGN_STYLE = Automatic;
+ CURRENT_PROJECT_VERSION = 1;
+ GENERATE_INFOPLIST_FILE = YES;
+ MARKETING_VERSION = 1.0;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.supabaseQuickstart.RunnerTests;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 5.0;
+ TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
+ };
+ name = Profile;
+ };
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++";
@@ -403,6 +570,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;
@@ -429,6 +597,7 @@
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++";
@@ -458,6 +627,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;
@@ -470,7 +640,8 @@
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
- SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
+ SWIFT_COMPILATION_MODE = wholemodule;
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
@@ -483,10 +654,14 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ DEVELOPMENT_TEAM = W922Q3DGN8;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- PRODUCT_BUNDLE_IDENTIFIER = com.example.supabaseFlutter;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.supabaseQuickstart;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -502,10 +677,14 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ DEVELOPMENT_TEAM = W922Q3DGN8;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- PRODUCT_BUNDLE_IDENTIFIER = com.example.supabaseFlutter;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.supabaseQuickstart;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
@@ -516,6 +695,16 @@
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
+ 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 331C8088294A63A400263BE5 /* Debug */,
+ 331C8089294A63A400263BE5 /* Release */,
+ 331C808A294A63A400263BE5 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
isa = XCConfigurationList;
buildConfigurations = (
diff --git a/examples/user-management/flutter-user-management/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/user-management/flutter-user-management/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
index e67b2808af0..8e3ca5dfe19 100644
--- a/examples/user-management/flutter-user-management/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
+++ b/examples/user-management/flutter-user-management/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -27,8 +27,6 @@
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
- <Testables>
- </Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
@@ -38,8 +36,19 @@
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</MacroExpansion>
- <AdditionalOptions>
- </AdditionalOptions>
+ <Testables>
+ <TestableReference
+ skipped = "NO"
+ parallelizable = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "331C8080294A63A400263BE5"
+ BuildableName = "RunnerTests.xctest"
+ BlueprintName = "RunnerTests"
+ ReferencedContainer = "container:Runner.xcodeproj">
+ </BuildableReference>
+ </TestableReference>
+ </Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
@@ -61,8 +70,6 @@
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
- <AdditionalOptions>
- </AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Profile"
diff --git a/examples/user-management/flutter-user-management/ios/Runner/AppDelegate.swift b/examples/user-management/flutter-user-management/ios/Runner/AppDelegate.swift
index 70693e4a8c1..626664468b8 100644
--- a/examples/user-management/flutter-user-management/ios/Runner/AppDelegate.swift
+++ b/examples/user-management/flutter-user-management/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/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
index 28c6bf03016..7353c41ecf9 100644
Binary files a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
index 2ccbfd967d9..797d452e458 100644
Binary files a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
index f091b6b0bca..6ed2d933e11 100644
Binary files a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
index 4cde12118dd..4cd7b0099ca 100644
Binary files a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
index d0ef06e7edb..fe730945a01 100644
Binary files a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
index dcdc2306c28..321773cd857 100644
Binary files a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
index 2ccbfd967d9..797d452e458 100644
Binary files a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
index c8f9ed8f5ce..502f463a9bc 100644
Binary files a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
index a6d6b8609df..0ec30343922 100644
Binary files a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
index a6d6b8609df..0ec30343922 100644
Binary files a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
index 75b2d164a5a..e9f5fea27c7 100644
Binary files a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
index c4df70d39da..84ac32ae7d9 100644
Binary files a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
index 6a84f41e14e..8953cba0906 100644
Binary files a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
index d0e1f585360..0467bf12aa4 100644
Binary files a/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and b/examples/user-management/flutter-user-management/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/examples/user-management/flutter-user-management/ios/Runner/Info.plist b/examples/user-management/flutter-user-management/ios/Runner/Info.plist
index 84065d7ff84..c38fabf5396 100644
--- a/examples/user-management/flutter-user-management/ios/Runner/Info.plist
+++ b/examples/user-management/flutter-user-management/ios/Runner/Info.plist
@@ -2,8 +2,12 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
+ <key>CADisableMinimumFrameDurationOnPhone</key>
+ <true/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
+ <key>CFBundleDisplayName</key>
+ <string>Supabase Quickstart</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
@@ -11,17 +15,38 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
- <string>supabase_flutter</string>
+ <string>supabase_quickstart</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
+ <key>CFBundleURLTypes</key>
+ <array>
+ <dict>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>CFBundleURLSchemes</key>
+ <array>
+ <string>io.supabase.flutterquickstart</string>
+ </array>
+ </dict>
+ </array>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
+ <key>FlutterDeepLinkingEnabled</key>
+ <false/>
<key>LSRequiresIPhoneOS</key>
<true/>
+ <key>NSCameraUsageDescription</key>
+ <string>Need access to camera to select profile image.</string>
+ <key>NSMicrophoneUsageDescription</key>
+ <string>Need access to mic.</string>
+ <key>NSPhotoLibraryUsageDescription</key>
+ <string>Need access to photo library to select profile image.</string>
+ <key>UIApplicationSupportsIndirectInputEvents</key>
+ <true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
@@ -41,26 +66,5 @@
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
- <key>CFBundleURLTypes</key>
- <array>
- <dict>
- <key>CFBundleTypeRole</key>
- <string>Editor</string>
- <key>CFBundleURLSchemes</key>
- <array>
- <string>io.supabase.flutterquickstart</string>
- </array>
- </dict>
- </array>
- <key>NSPhotoLibraryUsageDescription</key>
- <string>Need access to photo library to select profile image.</string>
- <key>NSCameraUsageDescription</key>
- <string>Need access to camera to select profile image.</string>
- <key>NSMicrophoneUsageDescription</key>
- <string>Need access to mic.</string>
- <key>CADisableMinimumFrameDurationOnPhone</key>
- <true/>
- <key>UIApplicationSupportsIndirectInputEvents</key>
- <true/>
</dict>
</plist>
diff --git a/examples/user-management/flutter-user-management/ios/RunnerTests/RunnerTests.swift b/examples/user-management/flutter-user-management/ios/RunnerTests/RunnerTests.swift
new file mode 100644
index 00000000000..86a7c3b1b61
--- /dev/null
+++ b/examples/user-management/flutter-user-management/ios/RunnerTests/RunnerTests.swift
@@ -0,0 +1,12 @@
+import Flutter
+import UIKit
+import XCTest
+
+class RunnerTests: XCTestCase {
+
+ func testExample() {
+ // If you add code to the Runner application, consider adding tests here.
+ // See https://developer.apple.com/documentation/xctest for more information about using XCTest.
+ }
+
+}
diff --git a/examples/user-management/flutter-user-management/lib/pages/login_page.dart b/examples/user-management/flutter-user-management/lib/pages/login_page.dart
index 462b7c97d2e..5ab6b7e1abc 100644
--- a/examples/user-management/flutter-user-management/lib/pages/login_page.dart
+++ b/examples/user-management/flutter-user-management/lib/pages/login_page.dart
@@ -57,12 +57,15 @@ class _LoginPageState extends State<LoginPage> {
final session = data.session;
if (session != null) {
_redirecting = true;
- Navigator.of(context).pushReplacement(
- MaterialPageRoute(builder: (context) => const AccountPage()),
- );
+ if (mounted) {
+ Navigator.of(context).pushReplacement(
+ MaterialPageRoute(builder: (context) => const AccountPage()),
+ );
+ }
}
},
onError: (error) {
+ if (!mounted) return;
if (error is AuthException) {
context.showSnackBar(error.message, isError: true);
} else {
diff --git a/examples/user-management/flutter-user-management/pubspec.yaml b/examples/user-management/flutter-user-management/pubspec.yaml
index a255f93a88b..b44f78bbb55 100644
--- a/examples/user-management/flutter-user-management/pubspec.yaml
+++ b/examples/user-management/flutter-user-management/pubspec.yaml
@@ -6,7 +6,7 @@ publish_to: 'none'
version: 1.0.0+1
environment:
- sdk: '>=2.17.0 <4.0.0'
+ sdk: '>=3.0.0 <4.0.0'
dependencies:
flutter:
@@ -19,7 +19,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
- lint: ^1.5.3
+ lint: ^2.3.0
flutter:
uses-material-design: true
diff --git a/examples/user-management/flutter-user-management/web/index.html b/examples/user-management/flutter-user-management/web/index.html
index 2d02249b123..4e56753f614 100644
--- a/examples/user-management/flutter-user-management/web/index.html
+++ b/examples/user-management/flutter-user-management/web/index.html
@@ -23,36 +23,16 @@
<!-- iOS meta tags & icons -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
- <meta name="apple-mobile-web-app-title" content="flutter_user_management">
+ <meta name="apple-mobile-web-app-title" content="supabase_quickstart">
<link rel="apple-touch-icon" href="icons/Icon-192.png">
<!-- Favicon -->
<link rel="icon" type="image/png" href="favicon.png"/>
- <title>flutter_user_management</title>
+ <title>supabase_quickstart</title>
<link rel="manifest" href="manifest.json">
-
- <script>
- // The value below is injected by flutter build, do not touch.
- var serviceWorkerVersion = null;
- </script>
- <!-- This script adds the flutter initialization JS code -->
- <script src="flutter.js" defer></script>
</head>
<body>
- <script>
- window.addEventListener('load', function(ev) {
- // Download main.dart.js
- _flutter.loader.loadEntrypoint({
- serviceWorker: {
- serviceWorkerVersion: serviceWorkerVersion,
- }
- }).then(function(engineInitializer) {
- return engineInitializer.initializeEngine();
- }).then(function(appRunner) {
- return appRunner.runApp();
- });
- });
- </script>
+ <script src="flutter_bootstrap.js" async></script>
</body>
</html>
diff --git a/examples/user-management/flutter-user-management/web/manifest.json b/examples/user-management/flutter-user-management/web/manifest.json
index 4170261a271..04573ed49b0 100644
--- a/examples/user-management/flutter-user-management/web/manifest.json
+++ b/examples/user-management/flutter-user-management/web/manifest.json
@@ -1,6 +1,6 @@
{
- "name": "flutter_user_management",
- "short_name": "flutter_user_management",
+ "name": "supabase_quickstart",
+ "short_name": "supabase_quickstart",
"start_url": ".",
"display": "standalone",
"background_color": "#0175C2",