tools-template-cli 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +54 -0
- package/dist/index.js +380 -0
- package/dist/templates.js +44 -0
- package/package.json +49 -0
- package/supabase-expo-app/.env.example +2 -0
- package/supabase-expo-app/App.tsx +55 -0
- package/supabase-expo-app/README.md +179 -0
- package/supabase-expo-app/app.json +34 -0
- package/supabase-expo-app/assets/adaptive-icon.png +0 -0
- package/supabase-expo-app/assets/favicon.png +0 -0
- package/supabase-expo-app/assets/icon.png +0 -0
- package/supabase-expo-app/assets/splash-icon.png +0 -0
- package/supabase-expo-app/components/Account.tsx +234 -0
- package/supabase-expo-app/components/Auth.tsx +161 -0
- package/supabase-expo-app/components/Avatar.tsx +173 -0
- package/supabase-expo-app/index.ts +8 -0
- package/supabase-expo-app/lib/supabase.ts +63 -0
- package/supabase-expo-app/package-lock.json +8983 -0
- package/supabase-expo-app/package.json +32 -0
- package/supabase-expo-app/scripts/setup-supabase.sh +73 -0
- package/supabase-expo-app/supabase/schema.sql +57 -0
- package/supabase-expo-app/tsconfig.json +6 -0
- package/supabase-swiftui-app/Package.swift +32 -0
- package/supabase-swiftui-app/README.md +215 -0
- package/supabase-swiftui-app/SupabaseSwiftUIApp/AccountView.swift +181 -0
- package/supabase-swiftui-app/SupabaseSwiftUIApp/AuthView.swift +123 -0
- package/supabase-swiftui-app/SupabaseSwiftUIApp/AvatarView.swift +113 -0
- package/supabase-swiftui-app/SupabaseSwiftUIApp/ContentView.swift +18 -0
- package/supabase-swiftui-app/SupabaseSwiftUIApp/Supabase.swift +13 -0
- package/supabase-swiftui-app/SupabaseSwiftUIApp/SupabaseSwiftUIApp.swift +22 -0
- package/supabase-swiftui-app/scripts/setup-supabase.sh +67 -0
- package/supabase-swiftui-app/supabase/schema.sql +57 -0
- package/supabase-user-management/AGENTS.md +5 -0
- package/supabase-user-management/CLAUDE.md +1 -0
- package/supabase-user-management/README.md +178 -0
- package/supabase-user-management/app/account/account-form.tsx +174 -0
- package/supabase-user-management/app/account/avatar.tsx +109 -0
- package/supabase-user-management/app/account/page.tsx +28 -0
- package/supabase-user-management/app/auth/confirm/route.ts +26 -0
- package/supabase-user-management/app/error.tsx +14 -0
- package/supabase-user-management/app/favicon.ico +0 -0
- package/supabase-user-management/app/globals.css +130 -0
- package/supabase-user-management/app/layout.tsx +22 -0
- package/supabase-user-management/app/loading.tsx +7 -0
- package/supabase-user-management/app/login/actions.ts +45 -0
- package/supabase-user-management/app/login/page.tsx +90 -0
- package/supabase-user-management/app/page.tsx +16 -0
- package/supabase-user-management/components/ui/button.tsx +58 -0
- package/supabase-user-management/components.json +25 -0
- package/supabase-user-management/eslint.config.mjs +18 -0
- package/supabase-user-management/lib/supabase/client.ts +8 -0
- package/supabase-user-management/lib/supabase/middleware.ts +52 -0
- package/supabase-user-management/lib/supabase/server.ts +29 -0
- package/supabase-user-management/lib/utils.ts +6 -0
- package/supabase-user-management/next.config.ts +7 -0
- package/supabase-user-management/package-lock.json +9910 -0
- package/supabase-user-management/package.json +36 -0
- package/supabase-user-management/postcss.config.mjs +7 -0
- package/supabase-user-management/public/file.svg +1 -0
- package/supabase-user-management/public/globe.svg +1 -0
- package/supabase-user-management/public/next.svg +1 -0
- package/supabase-user-management/public/vercel.svg +1 -0
- package/supabase-user-management/public/window.svg +1 -0
- package/supabase-user-management/scripts/setup-supabase.sh +98 -0
- package/supabase-user-management/src/proxy.ts +12 -0
- package/supabase-user-management/supabase/schema.sql +57 -0
- package/supabase-user-management/tsconfig.json +34 -0
- package/supabase_flutter_app/.metadata +45 -0
- package/supabase_flutter_app/README.md +195 -0
- package/supabase_flutter_app/analysis_options.yaml +28 -0
- package/supabase_flutter_app/android/app/build.gradle.kts +44 -0
- package/supabase_flutter_app/android/app/src/debug/AndroidManifest.xml +7 -0
- package/supabase_flutter_app/android/app/src/main/AndroidManifest.xml +54 -0
- package/supabase_flutter_app/android/app/src/main/kotlin/com/example/supabase_flutter_app/MainActivity.kt +5 -0
- package/supabase_flutter_app/android/app/src/main/res/drawable/launch_background.xml +12 -0
- package/supabase_flutter_app/android/app/src/main/res/drawable-v21/launch_background.xml +12 -0
- package/supabase_flutter_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/supabase_flutter_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/supabase_flutter_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/supabase_flutter_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/supabase_flutter_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/supabase_flutter_app/android/app/src/main/res/values/styles.xml +18 -0
- package/supabase_flutter_app/android/app/src/main/res/values-night/styles.xml +18 -0
- package/supabase_flutter_app/android/app/src/profile/AndroidManifest.xml +7 -0
- package/supabase_flutter_app/android/build.gradle.kts +24 -0
- package/supabase_flutter_app/android/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/supabase_flutter_app/android/gradle.properties +2 -0
- package/supabase_flutter_app/android/settings.gradle.kts +26 -0
- package/supabase_flutter_app/ios/Flutter/AppFrameworkInfo.plist +26 -0
- package/supabase_flutter_app/ios/Flutter/Debug.xcconfig +2 -0
- package/supabase_flutter_app/ios/Flutter/Release.xcconfig +2 -0
- package/supabase_flutter_app/ios/Podfile +43 -0
- package/supabase_flutter_app/ios/Runner/AppDelegate.swift +13 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +122 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png +0 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png +0 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png +0 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png +0 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png +0 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png +0 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png +0 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png +0 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png +0 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png +0 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png +0 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png +0 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png +0 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png +0 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png +0 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json +23 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png +0 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png +0 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png +0 -0
- package/supabase_flutter_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md +5 -0
- package/supabase_flutter_app/ios/Runner/Base.lproj/LaunchScreen.storyboard +37 -0
- package/supabase_flutter_app/ios/Runner/Base.lproj/Main.storyboard +26 -0
- package/supabase_flutter_app/ios/Runner/Info.plist +61 -0
- package/supabase_flutter_app/ios/Runner/Runner-Bridging-Header.h +1 -0
- package/supabase_flutter_app/ios/Runner.xcodeproj/project.pbxproj +619 -0
- package/supabase_flutter_app/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/supabase_flutter_app/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/supabase_flutter_app/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +8 -0
- package/supabase_flutter_app/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +101 -0
- package/supabase_flutter_app/ios/Runner.xcworkspace/contents.xcworkspacedata +7 -0
- package/supabase_flutter_app/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/supabase_flutter_app/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +8 -0
- package/supabase_flutter_app/ios/RunnerTests/RunnerTests.swift +12 -0
- package/supabase_flutter_app/lib/components/avatar.dart +153 -0
- package/supabase_flutter_app/lib/main.dart +70 -0
- package/supabase_flutter_app/lib/pages/account_page.dart +189 -0
- package/supabase_flutter_app/lib/pages/login_page.dart +150 -0
- package/supabase_flutter_app/linux/CMakeLists.txt +128 -0
- package/supabase_flutter_app/linux/flutter/CMakeLists.txt +88 -0
- package/supabase_flutter_app/linux/flutter/generated_plugin_registrant.cc +23 -0
- package/supabase_flutter_app/linux/flutter/generated_plugin_registrant.h +15 -0
- package/supabase_flutter_app/linux/flutter/generated_plugins.cmake +26 -0
- package/supabase_flutter_app/linux/runner/CMakeLists.txt +26 -0
- package/supabase_flutter_app/linux/runner/main.cc +6 -0
- package/supabase_flutter_app/linux/runner/my_application.cc +148 -0
- package/supabase_flutter_app/linux/runner/my_application.h +21 -0
- package/supabase_flutter_app/macos/Flutter/Flutter-Debug.xcconfig +2 -0
- package/supabase_flutter_app/macos/Flutter/Flutter-Release.xcconfig +2 -0
- package/supabase_flutter_app/macos/Flutter/GeneratedPluginRegistrant.swift +18 -0
- package/supabase_flutter_app/macos/Podfile +42 -0
- package/supabase_flutter_app/macos/Runner/AppDelegate.swift +13 -0
- package/supabase_flutter_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +68 -0
- package/supabase_flutter_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png +0 -0
- package/supabase_flutter_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png +0 -0
- package/supabase_flutter_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png +0 -0
- package/supabase_flutter_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png +0 -0
- package/supabase_flutter_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png +0 -0
- package/supabase_flutter_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png +0 -0
- package/supabase_flutter_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png +0 -0
- package/supabase_flutter_app/macos/Runner/Base.lproj/MainMenu.xib +343 -0
- package/supabase_flutter_app/macos/Runner/Configs/AppInfo.xcconfig +14 -0
- package/supabase_flutter_app/macos/Runner/Configs/Debug.xcconfig +2 -0
- package/supabase_flutter_app/macos/Runner/Configs/Release.xcconfig +2 -0
- package/supabase_flutter_app/macos/Runner/Configs/Warnings.xcconfig +13 -0
- package/supabase_flutter_app/macos/Runner/DebugProfile.entitlements +12 -0
- package/supabase_flutter_app/macos/Runner/Info.plist +32 -0
- package/supabase_flutter_app/macos/Runner/MainFlutterWindow.swift +15 -0
- package/supabase_flutter_app/macos/Runner/Release.entitlements +8 -0
- package/supabase_flutter_app/macos/Runner.xcodeproj/project.pbxproj +705 -0
- package/supabase_flutter_app/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/supabase_flutter_app/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +99 -0
- package/supabase_flutter_app/macos/Runner.xcworkspace/contents.xcworkspacedata +7 -0
- package/supabase_flutter_app/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/supabase_flutter_app/macos/RunnerTests/RunnerTests.swift +12 -0
- package/supabase_flutter_app/pubspec.lock +818 -0
- package/supabase_flutter_app/pubspec.yaml +26 -0
- package/supabase_flutter_app/scripts/setup-supabase.sh +72 -0
- package/supabase_flutter_app/supabase/schema.sql +57 -0
- package/supabase_flutter_app/test/widget_test.dart +30 -0
- package/supabase_flutter_app/web/favicon.png +0 -0
- package/supabase_flutter_app/web/icons/Icon-192.png +0 -0
- package/supabase_flutter_app/web/icons/Icon-512.png +0 -0
- package/supabase_flutter_app/web/icons/Icon-maskable-192.png +0 -0
- package/supabase_flutter_app/web/icons/Icon-maskable-512.png +0 -0
- package/supabase_flutter_app/web/index.html +38 -0
- package/supabase_flutter_app/web/manifest.json +35 -0
- package/supabase_flutter_app/windows/CMakeLists.txt +108 -0
- package/supabase_flutter_app/windows/flutter/CMakeLists.txt +109 -0
- package/supabase_flutter_app/windows/flutter/generated_plugin_registrant.cc +20 -0
- package/supabase_flutter_app/windows/flutter/generated_plugin_registrant.h +15 -0
- package/supabase_flutter_app/windows/flutter/generated_plugins.cmake +26 -0
- package/supabase_flutter_app/windows/runner/CMakeLists.txt +40 -0
- package/supabase_flutter_app/windows/runner/Runner.rc +121 -0
- package/supabase_flutter_app/windows/runner/flutter_window.cpp +71 -0
- package/supabase_flutter_app/windows/runner/flutter_window.h +33 -0
- package/supabase_flutter_app/windows/runner/main.cpp +43 -0
- package/supabase_flutter_app/windows/runner/resource.h +16 -0
- package/supabase_flutter_app/windows/runner/resources/app_icon.ico +0 -0
- package/supabase_flutter_app/windows/runner/runner.exe.manifest +14 -0
- package/supabase_flutter_app/windows/runner/utils.cpp +65 -0
- package/supabase_flutter_app/windows/runner/utils.h +19 -0
- package/supabase_flutter_app/windows/runner/win32_window.cpp +288 -0
- package/supabase_flutter_app/windows/runner/win32_window.h +102 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Modify this file to customize your launch splash screen -->
|
|
3
|
+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
|
4
|
+
<item android:drawable="?android:colorBackground" />
|
|
5
|
+
|
|
6
|
+
<!-- You can insert your own image assets here -->
|
|
7
|
+
<!-- <item>
|
|
8
|
+
<bitmap
|
|
9
|
+
android:gravity="center"
|
|
10
|
+
android:src="@mipmap/launch_image" />
|
|
11
|
+
</item> -->
|
|
12
|
+
</layer-list>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<resources>
|
|
3
|
+
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
|
|
4
|
+
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
|
|
5
|
+
<!-- Show a splash screen on the activity. Automatically removed when
|
|
6
|
+
the Flutter engine draws its first frame -->
|
|
7
|
+
<item name="android:windowBackground">@drawable/launch_background</item>
|
|
8
|
+
</style>
|
|
9
|
+
<!-- Theme applied to the Android Window as soon as the process has started.
|
|
10
|
+
This theme determines the color of the Android Window while your
|
|
11
|
+
Flutter UI initializes, as well as behind your Flutter UI while its
|
|
12
|
+
running.
|
|
13
|
+
|
|
14
|
+
This Theme is only used starting with V2 of Flutter's Android embedding. -->
|
|
15
|
+
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
|
|
16
|
+
<item name="android:windowBackground">?android:colorBackground</item>
|
|
17
|
+
</style>
|
|
18
|
+
</resources>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<resources>
|
|
3
|
+
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
|
|
4
|
+
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
|
|
5
|
+
<!-- Show a splash screen on the activity. Automatically removed when
|
|
6
|
+
the Flutter engine draws its first frame -->
|
|
7
|
+
<item name="android:windowBackground">@drawable/launch_background</item>
|
|
8
|
+
</style>
|
|
9
|
+
<!-- Theme applied to the Android Window as soon as the process has started.
|
|
10
|
+
This theme determines the color of the Android Window while your
|
|
11
|
+
Flutter UI initializes, as well as behind your Flutter UI while its
|
|
12
|
+
running.
|
|
13
|
+
|
|
14
|
+
This Theme is only used starting with V2 of Flutter's Android embedding. -->
|
|
15
|
+
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
|
|
16
|
+
<item name="android:windowBackground">?android:colorBackground</item>
|
|
17
|
+
</style>
|
|
18
|
+
</resources>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
2
|
+
<!-- The INTERNET permission is required for development. Specifically,
|
|
3
|
+
the Flutter tool needs it to communicate with the running application
|
|
4
|
+
to allow setting breakpoints, to provide hot reload, etc.
|
|
5
|
+
-->
|
|
6
|
+
<uses-permission android:name="android.permission.INTERNET"/>
|
|
7
|
+
</manifest>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
allprojects {
|
|
2
|
+
repositories {
|
|
3
|
+
google()
|
|
4
|
+
mavenCentral()
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
val newBuildDir: Directory =
|
|
9
|
+
rootProject.layout.buildDirectory
|
|
10
|
+
.dir("../../build")
|
|
11
|
+
.get()
|
|
12
|
+
rootProject.layout.buildDirectory.value(newBuildDir)
|
|
13
|
+
|
|
14
|
+
subprojects {
|
|
15
|
+
val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
|
|
16
|
+
project.layout.buildDirectory.value(newSubprojectBuildDir)
|
|
17
|
+
}
|
|
18
|
+
subprojects {
|
|
19
|
+
project.evaluationDependsOn(":app")
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
tasks.register<Delete>("clean") {
|
|
23
|
+
delete(rootProject.layout.buildDirectory)
|
|
24
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
pluginManagement {
|
|
2
|
+
val flutterSdkPath =
|
|
3
|
+
run {
|
|
4
|
+
val properties = java.util.Properties()
|
|
5
|
+
file("local.properties").inputStream().use { properties.load(it) }
|
|
6
|
+
val flutterSdkPath = properties.getProperty("flutter.sdk")
|
|
7
|
+
require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
|
|
8
|
+
flutterSdkPath
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
|
|
12
|
+
|
|
13
|
+
repositories {
|
|
14
|
+
google()
|
|
15
|
+
mavenCentral()
|
|
16
|
+
gradlePluginPortal()
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
plugins {
|
|
21
|
+
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
|
|
22
|
+
id("com.android.application") version "8.11.1" apply false
|
|
23
|
+
id("org.jetbrains.kotlin.android") version "2.2.20" apply false
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
include(":app")
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>CFBundleDevelopmentRegion</key>
|
|
6
|
+
<string>en</string>
|
|
7
|
+
<key>CFBundleExecutable</key>
|
|
8
|
+
<string>App</string>
|
|
9
|
+
<key>CFBundleIdentifier</key>
|
|
10
|
+
<string>io.flutter.flutter.app</string>
|
|
11
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
|
12
|
+
<string>6.0</string>
|
|
13
|
+
<key>CFBundleName</key>
|
|
14
|
+
<string>App</string>
|
|
15
|
+
<key>CFBundlePackageType</key>
|
|
16
|
+
<string>FMWK</string>
|
|
17
|
+
<key>CFBundleShortVersionString</key>
|
|
18
|
+
<string>1.0</string>
|
|
19
|
+
<key>CFBundleSignature</key>
|
|
20
|
+
<string>????</string>
|
|
21
|
+
<key>CFBundleVersion</key>
|
|
22
|
+
<string>1.0</string>
|
|
23
|
+
<key>MinimumOSVersion</key>
|
|
24
|
+
<string>13.0</string>
|
|
25
|
+
</dict>
|
|
26
|
+
</plist>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Uncomment this line to define a global platform for your project
|
|
2
|
+
# platform :ios, '13.0'
|
|
3
|
+
|
|
4
|
+
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
|
|
5
|
+
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
|
|
6
|
+
|
|
7
|
+
project 'Runner', {
|
|
8
|
+
'Debug' => :debug,
|
|
9
|
+
'Profile' => :release,
|
|
10
|
+
'Release' => :release,
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
def flutter_root
|
|
14
|
+
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
|
|
15
|
+
unless File.exist?(generated_xcode_build_settings_path)
|
|
16
|
+
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
File.foreach(generated_xcode_build_settings_path) do |line|
|
|
20
|
+
matches = line.match(/FLUTTER_ROOT\=(.*)/)
|
|
21
|
+
return matches[1].strip if matches
|
|
22
|
+
end
|
|
23
|
+
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
|
|
27
|
+
|
|
28
|
+
flutter_ios_podfile_setup
|
|
29
|
+
|
|
30
|
+
target 'Runner' do
|
|
31
|
+
use_frameworks!
|
|
32
|
+
|
|
33
|
+
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
|
|
34
|
+
target 'RunnerTests' do
|
|
35
|
+
inherit! :search_paths
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
post_install do |installer|
|
|
40
|
+
installer.pods_project.targets.each do |target|
|
|
41
|
+
flutter_additional_ios_build_settings(target)
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import Flutter
|
|
2
|
+
import UIKit
|
|
3
|
+
|
|
4
|
+
@main
|
|
5
|
+
@objc class AppDelegate: FlutterAppDelegate {
|
|
6
|
+
override func application(
|
|
7
|
+
_ application: UIApplication,
|
|
8
|
+
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
|
|
9
|
+
) -> Bool {
|
|
10
|
+
GeneratedPluginRegistrant.register(with: self)
|
|
11
|
+
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
{
|
|
2
|
+
"images" : [
|
|
3
|
+
{
|
|
4
|
+
"size" : "20x20",
|
|
5
|
+
"idiom" : "iphone",
|
|
6
|
+
"filename" : "Icon-App-20x20@2x.png",
|
|
7
|
+
"scale" : "2x"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"size" : "20x20",
|
|
11
|
+
"idiom" : "iphone",
|
|
12
|
+
"filename" : "Icon-App-20x20@3x.png",
|
|
13
|
+
"scale" : "3x"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"size" : "29x29",
|
|
17
|
+
"idiom" : "iphone",
|
|
18
|
+
"filename" : "Icon-App-29x29@1x.png",
|
|
19
|
+
"scale" : "1x"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"size" : "29x29",
|
|
23
|
+
"idiom" : "iphone",
|
|
24
|
+
"filename" : "Icon-App-29x29@2x.png",
|
|
25
|
+
"scale" : "2x"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"size" : "29x29",
|
|
29
|
+
"idiom" : "iphone",
|
|
30
|
+
"filename" : "Icon-App-29x29@3x.png",
|
|
31
|
+
"scale" : "3x"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"size" : "40x40",
|
|
35
|
+
"idiom" : "iphone",
|
|
36
|
+
"filename" : "Icon-App-40x40@2x.png",
|
|
37
|
+
"scale" : "2x"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"size" : "40x40",
|
|
41
|
+
"idiom" : "iphone",
|
|
42
|
+
"filename" : "Icon-App-40x40@3x.png",
|
|
43
|
+
"scale" : "3x"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"size" : "60x60",
|
|
47
|
+
"idiom" : "iphone",
|
|
48
|
+
"filename" : "Icon-App-60x60@2x.png",
|
|
49
|
+
"scale" : "2x"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"size" : "60x60",
|
|
53
|
+
"idiom" : "iphone",
|
|
54
|
+
"filename" : "Icon-App-60x60@3x.png",
|
|
55
|
+
"scale" : "3x"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"size" : "20x20",
|
|
59
|
+
"idiom" : "ipad",
|
|
60
|
+
"filename" : "Icon-App-20x20@1x.png",
|
|
61
|
+
"scale" : "1x"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"size" : "20x20",
|
|
65
|
+
"idiom" : "ipad",
|
|
66
|
+
"filename" : "Icon-App-20x20@2x.png",
|
|
67
|
+
"scale" : "2x"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"size" : "29x29",
|
|
71
|
+
"idiom" : "ipad",
|
|
72
|
+
"filename" : "Icon-App-29x29@1x.png",
|
|
73
|
+
"scale" : "1x"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"size" : "29x29",
|
|
77
|
+
"idiom" : "ipad",
|
|
78
|
+
"filename" : "Icon-App-29x29@2x.png",
|
|
79
|
+
"scale" : "2x"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"size" : "40x40",
|
|
83
|
+
"idiom" : "ipad",
|
|
84
|
+
"filename" : "Icon-App-40x40@1x.png",
|
|
85
|
+
"scale" : "1x"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"size" : "40x40",
|
|
89
|
+
"idiom" : "ipad",
|
|
90
|
+
"filename" : "Icon-App-40x40@2x.png",
|
|
91
|
+
"scale" : "2x"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"size" : "76x76",
|
|
95
|
+
"idiom" : "ipad",
|
|
96
|
+
"filename" : "Icon-App-76x76@1x.png",
|
|
97
|
+
"scale" : "1x"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"size" : "76x76",
|
|
101
|
+
"idiom" : "ipad",
|
|
102
|
+
"filename" : "Icon-App-76x76@2x.png",
|
|
103
|
+
"scale" : "2x"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"size" : "83.5x83.5",
|
|
107
|
+
"idiom" : "ipad",
|
|
108
|
+
"filename" : "Icon-App-83.5x83.5@2x.png",
|
|
109
|
+
"scale" : "2x"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"size" : "1024x1024",
|
|
113
|
+
"idiom" : "ios-marketing",
|
|
114
|
+
"filename" : "Icon-App-1024x1024@1x.png",
|
|
115
|
+
"scale" : "1x"
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"info" : {
|
|
119
|
+
"version" : 1,
|
|
120
|
+
"author" : "xcode"
|
|
121
|
+
}
|
|
122
|
+
}
|
package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
ADDED
|
Binary file
|
package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
ADDED
|
Binary file
|
package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
ADDED
|
Binary file
|
package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
ADDED
|
Binary file
|
package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
ADDED
|
Binary file
|
package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
ADDED
|
Binary file
|
package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
ADDED
|
Binary file
|
package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
ADDED
|
Binary file
|
package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
ADDED
|
Binary file
|
package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
ADDED
|
Binary file
|
package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
ADDED
|
Binary file
|
package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
ADDED
|
Binary file
|
package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
ADDED
|
Binary file
|
package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
ADDED
|
Binary file
|
package/supabase_flutter_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
ADDED
|
Binary file
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"images" : [
|
|
3
|
+
{
|
|
4
|
+
"idiom" : "universal",
|
|
5
|
+
"filename" : "LaunchImage.png",
|
|
6
|
+
"scale" : "1x"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"idiom" : "universal",
|
|
10
|
+
"filename" : "LaunchImage@2x.png",
|
|
11
|
+
"scale" : "2x"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"idiom" : "universal",
|
|
15
|
+
"filename" : "LaunchImage@3x.png",
|
|
16
|
+
"scale" : "3x"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"info" : {
|
|
20
|
+
"version" : 1,
|
|
21
|
+
"author" : "xcode"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
Binary file
|
package/supabase_flutter_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
ADDED
|
Binary file
|
package/supabase_flutter_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
ADDED
|
Binary file
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Launch Screen Assets
|
|
2
|
+
|
|
3
|
+
You can customize the launch screen with your own desired assets by replacing the image files in this directory.
|
|
4
|
+
|
|
5
|
+
You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12121" systemVersion="16G29" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
|
|
3
|
+
<dependencies>
|
|
4
|
+
<deployment identifier="iOS"/>
|
|
5
|
+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12089"/>
|
|
6
|
+
</dependencies>
|
|
7
|
+
<scenes>
|
|
8
|
+
<!--View Controller-->
|
|
9
|
+
<scene sceneID="EHf-IW-A2E">
|
|
10
|
+
<objects>
|
|
11
|
+
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
|
|
12
|
+
<layoutGuides>
|
|
13
|
+
<viewControllerLayoutGuide type="top" id="Ydg-fD-yQy"/>
|
|
14
|
+
<viewControllerLayoutGuide type="bottom" id="xbc-2k-c8Z"/>
|
|
15
|
+
</layoutGuides>
|
|
16
|
+
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
|
|
17
|
+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
|
18
|
+
<subviews>
|
|
19
|
+
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" image="LaunchImage" translatesAutoresizingMaskIntoConstraints="NO" id="YRO-k0-Ey4">
|
|
20
|
+
</imageView>
|
|
21
|
+
</subviews>
|
|
22
|
+
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
|
23
|
+
<constraints>
|
|
24
|
+
<constraint firstItem="YRO-k0-Ey4" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="1a2-6s-vTC"/>
|
|
25
|
+
<constraint firstItem="YRO-k0-Ey4" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" id="4X2-HB-R7a"/>
|
|
26
|
+
</constraints>
|
|
27
|
+
</view>
|
|
28
|
+
</viewController>
|
|
29
|
+
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
|
30
|
+
</objects>
|
|
31
|
+
<point key="canvasLocation" x="53" y="375"/>
|
|
32
|
+
</scene>
|
|
33
|
+
</scenes>
|
|
34
|
+
<resources>
|
|
35
|
+
<image name="LaunchImage" width="168" height="185"/>
|
|
36
|
+
</resources>
|
|
37
|
+
</document>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
|
|
3
|
+
<dependencies>
|
|
4
|
+
<deployment identifier="iOS"/>
|
|
5
|
+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
|
|
6
|
+
</dependencies>
|
|
7
|
+
<scenes>
|
|
8
|
+
<!--Flutter View Controller-->
|
|
9
|
+
<scene sceneID="tne-QT-ifu">
|
|
10
|
+
<objects>
|
|
11
|
+
<viewController id="BYZ-38-t0r" customClass="FlutterViewController" sceneMemberID="viewController">
|
|
12
|
+
<layoutGuides>
|
|
13
|
+
<viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
|
|
14
|
+
<viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
|
|
15
|
+
</layoutGuides>
|
|
16
|
+
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
|
|
17
|
+
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
|
|
18
|
+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
|
19
|
+
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
|
20
|
+
</view>
|
|
21
|
+
</viewController>
|
|
22
|
+
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
|
|
23
|
+
</objects>
|
|
24
|
+
</scene>
|
|
25
|
+
</scenes>
|
|
26
|
+
</document>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>CFBundleDevelopmentRegion</key>
|
|
6
|
+
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
7
|
+
<key>CFBundleDisplayName</key>
|
|
8
|
+
<string>Supabase Flutter App</string>
|
|
9
|
+
<key>CFBundleExecutable</key>
|
|
10
|
+
<string>$(EXECUTABLE_NAME)</string>
|
|
11
|
+
<key>CFBundleIdentifier</key>
|
|
12
|
+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
13
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
|
14
|
+
<string>6.0</string>
|
|
15
|
+
<key>CFBundleName</key>
|
|
16
|
+
<string>supabase_flutter_app</string>
|
|
17
|
+
<key>CFBundlePackageType</key>
|
|
18
|
+
<string>APPL</string>
|
|
19
|
+
<key>CFBundleShortVersionString</key>
|
|
20
|
+
<string>$(FLUTTER_BUILD_NAME)</string>
|
|
21
|
+
<key>CFBundleSignature</key>
|
|
22
|
+
<string>????</string>
|
|
23
|
+
<key>CFBundleVersion</key>
|
|
24
|
+
<string>$(FLUTTER_BUILD_NUMBER)</string>
|
|
25
|
+
<key>LSRequiresIPhoneOS</key>
|
|
26
|
+
<true/>
|
|
27
|
+
<key>UILaunchStoryboardName</key>
|
|
28
|
+
<string>LaunchScreen</string>
|
|
29
|
+
<key>UIMainStoryboardFile</key>
|
|
30
|
+
<string>Main</string>
|
|
31
|
+
<key>UISupportedInterfaceOrientations</key>
|
|
32
|
+
<array>
|
|
33
|
+
<string>UIInterfaceOrientationPortrait</string>
|
|
34
|
+
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
35
|
+
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
36
|
+
</array>
|
|
37
|
+
<key>UISupportedInterfaceOrientations~ipad</key>
|
|
38
|
+
<array>
|
|
39
|
+
<string>UIInterfaceOrientationPortrait</string>
|
|
40
|
+
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
|
41
|
+
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
42
|
+
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
43
|
+
</array>
|
|
44
|
+
<key>CADisableMinimumFrameDurationOnPhone</key>
|
|
45
|
+
<true/>
|
|
46
|
+
<key>UIApplicationSupportsIndirectInputEvents</key>
|
|
47
|
+
<true/>
|
|
48
|
+
<!-- Deep Links Configuration -->
|
|
49
|
+
<key>CFBundleURLTypes</key>
|
|
50
|
+
<array>
|
|
51
|
+
<dict>
|
|
52
|
+
<key>CFBundleTypeRole</key>
|
|
53
|
+
<string>Editor</string>
|
|
54
|
+
<key>CFBundleURLSchemes</key>
|
|
55
|
+
<array>
|
|
56
|
+
<string>io.supabase.flutterquickstart</string>
|
|
57
|
+
</array>
|
|
58
|
+
</dict>
|
|
59
|
+
</array>
|
|
60
|
+
</dict>
|
|
61
|
+
</plist>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#import "GeneratedPluginRegistrant.h"
|