The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: user flutter create to update platform project files
Jason Rai125081d7f4f0
diff --git a/examples/flutter-user-management/.metadata b/examples/flutter-user-management/.metadatanew file mode 100644index 00000000000..fd70cabc06d--- /dev/null+++ b/examples/flutter-user-management/.metadata@@ -0,0 +1,10 @@+# 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 and should not be manually edited.++version:+ revision: 77d935af4db863f6abd0b9c31c7e6df2a13de57b+ channel: stable++project_type: appdiff --git a/examples/flutter-user-management/android/.gitignore b/examples/flutter-user-management/android/.gitignoreindex 0a741cb43d6..6f568019d3c 100644--- a/examples/flutter-user-management/android/.gitignore+++ b/examples/flutter-user-management/android/.gitignore@@ -9,3 +9,5 @@ GeneratedPluginRegistrant.java# Remember to never publicly share your keystore.# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-appkey.properties+**/*.keystore+**/*.jksdiff --git a/examples/flutter-user-management/android/app/build.gradle b/examples/flutter-user-management/android/app/build.gradleindex aff4234ae58..1aaa2f2ea0c 100644--- a/examples/flutter-user-management/android/app/build.gradle+++ b/examples/flutter-user-management/android/app/build.gradle@@ -26,7 +26,16 @@ apply plugin: 'kotlin-android'apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"android {- compileSdkVersion 30+ compileSdkVersion flutter.compileSdkVersion++ compileOptions {+ sourceCompatibility JavaVersion.VERSION_1_8+ targetCompatibility JavaVersion.VERSION_1_8+ }++ kotlinOptions {+ jvmTarget = '1.8'+ }sourceSets {main.java.srcDirs += 'src/main/kotlin'@@ -35,8 +44,8 @@ android {defaultConfig {// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).applicationId "io.supabase.supabase_demo"- minSdkVersion 18- targetSdkVersion 30+ minSdkVersion flutter.minSdkVersion+ targetSdkVersion flutter.targetSdkVersionversionCode flutterVersionCode.toInteger()versionName flutterVersionName}diff --git a/examples/flutter-user-management/android/app/src/main/AndroidManifest.xml b/examples/flutter-user-management/android/app/src/main/AndroidManifest.xmlindex b83deccaff5..09eee6008ab 100644--- a/examples/flutter-user-management/android/app/src/main/AndroidManifest.xml+++ b/examples/flutter-user-management/android/app/src/main/AndroidManifest.xml@@ -7,6 +7,7 @@android:fullBackupContent="false"><activityandroid:name=".MainActivity"+ android:exported="true"android:launchMode="singleTop"android:theme="@style/LaunchTheme"android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"@@ -20,21 +21,12 @@android:name="io.flutter.embedding.android.NormalTheme"android:resource="@style/NormalTheme"/>- <!-- Displays an Android View that continues showing the launch screen- Drawable until Flutter paints its first frame, then this splash- screen fades out. A splash screen is useful to avoid any visual- gap between the end of Android's launch screen and the painting of- Flutter's first frame. -->- <meta-data- android:name="io.flutter.embedding.android.SplashScreenDrawable"- android:resource="@drawable/launch_background"- /><intent-filter><action android:name="android.intent.action.MAIN"/><category android:name="android.intent.category.LAUNCHER"/></intent-filter>- <!-- Deep Links -->+ <!-- Deep Links --><intent-filter><action android:name="android.intent.action.VIEW" /><category android:name="android.intent.category.DEFAULT" />diff --git a/examples/flutter-user-management/android/build.gradle b/examples/flutter-user-management/android/build.gradleindex 9b6ed06eb38..24047dce5d4 100644--- a/examples/flutter-user-management/android/build.gradle+++ b/examples/flutter-user-management/android/build.gradle@@ -2,7 +2,7 @@ buildscript {ext.kotlin_version = '1.3.50'repositories {google()- jcenter()+ mavenCentral()}dependencies {@@ -14,13 +14,15 @@ buildscript {allprojects {repositories {google()- jcenter()+ mavenCentral()}}rootProject.buildDir = '../build'subprojects {project.buildDir = "${rootProject.buildDir}/${project.name}"+}+subprojects {project.evaluationDependsOn(':app')}diff --git a/examples/flutter-user-management/ios/.gitignore b/examples/flutter-user-management/ios/.gitignoreindex 151026b91bc..7a7f9873ad7 100644--- a/examples/flutter-user-management/ios/.gitignore+++ b/examples/flutter-user-management/ios/.gitignore@@ -1,3 +1,4 @@+**/dgph*.mode1v3*.mode2v3*.moved-asidediff --git a/examples/flutter-user-management/ios/Flutter/AppFrameworkInfo.plist b/examples/flutter-user-management/ios/Flutter/AppFrameworkInfo.plistindex 9367d483e44..8d4492f977a 100644--- a/examples/flutter-user-management/ios/Flutter/AppFrameworkInfo.plist+++ b/examples/flutter-user-management/ios/Flutter/AppFrameworkInfo.plist@@ -21,6 +21,6 @@<key>CFBundleVersion</key><string>1.0</string><key>MinimumOSVersion</key>- <string>8.0</string>+ <string>9.0</string></dict></plist>diff --git a/examples/flutter-user-management/ios/Runner.xcodeproj/project.pbxproj b/examples/flutter-user-management/ios/Runner.xcodeproj/project.pbxprojindex 51d876c5c91..def107a471b 100644--- a/examples/flutter-user-management/ios/Runner.xcodeproj/project.pbxproj+++ b/examples/flutter-user-management/ios/Runner.xcodeproj/project.pbxproj@@ -3,7 +3,7 @@archiveVersion = 1;classes = {};- objectVersion = 46;+ objectVersion = 50;objects = {/* Begin PBXBuildFile section */@@ -127,7 +127,7 @@97C146E61CF9000F007C117D /* Project object */ = {isa = PBXProject;attributes = {- LastUpgradeCheck = 1020;+ LastUpgradeCheck = 1300;ORGANIZATIONNAME = "";TargetAttributes = {97C146ED1CF9000F007C117D = {@@ -290,7 +290,10 @@CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";ENABLE_BITCODE = NO;INFOPLIST_FILE = Runner/Info.plist;- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";+ LD_RUNPATH_SEARCH_PATHS = (+ "$(inherited)",+ "@executable_path/Frameworks",+ );PRODUCT_BUNDLE_IDENTIFIER = io.supabase.supabaseDemo;PRODUCT_NAME = "$(TARGET_NAME)";SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";@@ -399,7 +402,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;};@@ -414,7 +418,10 @@CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";ENABLE_BITCODE = NO;INFOPLIST_FILE = Runner/Info.plist;- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";+ LD_RUNPATH_SEARCH_PATHS = (+ "$(inherited)",+ "@executable_path/Frameworks",+ );PRODUCT_BUNDLE_IDENTIFIER = io.supabase.supabaseDemo;PRODUCT_NAME = "$(TARGET_NAME)";SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";@@ -433,7 +440,10 @@CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";ENABLE_BITCODE = NO;INFOPLIST_FILE = Runner/Info.plist;- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";+ LD_RUNPATH_SEARCH_PATHS = (+ "$(inherited)",+ "@executable_path/Frameworks",+ );PRODUCT_BUNDLE_IDENTIFIER = io.supabase.supabaseDemo;PRODUCT_NAME = "$(TARGET_NAME)";SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";@@ -468,4 +478,4 @@/* End XCConfigurationList section */};rootObject = 97C146E61CF9000F007C117D /* Project object */;-}\ No newline at end of file+}diff --git a/examples/flutter-user-management/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/flutter-user-management/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcschemeindex a28140cfdb3..c87d15a3352 100644--- a/examples/flutter-user-management/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme+++ b/examples/flutter-user-management/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme@@ -1,6 +1,6 @@<?xml version="1.0" encoding="UTF-8"?><Scheme- LastUpgradeVersion = "1020"+ LastUpgradeVersion = "1300"version = "1.3"><BuildActionparallelizeBuildables = "YES"@@ -27,8 +27,6 @@selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"shouldUseLaunchSchemeArgsEnv = "YES">- <Testables>- </Testables><MacroExpansion><BuildableReferenceBuildableIdentifier = "primary"@@ -38,8 +36,8 @@ReferencedContainer = "container:Runner.xcodeproj"></BuildableReference></MacroExpansion>- <AdditionalOptions>- </AdditionalOptions>+ <Testables>+ </Testables></TestAction><LaunchActionbuildConfiguration = "Debug"@@ -61,8 +59,6 @@ReferencedContainer = "container:Runner.xcodeproj"></BuildableReference></BuildableProductRunnable>- <AdditionalOptions>- </AdditionalOptions></LaunchAction><ProfileActionbuildConfiguration = "Profile"diff --git a/examples/flutter-user-management/ios/Runner/Info.plist b/examples/flutter-user-management/ios/Runner/Info.plistindex b2483342401..6933eb2e01c 100644--- a/examples/flutter-user-management/ios/Runner/Info.plist+++ b/examples/flutter-user-management/ios/Runner/Info.plist@@ -4,6 +4,8 @@<dict><key>CFBundleDevelopmentRegion</key><string>$(DEVELOPMENT_LANGUAGE)</string>+ <key>CFBundleDisplayName</key>+ <string>Supabase Demo</string><key>CFBundleExecutable</key><string>$(EXECUTABLE_NAME)</string><key>CFBundleIdentifier</key>@@ -11,7 +13,7 @@<key>CFBundleInfoDictionaryVersion</key><string>6.0</string><key>CFBundleName</key>- <string>Supabase Demo</string>+ <string>supabase_demo</string><key>CFBundlePackageType</key><string>APPL</string><key>CFBundleShortVersionString</key>@@ -40,7 +42,7 @@<string>UIInterfaceOrientationLandscapeRight</string></array><key>UIViewControllerBasedStatusBarAppearance</key>- <false/>+ <true/><key>CFBundleURLTypes</key><array><dict>diff --git a/examples/flutter-user-management/pubspec.lock b/examples/flutter-user-management/pubspec.lockindex d154b66af4c..6a9cb864204 100644--- a/examples/flutter-user-management/pubspec.lock+++ b/examples/flutter-user-management/pubspec.lock@@ -21,7 +21,7 @@ packages:name: asyncurl: "https://pub.dartlang.org"source: hosted- version: "2.6.1"+ version: "2.8.2"boolean_selector:dependency: transitivedescription:@@ -35,14 +35,14 @@ packages:name: charactersurl: "https://pub.dartlang.org"source: hosted- version: "1.1.0"+ version: "1.2.0"charcode:dependency: transitivedescription:name: charcodeurl: "https://pub.dartlang.org"source: hosted- version: "1.2.0"+ version: "1.3.1"clock:dependency: transitivedescription:@@ -225,14 +225,14 @@ packages:name: matcherurl: "https://pub.dartlang.org"source: hosted- version: "0.12.10"+ version: "0.12.11"meta:dependency: transitivedescription:name: metaurl: "https://pub.dartlang.org"source: hosted- version: "1.3.0"+ version: "1.7.0"mime:dependency: transitivedescription:@@ -412,7 +412,7 @@ packages:name: test_apiurl: "https://pub.dartlang.org"source: hosted- version: "0.3.0"+ version: "0.4.3"typed_data:dependency: transitivedescription:@@ -496,7 +496,7 @@ packages:name: vector_mathurl: "https://pub.dartlang.org"source: hosted- version: "2.1.0"+ version: "2.1.1"web_socket_channel:dependency: transitivedescription:@@ -533,5 +533,5 @@ packages:source: hostedversion: "3.1.0"sdks:- dart: ">=2.13.0 <3.0.0"+ dart: ">=2.14.0 <3.0.0"flutter: ">=2.0.0"