diff --git a/.cursor/settings.json b/.cursor/settings.json new file mode 100644 index 000000000..5007ad7de --- /dev/null +++ b/.cursor/settings.json @@ -0,0 +1,3 @@ +{ + "dart.flutterSdkPath": ".fvm/versions/2.8.1" +} \ No newline at end of file diff --git a/.docker/build_config.json b/.docker/build_config.json index 546507dbe..4edee3524 100644 --- a/.docker/build_config.json +++ b/.docker/build_config.json @@ -1,6 +1,6 @@ { "api": { - "release_tag": "v2.3.0-beta", + "release_tag": "v2.5.1-beta", "use_latest_release": false, "github_repository": "https://github.com/KomodoPlatform/komodo-defi-framework", "platforms": { diff --git a/.fvmrc b/.fvmrc index 6c8d4a4b9..20d51ca19 100644 --- a/.fvmrc +++ b/.fvmrc @@ -1,4 +1,4 @@ { - "flutter": "2.8.1", + "flutter": "2.10.5", "flavors": {} } \ No newline at end of file diff --git a/.ruby-version b/.ruby-version index a603bb50a..6a81b4c83 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.7.5 +2.7.8 diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 90b8bc726..01b2e4f3b 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -27,7 +27,6 @@ additional functionality it is fine to subclass or reimplement FlutterApplication and put your custom class here. --> + + + diff --git a/iguana_cage/android/app/src/main/AndroidManifest.xml b/iguana_cage/android/app/src/main/AndroidManifest.xml new file mode 100644 index 000000000..e845fc9ad --- /dev/null +++ b/iguana_cage/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/iguana_cage/android/app/src/main/kotlin/com/komodoplatform/atomicdex/MainActivity.kt b/iguana_cage/android/app/src/main/kotlin/com/komodoplatform/atomicdex/MainActivity.kt new file mode 100644 index 000000000..18089e83a --- /dev/null +++ b/iguana_cage/android/app/src/main/kotlin/com/komodoplatform/atomicdex/MainActivity.kt @@ -0,0 +1,5 @@ +package com.komodoplatform.atomicdex + +import io.flutter.embedding.android.FlutterActivity + +class MainActivity : FlutterActivity() diff --git a/iguana_cage/android/app/src/main/res/drawable-v21/launch_background.xml b/iguana_cage/android/app/src/main/res/drawable-v21/launch_background.xml new file mode 100644 index 000000000..f74085f3f --- /dev/null +++ b/iguana_cage/android/app/src/main/res/drawable-v21/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/iguana_cage/android/app/src/main/res/drawable/launch_background.xml b/iguana_cage/android/app/src/main/res/drawable/launch_background.xml new file mode 100644 index 000000000..304732f88 --- /dev/null +++ b/iguana_cage/android/app/src/main/res/drawable/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/iguana_cage/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/iguana_cage/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 000000000..b951012cf --- /dev/null +++ b/iguana_cage/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/iguana_cage/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/iguana_cage/android/app/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..e0e5d5501 Binary files /dev/null and b/iguana_cage/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/iguana_cage/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/iguana_cage/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png new file mode 100644 index 000000000..66ba7c718 Binary files /dev/null and b/iguana_cage/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/iguana_cage/android/app/src/main/res/mipmap-hdpi/launcher_icon_foreground.png b/iguana_cage/android/app/src/main/res/mipmap-hdpi/launcher_icon_foreground.png new file mode 100644 index 000000000..2cb62a2d3 Binary files /dev/null and b/iguana_cage/android/app/src/main/res/mipmap-hdpi/launcher_icon_foreground.png differ diff --git a/iguana_cage/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/iguana_cage/android/app/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..e3f3353e1 Binary files /dev/null and b/iguana_cage/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/iguana_cage/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/iguana_cage/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png new file mode 100644 index 000000000..1ba747340 Binary files /dev/null and b/iguana_cage/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/iguana_cage/android/app/src/main/res/mipmap-mdpi/launcher_icon_foreground.png b/iguana_cage/android/app/src/main/res/mipmap-mdpi/launcher_icon_foreground.png new file mode 100644 index 000000000..58acfc54a Binary files /dev/null and b/iguana_cage/android/app/src/main/res/mipmap-mdpi/launcher_icon_foreground.png differ diff --git a/iguana_cage/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/iguana_cage/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..a67a456a4 Binary files /dev/null and b/iguana_cage/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/iguana_cage/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/iguana_cage/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png new file mode 100644 index 000000000..00baaaf39 Binary files /dev/null and b/iguana_cage/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/iguana_cage/android/app/src/main/res/mipmap-xhdpi/launcher_icon_foreground.png b/iguana_cage/android/app/src/main/res/mipmap-xhdpi/launcher_icon_foreground.png new file mode 100644 index 000000000..2cd8ec747 Binary files /dev/null and b/iguana_cage/android/app/src/main/res/mipmap-xhdpi/launcher_icon_foreground.png differ diff --git a/iguana_cage/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/iguana_cage/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..530ae3772 Binary files /dev/null and b/iguana_cage/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/iguana_cage/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/iguana_cage/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png new file mode 100644 index 000000000..38ab3355f Binary files /dev/null and b/iguana_cage/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/iguana_cage/android/app/src/main/res/mipmap-xxhdpi/launcher_icon_foreground.png b/iguana_cage/android/app/src/main/res/mipmap-xxhdpi/launcher_icon_foreground.png new file mode 100644 index 000000000..48a445a2d Binary files /dev/null and b/iguana_cage/android/app/src/main/res/mipmap-xxhdpi/launcher_icon_foreground.png differ diff --git a/iguana_cage/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/iguana_cage/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..749d910ae Binary files /dev/null and b/iguana_cage/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/iguana_cage/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/iguana_cage/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png new file mode 100644 index 000000000..9ccb009c8 Binary files /dev/null and b/iguana_cage/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/iguana_cage/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon_foreground.png b/iguana_cage/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon_foreground.png new file mode 100644 index 000000000..03522cd18 Binary files /dev/null and b/iguana_cage/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon_foreground.png differ diff --git a/iguana_cage/android/app/src/main/res/values-night/colors.xml b/iguana_cage/android/app/src/main/res/values-night/colors.xml new file mode 100644 index 000000000..70c2b59d8 --- /dev/null +++ b/iguana_cage/android/app/src/main/res/values-night/colors.xml @@ -0,0 +1,9 @@ + + + #1e2a3a + #1E2A3A + \ No newline at end of file diff --git a/iguana_cage/android/app/src/main/res/values-night/styles.xml b/iguana_cage/android/app/src/main/res/values-night/styles.xml new file mode 100644 index 000000000..db48d2218 --- /dev/null +++ b/iguana_cage/android/app/src/main/res/values-night/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/iguana_cage/android/app/src/main/res/values/colors.xml b/iguana_cage/android/app/src/main/res/values/colors.xml new file mode 100644 index 000000000..458f64b82 --- /dev/null +++ b/iguana_cage/android/app/src/main/res/values/colors.xml @@ -0,0 +1,5 @@ + + + #FFFFFF + #FFFFFF + \ No newline at end of file diff --git a/iguana_cage/android/app/src/main/res/values/styles.xml b/iguana_cage/android/app/src/main/res/values/styles.xml new file mode 100644 index 000000000..c15e6ffd1 --- /dev/null +++ b/iguana_cage/android/app/src/main/res/values/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/iguana_cage/android/app/src/profile/AndroidManifest.xml b/iguana_cage/android/app/src/profile/AndroidManifest.xml new file mode 100644 index 000000000..399f6981d --- /dev/null +++ b/iguana_cage/android/app/src/profile/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/iguana_cage/android/build.gradle.kts b/iguana_cage/android/build.gradle.kts new file mode 100644 index 000000000..89176ef44 --- /dev/null +++ b/iguana_cage/android/build.gradle.kts @@ -0,0 +1,21 @@ +allprojects { + repositories { + google() + mavenCentral() + } +} + +val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get() +rootProject.layout.buildDirectory.value(newBuildDir) + +subprojects { + val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name) + project.layout.buildDirectory.value(newSubprojectBuildDir) +} +subprojects { + project.evaluationDependsOn(":app") +} + +tasks.register("clean") { + delete(rootProject.layout.buildDirectory) +} diff --git a/iguana_cage/android/gradle.properties b/iguana_cage/android/gradle.properties new file mode 100644 index 000000000..f018a6181 --- /dev/null +++ b/iguana_cage/android/gradle.properties @@ -0,0 +1,3 @@ +org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError +android.useAndroidX=true +android.enableJetifier=true diff --git a/iguana_cage/android/gradle/wrapper/gradle-wrapper.properties b/iguana_cage/android/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 000000000..ac3b47926 --- /dev/null +++ b/iguana_cage/android/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-all.zip diff --git a/iguana_cage/android/settings.gradle.kts b/iguana_cage/android/settings.gradle.kts new file mode 100644 index 000000000..ab39a10a2 --- /dev/null +++ b/iguana_cage/android/settings.gradle.kts @@ -0,0 +1,25 @@ +pluginManagement { + val flutterSdkPath = run { + val properties = java.util.Properties() + file("local.properties").inputStream().use { properties.load(it) } + val flutterSdkPath = properties.getProperty("flutter.sdk") + require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" } + flutterSdkPath + } + + includeBuild("$flutterSdkPath/packages/flutter_tools/gradle") + + repositories { + google() + mavenCentral() + gradlePluginPortal() + } +} + +plugins { + id("dev.flutter.flutter-plugin-loader") version "1.0.0" + id("com.android.application") version "8.7.3" apply false + id("org.jetbrains.kotlin.android") version "2.1.0" apply false +} + +include(":app") diff --git a/iguana_cage/devtools_options.yaml b/iguana_cage/devtools_options.yaml new file mode 100644 index 000000000..fa0b357c4 --- /dev/null +++ b/iguana_cage/devtools_options.yaml @@ -0,0 +1,3 @@ +description: This file stores settings for Dart & Flutter DevTools. +documentation: https://docs.flutter.dev/tools/devtools/extensions#configure-extension-enablement-states +extensions: diff --git a/iguana_cage/ios/.gitignore b/iguana_cage/ios/.gitignore new file mode 100644 index 000000000..7a7f9873a --- /dev/null +++ b/iguana_cage/ios/.gitignore @@ -0,0 +1,34 @@ +**/dgph +*.mode1v3 +*.mode2v3 +*.moved-aside +*.pbxuser +*.perspectivev3 +**/*sync/ +.sconsign.dblite +.tags* +**/.vagrant/ +**/DerivedData/ +Icon? +**/Pods/ +**/.symlinks/ +profile +xcuserdata +**/.generated/ +Flutter/App.framework +Flutter/Flutter.framework +Flutter/Flutter.podspec +Flutter/Generated.xcconfig +Flutter/ephemeral/ +Flutter/app.flx +Flutter/app.zip +Flutter/flutter_assets/ +Flutter/flutter_export_environment.sh +ServiceDefinitions.json +Runner/GeneratedPluginRegistrant.* + +# Exceptions to above rules. +!default.mode1v3 +!default.mode2v3 +!default.pbxuser +!default.perspectivev3 diff --git a/iguana_cage/ios/Flutter/AppFrameworkInfo.plist b/iguana_cage/ios/Flutter/AppFrameworkInfo.plist new file mode 100644 index 000000000..1dc6cf765 --- /dev/null +++ b/iguana_cage/ios/Flutter/AppFrameworkInfo.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + App + CFBundleIdentifier + io.flutter.flutter.app + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + App + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + MinimumOSVersion + 13.0 + + diff --git a/iguana_cage/ios/Flutter/Debug.xcconfig b/iguana_cage/ios/Flutter/Debug.xcconfig new file mode 100644 index 000000000..ec97fc6f3 --- /dev/null +++ b/iguana_cage/ios/Flutter/Debug.xcconfig @@ -0,0 +1,2 @@ +#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" +#include "Generated.xcconfig" diff --git a/iguana_cage/ios/Flutter/Release.xcconfig b/iguana_cage/ios/Flutter/Release.xcconfig new file mode 100644 index 000000000..c4855bfe2 --- /dev/null +++ b/iguana_cage/ios/Flutter/Release.xcconfig @@ -0,0 +1,2 @@ +#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" +#include "Generated.xcconfig" diff --git a/iguana_cage/ios/Podfile b/iguana_cage/ios/Podfile new file mode 100644 index 000000000..620e46eba --- /dev/null +++ b/iguana_cage/ios/Podfile @@ -0,0 +1,43 @@ +# Uncomment this line to define a global platform for your project +# platform :ios, '13.0' + +# CocoaPods analytics sends network stats synchronously affecting flutter build latency. +ENV['COCOAPODS_DISABLE_STATS'] = 'true' + +project 'Runner', { + 'Debug' => :debug, + 'Profile' => :release, + 'Release' => :release, +} + +def flutter_root + generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) + unless File.exist?(generated_xcode_build_settings_path) + raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" + end + + File.foreach(generated_xcode_build_settings_path) do |line| + matches = line.match(/FLUTTER_ROOT\=(.*)/) + return matches[1].strip if matches + end + raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" +end + +require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) + +flutter_ios_podfile_setup + +target 'Runner' do + use_frameworks! + + flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) + target 'RunnerTests' do + inherit! :search_paths + end +end + +post_install do |installer| + installer.pods_project.targets.each do |target| + flutter_additional_ios_build_settings(target) + end +end diff --git a/iguana_cage/ios/Podfile.lock b/iguana_cage/ios/Podfile.lock new file mode 100644 index 000000000..07450e60d --- /dev/null +++ b/iguana_cage/ios/Podfile.lock @@ -0,0 +1,56 @@ +PODS: + - Flutter (1.0.0) + - flutter_secure_storage (3.3.1): + - Flutter + - local_auth_darwin (0.0.1): + - Flutter + - FlutterMacOS + - path_provider_foundation (0.0.1): + - Flutter + - FlutterMacOS + - shared_preferences_foundation (0.0.1): + - Flutter + - FlutterMacOS + - sqflite_darwin (0.0.4): + - Flutter + - FlutterMacOS + - url_launcher_ios (0.0.1): + - Flutter + +DEPENDENCIES: + - Flutter (from `Flutter`) + - flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`) + - local_auth_darwin (from `.symlinks/plugins/local_auth_darwin/darwin`) + - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) + - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`) + - sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`) + - url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`) + +EXTERNAL SOURCES: + Flutter: + :path: Flutter + flutter_secure_storage: + :path: ".symlinks/plugins/flutter_secure_storage/ios" + local_auth_darwin: + :path: ".symlinks/plugins/local_auth_darwin/darwin" + path_provider_foundation: + :path: ".symlinks/plugins/path_provider_foundation/darwin" + shared_preferences_foundation: + :path: ".symlinks/plugins/shared_preferences_foundation/darwin" + sqflite_darwin: + :path: ".symlinks/plugins/sqflite_darwin/darwin" + url_launcher_ios: + :path: ".symlinks/plugins/url_launcher_ios/ios" + +SPEC CHECKSUMS: + Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467 + flutter_secure_storage: 7953c38a04c3fdbb00571bcd87d8e3b5ceb9daec + local_auth_darwin: 63c73d6d28cc3e239be2b6aa460ea6e317cd5100 + path_provider_foundation: 0b743cbb62d8e47eab856f09262bb8c1ddcfe6ba + shared_preferences_foundation: 5086985c1d43c5ba4d5e69a4e8083a389e2909e6 + sqflite_darwin: 5a7236e3b501866c1c9befc6771dfd73ffb8702d + url_launcher_ios: bb13df5870e8c4234ca12609d04010a21be43dfa + +PODFILE CHECKSUM: 3c63482e143d1b91d2d2560aee9fb04ecc74ac7e + +COCOAPODS: 1.12.1 diff --git a/iguana_cage/ios/Runner.xcodeproj/project.pbxproj b/iguana_cage/ios/Runner.xcodeproj/project.pbxproj new file mode 100644 index 000000000..8d4a5407a --- /dev/null +++ b/iguana_cage/ios/Runner.xcodeproj/project.pbxproj @@ -0,0 +1,730 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 54; + objects = { + +/* Begin PBXBuildFile section */ + 0DE222E8388848BD4F090354 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3704340510ED6D862B477665 /* Pods_Runner.framework */; }; + 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; + 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 */; }; + BEA07EE565EA3F5E1B9D0D11 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 83EFFC04525D4213A4CB1284 /* 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; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 05656353B0B04C8D18028E58 /* 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 = ""; }; + 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; + 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; + 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; + 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 3704340510ED6D862B477665 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; + 3EB29275C92762F85BF85FA6 /* 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 = ""; }; + 5A3673695993F38FA1C69EE3 /* 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 = ""; }; + 73D8CFFACC923EB75C8CA823 /* 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 = ""; }; + 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; + 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 79A2B925092E47429EDECDB0 /* 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 = ""; }; + 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; + 83EFFC04525D4213A4CB1284 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; + 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; + 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + A531A512119227029254D2CA /* 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 = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 97C146EB1CF9000F007C117D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 0DE222E8388848BD4F090354 /* Pods_Runner.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B13D369896A8E5A2CFE51784 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEA07EE565EA3F5E1B9D0D11 /* Pods_RunnerTests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 331C8082294A63A400263BE5 /* RunnerTests */ = { + isa = PBXGroup; + children = ( + 331C807B294A618700263BE5 /* RunnerTests.swift */, + ); + path = RunnerTests; + sourceTree = ""; + }; + 9740EEB11CF90186004384FC /* Flutter */ = { + isa = PBXGroup; + children = ( + 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, + 9740EEB21CF90195004384FC /* Debug.xcconfig */, + 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, + 9740EEB31CF90195004384FC /* Generated.xcconfig */, + ); + name = Flutter; + sourceTree = ""; + }; + 97C146E51CF9000F007C117D = { + isa = PBXGroup; + children = ( + 9740EEB11CF90186004384FC /* Flutter */, + 97C146F01CF9000F007C117D /* Runner */, + 97C146EF1CF9000F007C117D /* Products */, + 331C8082294A63A400263BE5 /* RunnerTests */, + ACDF4EDBF1AC8F83EDB046DA /* Pods */, + BBC4EE5B8016EE87D4F533EA /* Frameworks */, + ); + sourceTree = ""; + }; + 97C146EF1CF9000F007C117D /* Products */ = { + isa = PBXGroup; + children = ( + 97C146EE1CF9000F007C117D /* Runner.app */, + 331C8081294A63A400263BE5 /* RunnerTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 97C146F01CF9000F007C117D /* Runner */ = { + isa = PBXGroup; + children = ( + 97C146FA1CF9000F007C117D /* Main.storyboard */, + 97C146FD1CF9000F007C117D /* Assets.xcassets */, + 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, + 97C147021CF9000F007C117D /* Info.plist */, + 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, + 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, + 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, + 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, + ); + path = Runner; + sourceTree = ""; + }; + ACDF4EDBF1AC8F83EDB046DA /* Pods */ = { + isa = PBXGroup; + children = ( + 73D8CFFACC923EB75C8CA823 /* Pods-Runner.debug.xcconfig */, + 05656353B0B04C8D18028E58 /* Pods-Runner.release.xcconfig */, + 3EB29275C92762F85BF85FA6 /* Pods-Runner.profile.xcconfig */, + 5A3673695993F38FA1C69EE3 /* Pods-RunnerTests.debug.xcconfig */, + A531A512119227029254D2CA /* Pods-RunnerTests.release.xcconfig */, + 79A2B925092E47429EDECDB0 /* Pods-RunnerTests.profile.xcconfig */, + ); + path = Pods; + sourceTree = ""; + }; + BBC4EE5B8016EE87D4F533EA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 3704340510ED6D862B477665 /* Pods_Runner.framework */, + 83EFFC04525D4213A4CB1284 /* Pods_RunnerTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 331C8080294A63A400263BE5 /* RunnerTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; + buildPhases = ( + F22154FCC0CAAB901425458F /* [CP] Check Pods Manifest.lock */, + 331C807D294A63A400263BE5 /* Sources */, + 331C807F294A63A400263BE5 /* Resources */, + B13D369896A8E5A2CFE51784 /* 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 = ( + E94EB98E1B24C7C571586528 /* [CP] Check Pods Manifest.lock */, + 9740EEB61CF901F6004384FC /* Run Script */, + 97C146EA1CF9000F007C117D /* Sources */, + 97C146EB1CF9000F007C117D /* Frameworks */, + 97C146EC1CF9000F007C117D /* Resources */, + 9705A1C41CF9048500538489 /* Embed Frameworks */, + 3B06AD1E1E4923F5004D2608 /* Thin Binary */, + 8919444CEB8CC38840BA495F /* [CP] Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Runner; + productName = Runner; + productReference = 97C146EE1CF9000F007C117D /* Runner.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 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; + }; + }; + }; + buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 97C146E51CF9000F007C117D; + productRefGroup = 97C146EF1CF9000F007C117D /* Products */; + projectDirPath = ""; + 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; + files = ( + 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, + 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, + 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, + 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", + ); + name = "Thin Binary"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; + }; + 8919444CEB8CC38840BA495F /* [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; + }; + 9740EEB61CF901F6004384FC /* Run Script */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Run Script"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; + }; + E94EB98E1B24C7C571586528 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + 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; + }; + F22154FCC0CAAB901425458F /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + 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; + files = ( + 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, + 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* 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; + children = ( + 97C146FB1CF9000F007C117D /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 97C147001CF9000F007C117D /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 249021D3217E4FDB00AE95B9 /* Profile */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SUPPORTED_PLATFORMS = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Profile; + }; + 249021D4217E4FDB00AE95B9 /* Profile */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + DEVELOPMENT_TEAM = WDS9WYN969; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.komodoplatform.atomicdex.kmd; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Profile; + }; + 331C8088294A63A400263BE5 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 5A3673695993F38FA1C69EE3 /* 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.komodoplatform.atomicdex.kmd.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 = A531A512119227029254D2CA /* 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.komodoplatform.atomicdex.kmd.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 = 79A2B925092E47429EDECDB0 /* 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.komodoplatform.atomicdex.kmd.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 = AppIcon; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 97C147041CF9000F007C117D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = AppIcon; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SUPPORTED_PLATFORMS = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 97C147061CF9000F007C117D /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + DEVELOPMENT_TEAM = WDS9WYN969; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.komodoplatform.atomicdex.kmd; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Debug; + }; + 97C147071CF9000F007C117D /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + DEVELOPMENT_TEAM = WDS9WYN969; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.komodoplatform.atomicdex.kmd; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Release; + }; +/* 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 = ( + 97C147031CF9000F007C117D /* Debug */, + 97C147041CF9000F007C117D /* Release */, + 249021D3217E4FDB00AE95B9 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 97C147061CF9000F007C117D /* Debug */, + 97C147071CF9000F007C117D /* Release */, + 249021D4217E4FDB00AE95B9 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 97C146E61CF9000F007C117D /* Project object */; +} diff --git a/iguana_cage/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/iguana_cage/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 000000000..919434a62 --- /dev/null +++ b/iguana_cage/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/iguana_cage/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/iguana_cage/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 000000000..f9b0d7c5e --- /dev/null +++ b/iguana_cage/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/iguana_cage/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/iguana_cage/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme new file mode 100644 index 000000000..e3773d42e --- /dev/null +++ b/iguana_cage/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/iguana_cage/ios/Runner.xcworkspace/contents.xcworkspacedata b/iguana_cage/ios/Runner.xcworkspace/contents.xcworkspacedata new file mode 100644 index 000000000..21a3cc14c --- /dev/null +++ b/iguana_cage/ios/Runner.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/iguana_cage/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/iguana_cage/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 000000000..18d981003 --- /dev/null +++ b/iguana_cage/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/iguana_cage/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/iguana_cage/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 000000000..f9b0d7c5e --- /dev/null +++ b/iguana_cage/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/iguana_cage/ios/Runner/AppDelegate.swift b/iguana_cage/ios/Runner/AppDelegate.swift new file mode 100644 index 000000000..626664468 --- /dev/null +++ b/iguana_cage/ios/Runner/AppDelegate.swift @@ -0,0 +1,13 @@ +import Flutter +import UIKit + +@main +@objc class AppDelegate: FlutterAppDelegate { + override func application( + _ application: UIApplication, + didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? + ) -> Bool { + GeneratedPluginRegistrant.register(with: self) + return super.application(application, didFinishLaunchingWithOptions: launchOptions) + } +} diff --git a/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 000000000..53611299a --- /dev/null +++ b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,122 @@ +{ + "images" : [ + { + "filename" : "Icon-App-20x20@2x.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "20x20" + }, + { + "filename" : "Icon-App-20x20@3x.png", + "idiom" : "iphone", + "scale" : "3x", + "size" : "20x20" + }, + { + "filename" : "Icon-App-29x29@1x.png", + "idiom" : "iphone", + "scale" : "1x", + "size" : "29x29" + }, + { + "filename" : "Icon-App-29x29@2x.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "29x29" + }, + { + "filename" : "Icon-App-29x29@3x.png", + "idiom" : "iphone", + "scale" : "3x", + "size" : "29x29" + }, + { + "filename" : "Icon-App-40x40@2x.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "40x40" + }, + { + "filename" : "Icon-App-40x40@3x.png", + "idiom" : "iphone", + "scale" : "3x", + "size" : "40x40" + }, + { + "filename" : "Icon-App-60x60@2x.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "60x60" + }, + { + "filename" : "Icon-App-60x60@3x.png", + "idiom" : "iphone", + "scale" : "3x", + "size" : "60x60" + }, + { + "filename" : "Icon-App-20x20@1x.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "20x20" + }, + { + "filename" : "Icon-App-20x20@2x.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "20x20" + }, + { + "filename" : "Icon-App-29x29@1x.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "29x29" + }, + { + "filename" : "Icon-App-29x29@2x.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "29x29" + }, + { + "filename" : "Icon-App-40x40@1x.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "40x40" + }, + { + "filename" : "Icon-App-40x40@2x.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "40x40" + }, + { + "filename" : "Icon-App-76x76@1x.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "76x76" + }, + { + "filename" : "Icon-App-76x76@2x.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "76x76" + }, + { + "filename" : "Icon-App-83.5x83.5@2x.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "83.5x83.5" + }, + { + "filename" : "Icon-App-1024x1024@1x.png", + "idiom" : "ios-marketing", + "scale" : "1x", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png new file mode 100644 index 000000000..e2da2fc8c Binary files /dev/null and b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png differ diff --git a/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png new file mode 100644 index 000000000..a8bb66bb1 Binary files /dev/null and b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ diff --git a/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png new file mode 100644 index 000000000..c5aec86f5 Binary files /dev/null and b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ diff --git a/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png new file mode 100644 index 000000000..264da18d4 Binary files /dev/null and b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ diff --git a/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png new file mode 100644 index 000000000..1e0cbaeb8 Binary files /dev/null and b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png differ diff --git a/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png new file mode 100644 index 000000000..bb4d4879e Binary files /dev/null and b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ diff --git a/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png new file mode 100644 index 000000000..a4eb7468f Binary files /dev/null and b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ diff --git a/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png new file mode 100644 index 000000000..c5aec86f5 Binary files /dev/null and b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ diff --git a/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png new file mode 100644 index 000000000..2a0507afd Binary files /dev/null and b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ diff --git a/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png new file mode 100644 index 000000000..5404b1d53 Binary files /dev/null and b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png differ diff --git a/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png new file mode 100644 index 000000000..5404b1d53 Binary files /dev/null and b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ diff --git a/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png new file mode 100644 index 000000000..0a3707491 Binary files /dev/null and b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png differ diff --git a/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png new file mode 100644 index 000000000..4448ea590 Binary files /dev/null and b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ diff --git a/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png new file mode 100644 index 000000000..d4295456e Binary files /dev/null and b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ diff --git a/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png new file mode 100644 index 000000000..0de3cfb51 Binary files /dev/null and b/iguana_cage/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ diff --git a/iguana_cage/ios/Runner/Assets.xcassets/Contents.json b/iguana_cage/ios/Runner/Assets.xcassets/Contents.json new file mode 100644 index 000000000..73c00596a --- /dev/null +++ b/iguana_cage/ios/Runner/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/iguana_cage/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/iguana_cage/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json new file mode 100644 index 000000000..0bedcf2fd --- /dev/null +++ b/iguana_cage/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "LaunchImage.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "LaunchImage@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "LaunchImage@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} diff --git a/iguana_cage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/iguana_cage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png new file mode 100644 index 000000000..9da19eaca Binary files /dev/null and b/iguana_cage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differ diff --git a/iguana_cage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/iguana_cage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png new file mode 100644 index 000000000..9da19eaca Binary files /dev/null and b/iguana_cage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png differ diff --git a/iguana_cage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/iguana_cage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png new file mode 100644 index 000000000..9da19eaca Binary files /dev/null and b/iguana_cage/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png differ diff --git a/iguana_cage/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/iguana_cage/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md new file mode 100644 index 000000000..89c2725b7 --- /dev/null +++ b/iguana_cage/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md @@ -0,0 +1,5 @@ +# Launch Screen Assets + +You can customize the launch screen with your own desired assets by replacing the image files in this directory. + +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. \ No newline at end of file diff --git a/iguana_cage/ios/Runner/Base.lproj/LaunchScreen.storyboard b/iguana_cage/ios/Runner/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 000000000..f2e259c7c --- /dev/null +++ b/iguana_cage/ios/Runner/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/iguana_cage/ios/Runner/Base.lproj/Main.storyboard b/iguana_cage/ios/Runner/Base.lproj/Main.storyboard new file mode 100644 index 000000000..f3c28516f --- /dev/null +++ b/iguana_cage/ios/Runner/Base.lproj/Main.storyboard @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/iguana_cage/ios/Runner/Info.plist b/iguana_cage/ios/Runner/Info.plist new file mode 100644 index 000000000..e2e6309ef --- /dev/null +++ b/iguana_cage/ios/Runner/Info.plist @@ -0,0 +1,104 @@ + + + + + CADisableMinimumFrameDurationOnPhone + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + Komodo Wallet + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + komodo_dex + CFBundlePackageType + APPL + CFBundleShortVersionString + $(FLUTTER_BUILD_NAME) + CFBundleSignature + ???? + CFBundleVersion + $(FLUTTER_BUILD_NUMBER) + LSRequiresIPhoneOS + + CFBundleLocalizations + + zh + English + fr + de + ru + ja + tr + hu + es + ko + uk + + CFBundleURLTypes + + + CFBundleTypeRole + Viewer + CFBundleURLName + com.komodoplatform.atomicdex.kmd + CFBundleURLSchemes + + bitcoin + + + + CFBundleTypeRole + Viewer + CFBundleURLName + com.komodoplatform.atomicdex.kmd + CFBundleURLSchemes + + ethereum + + + + NSAppleMusicUsageDescription + Access to the music library is required in order for users to customize the sounds played by the app. + NSCameraUsageDescription + Camera permission is required for barcode scanning. + NSFaceIDUsageDescription + Face ID is required for authentication. + NSLocationAlwaysUsageDescription + Location services are not required by this application, please contact the app provider if you see this message. + NSLocationWhenInUseUsageDescription + Location services are not required by this application, please contact the app provider if you see this message. + NSPhotoLibraryUsageDescription + Photo Library general access is required for backup functionality. + UIApplicationSupportsIndirectInputEvents + + UIBackgroundModes + + audio + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UIViewControllerBasedStatusBarAppearance + + + diff --git a/iguana_cage/ios/Runner/Runner-Bridging-Header.h b/iguana_cage/ios/Runner/Runner-Bridging-Header.h new file mode 100644 index 000000000..308a2a560 --- /dev/null +++ b/iguana_cage/ios/Runner/Runner-Bridging-Header.h @@ -0,0 +1 @@ +#import "GeneratedPluginRegistrant.h" diff --git a/iguana_cage/ios/RunnerTests/RunnerTests.swift b/iguana_cage/ios/RunnerTests/RunnerTests.swift new file mode 100644 index 000000000..86a7c3b1b --- /dev/null +++ b/iguana_cage/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/iguana_cage/lib/config/migration_config.dart b/iguana_cage/lib/config/migration_config.dart new file mode 100644 index 000000000..0f8747056 --- /dev/null +++ b/iguana_cage/lib/config/migration_config.dart @@ -0,0 +1,36 @@ +/// Centralized configuration for the migration window and app removal date. +/// +/// Update [removalDateUtc] to change the deadline globally. +class MigrationConfig { + /// The date when the migration app will be permanently removed (UTC). + /// + /// NOTE: Adjust this to the real deadline as needed. + static final DateTime removalDateUtc = DateTime.utc(2025, 11, 30); + + /// Returns the number of full days remaining until [removalDateUtc]. + /// + /// The calculation is done in UTC and is date-granular to avoid timezone + /// edge cases where local midnight shifts the count unexpectedly. + static int daysRemaining({DateTime? now}) { + final DateTime nowUtc = (now ?? DateTime.now()).toUtc(); + final DateTime todayUtc = DateTime.utc( + nowUtc.year, + nowUtc.month, + nowUtc.day, + ); + final DateTime deadlineDateUtc = DateTime.utc( + removalDateUtc.year, + removalDateUtc.month, + removalDateUtc.day, + ); + final Duration diff = deadlineDateUtc.difference(todayUtc); + final int days = diff.inDays; + return days < 0 ? 0 : days; + } + + /// Whether the deadline has passed (strictly after the removal date). + static bool isPastDeadline({DateTime? now}) { + final DateTime nowUtc = (now ?? DateTime.now()).toUtc(); + return nowUtc.isAfter(removalDateUtc); + } +} diff --git a/iguana_cage/lib/main.dart b/iguana_cage/lib/main.dart new file mode 100644 index 000000000..049f9dd11 --- /dev/null +++ b/iguana_cage/lib/main.dart @@ -0,0 +1,29 @@ +import 'package:flutter/material.dart'; + +import 'screens/wallet_list_screen.dart'; + +void main() { + WidgetsFlutterBinding.ensureInitialized(); + runApp(const IguanaCageApp()); +} + +class IguanaCageApp extends StatelessWidget { + const IguanaCageApp({super.key}); + + @override + Widget build(BuildContext context) { + return MaterialApp( + title: 'Komodo Wallet Migration', + theme: ThemeData( + colorScheme: ColorScheme.fromSeed( + seedColor: const Color(0xFF3CC9BF), // Parent light secondary (teal) + brightness: Brightness.light, + ), + useMaterial3: true, + appBarTheme: const AppBarTheme(centerTitle: true, elevation: 0), + ), + home: const WalletListScreen(), + debugShowCheckedModeBanner: false, + ); + } +} diff --git a/iguana_cage/lib/models/wallet.dart b/iguana_cage/lib/models/wallet.dart new file mode 100644 index 000000000..5a6562ca8 --- /dev/null +++ b/iguana_cage/lib/models/wallet.dart @@ -0,0 +1,25 @@ +import 'package:uuid/uuid.dart'; + +class Wallet { + String id; + String name; + + Wallet({String? id, required this.name}) : id = id ?? const Uuid().v1(); + + Wallet.fromJson(Map json) + : id = json['id'], + name = json['name']; + + Map toJson() => {'id': id, 'name': name}; + + @override + String toString() => 'Wallet{id: $id, name: $name}'; + + @override + bool operator ==(Object other) => + identical(this, other) || + other is Wallet && runtimeType == other.runtimeType && id == other.id; + + @override + int get hashCode => id.hashCode; +} diff --git a/iguana_cage/lib/screens/wallet_export_screen.dart b/iguana_cage/lib/screens/wallet_export_screen.dart new file mode 100644 index 000000000..f198b44ad --- /dev/null +++ b/iguana_cage/lib/screens/wallet_export_screen.dart @@ -0,0 +1,449 @@ +import 'package:flutter/material.dart'; +import 'package:flutter/services.dart'; + +import '../models/wallet.dart'; +import '../services/wallet_service.dart'; + +class WalletExportScreen extends StatefulWidget { + const WalletExportScreen({super.key, required this.wallet}); + + final Wallet wallet; + + @override + State createState() => _WalletExportScreenState(); +} + +class _WalletExportScreenState extends State { + final WalletService _walletService = WalletService(); + final TextEditingController _passwordController = TextEditingController(); + final TextEditingController _pinController = TextEditingController(); + + bool _isLoading = false; + bool _pinAvailable = false; + bool _biometricAvailable = false; + bool _obscurePassword = true; + bool _obscurePin = true; + + String? _exportedSeed; + String? _errorMessage; + _SeedUnlockMethod? _activeMethod; + + @override + void initState() { + super.initState(); + _initialiseSecurityOptions(); + } + + @override + void dispose() { + _passwordController.dispose(); + _pinController.dispose(); + super.dispose(); + } + + Future _initialiseSecurityOptions() async { + try { + final pinAvailable = await _walletService.isPinSetup(); + final biometricAvailable = await _walletService.isBiometricConfigured(); + if (!mounted) return; + setState(() { + _pinAvailable = pinAvailable; + _biometricAvailable = biometricAvailable; + }); + } catch (_) { + if (!mounted) return; + setState(() { + _pinAvailable = false; + _biometricAvailable = false; + }); + } + } + + Future _performExport( + Future Function() exporter, { + required String failureMessage, + required _SeedUnlockMethod method, + }) async { + FocusScope.of(context).unfocus(); + setState(() { + _isLoading = true; + _errorMessage = null; + _activeMethod = method; + }); + + try { + final seed = await exporter(); + if (!mounted) { + return; + } + if (seed == null || seed.isEmpty) { + setState(() { + _exportedSeed = null; + _errorMessage = failureMessage; + }); + } else { + setState(() { + _exportedSeed = seed; + _errorMessage = null; + }); + } + } catch (_) { + if (!mounted) return; + setState(() { + _exportedSeed = null; + _errorMessage = failureMessage; + }); + } finally { + if (mounted) { + setState(() { + _isLoading = false; + _activeMethod = null; + }); + } + } + } + + Future _exportWithPassword() async { + final password = _passwordController.text; + if (password.isEmpty) { + setState(() { + _errorMessage = 'Enter the wallet password to continue.'; + }); + return; + } + + await _performExport( + () => _walletService.exportSeedWithPassword(widget.wallet, password), + failureMessage: + 'Unable to unlock the seed with the provided password. Please try again.', + method: _SeedUnlockMethod.password, + ); + } + + Future _exportWithPin() async { + final pin = _pinController.text; + if (pin.isEmpty) { + setState(() { + _errorMessage = 'Enter the wallet PIN to continue.'; + }); + return; + } + + await _performExport( + () => _walletService.exportSeedWithPin(widget.wallet, pin), + failureMessage: + 'PIN authentication failed. Verify your PIN and try again.', + method: _SeedUnlockMethod.pin, + ); + } + + Future _exportWithBiometric() async { + await _performExport( + () => _walletService.exportSeedWithBiometrics(widget.wallet), + failureMessage: + 'Biometric authentication did not succeed. Use another method or try again.', + method: _SeedUnlockMethod.biometric, + ); + } + + Future _copySeedToClipboard() async { + if (_exportedSeed == null) return; + await Clipboard.setData(ClipboardData(text: _exportedSeed!)); + if (!mounted) return; + ScaffoldMessenger.of(context).showSnackBar( + const SnackBar( + content: Text('Seed phrase copied to the clipboard'), + duration: Duration(seconds: 2), + ), + ); + } + + @override + Widget build(BuildContext context) { + final theme = Theme.of(context); + return Scaffold( + appBar: AppBar( + title: const Text('Export Seed Phrase'), + backgroundColor: theme.colorScheme.primary, + foregroundColor: Colors.white, + ), + body: SafeArea( + child: SingleChildScrollView( + padding: const EdgeInsets.all(16), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + widget.wallet.name, + style: theme.textTheme.headlineSmall?.copyWith( + fontWeight: FontWeight.bold, + ), + ), + const SizedBox(height: 4), + Text( + 'Wallet ID: ${widget.wallet.id}', + style: theme.textTheme.bodySmall?.copyWith( + color: theme.colorScheme.onSurfaceVariant, + ), + ), + const SizedBox(height: 16), + Text( + 'Choose one of the available unlock methods to reveal the seed phrase used by the legacy Komodo Wallet.', + style: theme.textTheme.bodyMedium, + ), + const SizedBox(height: 16), + if (_errorMessage != null) + Container( + width: double.infinity, + margin: const EdgeInsets.only(bottom: 16), + padding: const EdgeInsets.all(12), + decoration: BoxDecoration( + color: theme.colorScheme.errorContainer.withValues( + alpha: 0.2, + ), + borderRadius: BorderRadius.circular(8), + ), + child: Text( + _errorMessage!, + style: theme.textTheme.bodyMedium?.copyWith( + color: theme.colorScheme.error, + ), + ), + ), + if (_exportedSeed != null) _buildSeedDisplay(theme), + _buildPasswordCard(theme), + if (_pinAvailable) _buildPinCard(theme), + if (_biometricAvailable) _buildBiometricCard(theme), + if (!_pinAvailable && !_biometricAvailable) + Padding( + padding: const EdgeInsets.only(top: 24), + child: Text( + 'PIN and biometric unlock are not configured for this wallet. Use the password method above.', + style: theme.textTheme.bodySmall?.copyWith( + color: theme.colorScheme.onSurfaceVariant, + ), + ), + ), + ], + ), + ), + ), + ); + } + + Widget _buildSeedDisplay(ThemeData theme) { + final textTheme = theme.textTheme; + return Card( + elevation: 2, + margin: const EdgeInsets.only(bottom: 16), + child: Padding( + padding: const EdgeInsets.all(16), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Text( + 'Recovered Seed Phrase', + style: textTheme.titleMedium?.copyWith( + fontWeight: FontWeight.bold, + ), + ), + TextButton.icon( + onPressed: _copySeedToClipboard, + icon: const Icon(Icons.copy), + label: const Text('Copy'), + ), + ], + ), + const SizedBox(height: 12), + Container( + width: double.infinity, + padding: const EdgeInsets.all(12), + decoration: BoxDecoration( + color: Colors.grey[100], + borderRadius: BorderRadius.circular(8), + ), + child: SelectableText( + _exportedSeed ?? '', + style: textTheme.bodyLarge?.copyWith( + height: 1.4, + letterSpacing: 0.2, + ), + ), + ), + const SizedBox(height: 12), + Text( + 'Write this phrase down on paper and store it in a secure place. ' + 'Anyone with access to it can control your funds.', + style: textTheme.bodySmall?.copyWith( + color: + (textTheme.bodySmall?.color ?? + theme.colorScheme.onSurfaceVariant) + .withValues(alpha: 0.8), + ), + ), + ], + ), + ), + ); + } + + Widget _buildPasswordCard(ThemeData theme) { + final textTheme = theme.textTheme; + return Card( + elevation: 2, + margin: const EdgeInsets.only(bottom: 16), + child: Padding( + padding: const EdgeInsets.all(16), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + 'Unlock with Password', + style: textTheme.titleMedium?.copyWith( + fontWeight: FontWeight.bold, + ), + ), + const SizedBox(height: 12), + TextField( + controller: _passwordController, + obscureText: _obscurePassword, + enabled: !_isLoading, + decoration: InputDecoration( + labelText: 'Wallet password', + suffixIcon: IconButton( + icon: Icon( + _obscurePassword ? Icons.visibility : Icons.visibility_off, + ), + onPressed: () { + setState(() { + _obscurePassword = !_obscurePassword; + }); + }, + ), + ), + ), + const SizedBox(height: 16), + SizedBox( + width: double.infinity, + child: FilledButton( + onPressed: _isLoading ? null : _exportWithPassword, + child: _isLoading && _activeMethod == _SeedUnlockMethod.password + ? const SizedBox( + height: 20, + width: 20, + child: CircularProgressIndicator(strokeWidth: 2), + ) + : const Text('Export using password'), + ), + ), + ], + ), + ), + ); + } + + Widget _buildPinCard(ThemeData theme) { + final textTheme = theme.textTheme; + return Card( + elevation: 2, + margin: const EdgeInsets.only(bottom: 16), + child: Padding( + padding: const EdgeInsets.all(16), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + 'Unlock with PIN', + style: textTheme.titleMedium?.copyWith( + fontWeight: FontWeight.bold, + ), + ), + const SizedBox(height: 12), + TextField( + controller: _pinController, + enabled: !_isLoading, + obscureText: _obscurePin, + keyboardType: TextInputType.number, + decoration: InputDecoration( + labelText: 'Wallet PIN', + suffixIcon: IconButton( + icon: Icon( + _obscurePin ? Icons.visibility : Icons.visibility_off, + ), + onPressed: () { + setState(() { + _obscurePin = !_obscurePin; + }); + }, + ), + ), + ), + const SizedBox(height: 16), + SizedBox( + width: double.infinity, + child: OutlinedButton.icon( + onPressed: _isLoading ? null : _exportWithPin, + icon: const Icon(Icons.lock), + label: _isLoading && _activeMethod == _SeedUnlockMethod.pin + ? const SizedBox( + height: 20, + width: 20, + child: CircularProgressIndicator(strokeWidth: 2), + ) + : const Text('Export using PIN'), + ), + ), + ], + ), + ), + ); + } + + Widget _buildBiometricCard(ThemeData theme) { + final textTheme = theme.textTheme; + return Card( + elevation: 2, + margin: const EdgeInsets.only(bottom: 16), + child: Padding( + padding: const EdgeInsets.all(16), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + 'Unlock with Biometrics', + style: textTheme.titleMedium?.copyWith( + fontWeight: FontWeight.bold, + ), + ), + const SizedBox(height: 8), + Text( + 'Use Face ID, Touch ID, or fingerprint authentication to unlock using the stored passphrase.', + style: textTheme.bodyMedium, + ), + const SizedBox(height: 16), + SizedBox( + width: double.infinity, + child: ElevatedButton.icon( + onPressed: _isLoading ? null : _exportWithBiometric, + icon: const Icon(Icons.fingerprint), + label: + _isLoading && _activeMethod == _SeedUnlockMethod.biometric + ? const SizedBox( + height: 20, + width: 20, + child: CircularProgressIndicator(strokeWidth: 2), + ) + : const Text('Use biometric authentication'), + ), + ), + ], + ), + ), + ); + } +} + +enum _SeedUnlockMethod { password, pin, biometric } diff --git a/iguana_cage/lib/screens/wallet_list_screen.dart b/iguana_cage/lib/screens/wallet_list_screen.dart new file mode 100644 index 000000000..fd41485f6 --- /dev/null +++ b/iguana_cage/lib/screens/wallet_list_screen.dart @@ -0,0 +1,218 @@ +import 'package:flutter/material.dart'; +import 'package:url_launcher/url_launcher.dart'; +import '../config/migration_config.dart'; +import '../models/wallet.dart'; +import '../services/wallet_service.dart'; +import './wallet_export_screen.dart'; + +class WalletListScreen extends StatefulWidget { + const WalletListScreen({super.key}); + + @override + State createState() => _WalletListScreenState(); +} + +class _WalletListScreenState extends State { + final WalletService _walletService = WalletService(); + List _wallets = []; + bool _isLoading = true; + + @override + void initState() { + super.initState(); + _loadWallets(); + } + + Future _loadWallets() async { + try { + final wallets = await _walletService.getAvailableWallets(); + setState(() { + _wallets = wallets; + _isLoading = false; + }); + } catch (e) { + setState(() { + _isLoading = false; + }); + if (mounted) { + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text('Error loading wallets: $e'), + backgroundColor: Colors.red, + ), + ); + } + } + } + + Future _selectWallet(Wallet wallet) async { + // Always navigate to the export screen; it will surface available methods + if (mounted) { + Navigator.of(context).push( + MaterialPageRoute( + builder: (context) => WalletExportScreen(wallet: wallet), + ), + ); + } + } + + Widget _buildWarningBanner() { + final int daysLeft = MigrationConfig.daysRemaining(); + final DateTime removal = MigrationConfig.removalDateUtc; + final String daysText = daysLeft == 1 ? '1 day' : '$daysLeft days'; + final String dateText = + '${removal.year}-${removal.month.toString().padLeft(2, '0')}-${removal.day.toString().padLeft(2, '0')}'; + + return Container( + margin: const EdgeInsets.fromLTRB(16, 12, 16, 8), + padding: const EdgeInsets.all(12), + decoration: BoxDecoration( + color: Colors.amber.shade50, + border: Border.all(color: Colors.amber.shade200), + borderRadius: BorderRadius.circular(8), + ), + child: Row( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Icon(Icons.warning_amber_rounded, color: Colors.amber.shade800), + const SizedBox(width: 12), + Expanded( + child: Text( + 'Only $daysText left to export and back up your data and migrate to the new Komodo Wallet app. This migration app will be permanently removed after $dateText.', + style: Theme.of(context).textTheme.bodyMedium?.copyWith( + color: Colors.brown[800], + fontWeight: FontWeight.w600, + ), + ), + ), + const SizedBox(width: 8), + IconButton( + tooltip: 'Open komodoplatform.com', + icon: const Icon(Icons.open_in_new), + color: Colors.brown[800], + onPressed: _openKomodoWebsite, + ), + ], + ), + ); + } + + Future _openKomodoWebsite() async { + final uri = Uri.parse('https://komodoplatform.com/'); + if (!await launchUrl(uri, mode: LaunchMode.externalApplication)) { + if (!mounted) return; + ScaffoldMessenger.of(context).showSnackBar( + const SnackBar(content: Text('Could not open komodoplatform.com')), + ); + } + } + + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar( + title: const Text('Komodo Wallet Migration'), + backgroundColor: Theme.of(context).colorScheme.primary, + foregroundColor: Colors.white, + ), + body: Column( + children: [ + _buildWarningBanner(), + Expanded( + child: _isLoading + ? const Center(child: CircularProgressIndicator()) + : _wallets.isEmpty + ? Center( + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Icon( + Icons.account_balance_wallet_outlined, + size: 64, + color: Colors.grey[400], + ), + const SizedBox(height: 16), + Text( + 'No wallets found', + style: Theme.of(context).textTheme.headlineSmall + ?.copyWith(color: Colors.grey[600]), + ), + const SizedBox(height: 8), + Text( + 'Make sure you have wallets created in Komodo Wallet', + style: Theme.of(context).textTheme.bodyMedium + ?.copyWith(color: Colors.grey[500]), + textAlign: TextAlign.center, + ), + ], + ), + ) + : Padding( + padding: const EdgeInsets.all(16.0), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + 'Select a wallet to export:', + style: Theme.of(context).textTheme.headlineSmall + ?.copyWith(fontWeight: FontWeight.bold), + ), + const SizedBox(height: 8), + Text( + 'Choose the wallet you want to export the seed phrase from.', + style: Theme.of(context).textTheme.bodyMedium + ?.copyWith(color: Colors.grey[600]), + ), + const SizedBox(height: 24), + Expanded( + child: ListView.builder( + itemCount: _wallets.length, + itemBuilder: (context, index) { + final wallet = _wallets[index]; + return Card( + margin: const EdgeInsets.only(bottom: 12), + elevation: 2, + child: ListTile( + contentPadding: const EdgeInsets.all(16), + leading: Container( + padding: const EdgeInsets.all(12), + decoration: BoxDecoration( + color: Theme.of(context) + .colorScheme + .primary + .withValues(alpha: 0.1), + borderRadius: BorderRadius.circular(8), + ), + child: Icon( + Icons.account_balance_wallet, + color: Theme.of( + context, + ).colorScheme.primary, + ), + ), + title: Text( + wallet.name, + style: const TextStyle( + fontWeight: FontWeight.bold, + ), + ), + subtitle: Text( + 'Tap to export seed phrase', + style: TextStyle(color: Colors.grey[600]), + ), + trailing: const Icon(Icons.arrow_forward_ios), + onTap: () => _selectWallet(wallet), + ), + ); + }, + ), + ), + ], + ), + ), + ), + ], + ), + ); + } +} diff --git a/iguana_cage/lib/services/auth_service.dart b/iguana_cage/lib/services/auth_service.dart new file mode 100644 index 000000000..71da46bc4 --- /dev/null +++ b/iguana_cage/lib/services/auth_service.dart @@ -0,0 +1,46 @@ +import 'package:local_auth/local_auth.dart'; +import 'package:flutter/services.dart'; +import 'package:flutter/foundation.dart'; + +class AuthService { + final LocalAuthentication _localAuth = LocalAuthentication(); + + Future isBiometricAvailable() async { + try { + final bool isAvailable = await _localAuth.canCheckBiometrics; + final bool isDeviceSupported = await _localAuth.isDeviceSupported(); + return isAvailable && isDeviceSupported; + } catch (e) { + return false; + } + } + + Future> getAvailableBiometrics() async { + try { + return await _localAuth.getAvailableBiometrics(); + } catch (e) { + return []; + } + } + + Future authenticateWithBiometrics({ + required String reason, + bool biometricOnly = false, + }) async { + try { + final bool didAuthenticate = await _localAuth.authenticate( + localizedReason: reason, + options: AuthenticationOptions( + biometricOnly: biometricOnly, + stickyAuth: false, + sensitiveTransaction: true, + ), + ); + return didAuthenticate; + } on PlatformException catch (e) { + // Authentication error occurred + debugPrint('Authentication error: ${e.message}'); + return false; + } + } +} diff --git a/iguana_cage/lib/services/database_service.dart b/iguana_cage/lib/services/database_service.dart new file mode 100644 index 000000000..78d4dd32f --- /dev/null +++ b/iguana_cage/lib/services/database_service.dart @@ -0,0 +1,219 @@ +import 'dart:async'; +import 'dart:io'; + +import 'package:path/path.dart'; +import 'package:path_provider/path_provider.dart'; +import 'package:sqflite/sqflite.dart'; + +import '../models/wallet.dart'; + +class DatabaseService { + static Database? _db; + static bool _initInvoked = false; + + static Future get db async { + if (_initInvoked) { + while (_db == null) { + await Future.delayed(const Duration(milliseconds: 10)); + } + return _db!; + } + + _initInvoked = true; + _db = await _initDB(); + return _db!; + } + + static Future _initDB() async { + final Directory documentsDirectory = + await getApplicationDocumentsDirectory(); + final String path = join(documentsDirectory.path, 'AtomicDEX.db'); + + String articleTable = ''' + CREATE TABLE ArticlesSaved ( + id TEXT PRIMARY KEY, + media TEXT, + title TEXT, + header TEXT, + body TEXT, + keywords TEXT, + isSavedArticle BIT, + creationDate TEXT, + author TEXT, + v INTEGER + ) + '''; + String walletTable([bool newValue = false]) => ''' + CREATE TABLE ${newValue ? 'new_' : ''}Wallet ( + id TEXT PRIMARY KEY, + name TEXT, + activate_pin_protection BIT, + activate_bio_protection BIT, + switch_pin_log_out_on_exit BIT, + enable_camo BIT, + is_camo_active BIT, + camo_fraction INTEGER, + camo_balance TEXT, + camo_session_started_at INTEGER + ) + '''; + String currentWalletTable([bool newValue = false]) => ''' + CREATE TABLE ${newValue ? 'new_' : ''}CurrentWallet ( + id TEXT PRIMARY KEY, + name TEXT, + activate_pin_protection BIT, + activate_bio_protection BIT, + switch_pin_log_out_on_exit BIT, + enable_camo BIT, + is_camo_active BIT, + camo_fraction INTEGER, + camo_balance TEXT, + camo_session_started_at INTEGER + ) + '''; + String listOfCoinActivatedTable = ''' + CREATE TABLE ListOfCoinsActivated ( + wallet_id TEXT PRIMARY KEY, + coins TEXT + ) + '''; + + final db = await openDatabase( + path, + version: 3, + onOpen: (Database db) {}, + onCreate: (Database db, int version) async { + // DatabaseService: onCreate version $version + await db.execute(articleTable); + await db.execute(walletTable()); + await db.execute(currentWalletTable()); + await db.execute(listOfCoinActivatedTable); + }, + onUpgrade: (db, oldVersion, newVersion) async { + // DatabaseService: onUpgrade, oldVersion: $oldVersion newVersion: $newVersion + + // Same migration logic as main app + try { + List listOfCoins = []; + + final batch = db.batch(); + // when migrating from version 1, run this for the coins activated migration + if (oldVersion == 1) { + String? walletId; + final currentWallet = + await db.query('CurrentWallet', columns: ['id'], limit: 1); + + if (currentWallet.isNotEmpty) { + walletId = currentWallet.first['id'] as String?; + + if (walletId != null && walletId.isNotEmpty) { + final coinsQuery = + await db.query('CoinsActivated', columns: ['abbr']); + + if (coinsQuery.isNotEmpty) { + listOfCoins = + coinsQuery.map((c) => c['abbr'].toString()).toList(); + } + } + } + batch.execute(listOfCoinActivatedTable); + batch.execute('DROP TABLE CoinsActivated'); + if ((walletId != null && walletId.isNotEmpty) && + listOfCoins.isNotEmpty) { + // DatabaseService: Attempting to migrate previously activated coins + final coinsString = listOfCoins.join(','); + batch.insert( + 'ListOfCoinsActivated', + { + 'wallet_id': walletId, + 'coins': coinsString, + }, + ); + } + } + + batch.execute(walletTable(true)); + batch.execute(currentWalletTable(true)); + batch.execute(''' + INSERT INTO + new_Wallet(id, name) + SELECT id, name + FROM Wallet + '''); + batch.execute(''' + INSERT INTO new_CurrentWallet(id, name) + SELECT id, name + FROM CurrentWallet + '''); + batch.execute('DROP TABLE Wallet'); + batch.execute('DROP TABLE CurrentWallet'); + batch.execute('ALTER TABLE new_Wallet RENAME TO Wallet'); + batch + .execute('ALTER TABLE new_CurrentWallet RENAME TO CurrentWallet'); + // Remove the WalletSnapshot because it causes coins to show up + // even though they aren't in the db due to the ListOfCoinsActivated migration + batch.execute('DELETE FROM WalletSnapshot'); + + batch.commit(); + // DatabaseService: upgraded database to version $newVersion successfully + } catch (e) { + // DatabaseService: unable to upgrade database to version $newVersion, error ${e.toString()}' + rethrow; + } + }, + ); + + // Drop tables no longer in use. + await db.execute('DROP TABLE IF EXISTS CoinsDefault'); + await db.execute('DROP TABLE IF EXISTS CoinsConfig'); + await db.execute('DROP TABLE IF EXISTS TxNotes'); + + // id is the tx_hash for transactions and the swap id for swaps + await db.execute(''' + CREATE TABLE IF NOT EXISTS Notes ( + id TEXT PRIMARY KEY, + note TEXT + ) + '''); + + await db.execute(''' + CREATE TABLE IF NOT EXISTS WalletSnapshot ( + wallet_id TEXT PRIMARY KEY, + snapshot TEXT + ) + '''); + + await db.execute(''' + CREATE TABLE IF NOT EXISTS OrderbookSnapshot ( + id INTEGER PRIMARY KEY, + snapshot TEXT + ) + '''); + + return db; + } + + static Future> getAllWallets() async { + final Database database = await db; + + final List> maps = await database.query('Wallet'); + + return List.generate(maps.length, (int i) { + return Wallet(id: maps[i]['id'], name: maps[i]['name']); + }); + } + + static Future getCurrentWallet() async { + final Database database = await db; + + final List> maps = await database.query( + 'CurrentWallet', + ); + + if (maps.isEmpty) { + return null; + } + + return Wallet(id: maps[0]['id'], name: maps[0]['name']); + } +} diff --git a/iguana_cage/lib/services/encryption_tool.dart b/iguana_cage/lib/services/encryption_tool.dart new file mode 100644 index 000000000..8d2330fc2 --- /dev/null +++ b/iguana_cage/lib/services/encryption_tool.dart @@ -0,0 +1,188 @@ +import 'dart:convert'; + +import 'package:crypto/crypto.dart'; +import 'package:dargon2_flutter/dargon2_flutter.dart'; +import 'package:encrypt/encrypt.dart'; +import 'package:flutter_secure_storage/flutter_secure_storage.dart'; + +import '../models/wallet.dart'; + +class EncryptionTool { + final FlutterSecureStorage storage = const FlutterSecureStorage(); + + String _legacyKeyName(KeyEncryption key) { + switch (key) { + case KeyEncryption.seed: + return 'KeyEncryption.SEED'; + case KeyEncryption.pin: + return 'KeyEncryption.PIN'; + case KeyEncryption.camopin: + return 'KeyEncryption.CAMOPIN'; + } + } + + String keyPassword(KeyEncryption key, Wallet wallet) => + 'password${_legacyKeyName(key)}${wallet.name}${wallet.id}'; + + String keyData(KeyEncryption key, Wallet wallet, String password) => + '${_legacyKeyName(key)}$password${wallet.name}${wallet.id}'; + + Future isPasswordValid( + KeyEncryption key, + Wallet wallet, + String password, + ) async { + if (key == KeyEncryption.seed) { + final storedHash = await storage.read(key: keyPassword(key, wallet)); + if (storedHash == null || storedHash.isEmpty) { + return false; + } + try { + return await argon2.verifyHashString( + password, + storedHash, + type: Argon2Type.id, + ); + } catch (_) { + return false; + } + } else { + return true; + } + } + + Future hasEncryptedSeed(Wallet wallet) async { + final storedHash = + await storage.read(key: keyPassword(KeyEncryption.seed, wallet)); + if (storedHash != null && storedHash.isNotEmpty) { + return true; + } + + // Legacy fallback: some very old builds stored the seed without hashing + // metadata; try to detect that scenario without knowing the password. + final legacyKey = 'seed${wallet.name}${wallet.id}'; + final legacyValue = await storage.read(key: legacyKey); + return legacyValue != null && legacyValue.isNotEmpty; + } + + Future _computeHash(String data) async { + final s = Salt.newSalt(); + + final result = await argon2.hashPasswordString( + data, + salt: s, + type: Argon2Type.id, + ); + + return result.encodedString; + } + + String encryptData(String password, String data) { + final iv = IV.fromSecureRandom(16); + final mac = IV.fromSecureRandom(16); + + final key = Key.fromUtf8( + password, + ).stretch(16, iterationCount: 10000, salt: iv.bytes); + + final encrypter = Encrypter(AES(key, mode: AESMode.gcm)); + + final encrypted = encrypter.encrypt( + data, + iv: iv, + associatedData: mac.bytes, + ); + return iv.base64 + mac.base64 + encrypted.base64; + } + + String? decryptData(String password, String encryptedData) { + try { + String ivString = encryptedData.substring(0, 24); + String macString = encryptedData.substring(24, 48); + String dataString = encryptedData.substring(48); + + final iv = IV.fromBase64(ivString); + final mac = IV.fromBase64(macString); + + final key = Key.fromUtf8( + password, + ).stretch(16, iterationCount: 10000, salt: iv.bytes); + + final encrypter = Encrypter(AES(key, mode: AESMode.gcm)); + final Encrypted encrypted = Encrypted.fromBase64(dataString); + final decryptedData = encrypter.decrypt( + encrypted, + iv: iv, + associatedData: mac.bytes, + ); + return decryptedData; + } catch (_) { + return _decryptLegacy(password, encryptedData); + } + } + + String? _decryptLegacy(String password, String encryptedData) { + try { + final String length32Key = md5.convert(utf8.encode(password)).toString(); + final key = Key.fromUtf8(length32Key); + final iv = IV.allZerosOfLength(16); + + final Encrypter encrypter = Encrypter(AES(key)); + final Encrypted encrypted = Encrypted.fromBase64(encryptedData); + final decryptedData = encrypter.decrypt(encrypted, iv: iv); + + return decryptedData; + } catch (_) { + return null; + } + } + + Future writeData( + KeyEncryption key, + Wallet wallet, + String password, + String data, + ) async => await storage + .write(key: keyData(key, wallet, password), value: data) + .then((_) async { + if (key == KeyEncryption.seed) { + await storage.write( + key: keyPassword(key, wallet), + value: await _computeHash(password), + ); + } + }); + + Future readData( + KeyEncryption key, + Wallet wallet, + String password, + ) async => await isPasswordValid(key, wallet, password) + .catchError((dynamic e) => throw e) + .then( + (bool onValue) async => + await storage.read(key: keyData(key, wallet, password)), + ); + + Future deleteData( + KeyEncryption key, + Wallet wallet, + String password, + ) async => await isPasswordValid(key, wallet, password) + .catchError((dynamic e) => throw e) + .then((bool res) async { + await storage.delete(key: keyPassword(key, wallet)); + }) + .then( + (_) async => await storage.delete(key: keyData(key, wallet, password)), + ); + + Future write(String key, String data) async => + await storage.write(key: key, value: data); + + Future read(String key) async => await storage.read(key: key); + + Future delete(String key) async => await storage.delete(key: key); +} + +enum KeyEncryption { seed, pin, camopin } diff --git a/iguana_cage/lib/services/wallet_service.dart b/iguana_cage/lib/services/wallet_service.dart new file mode 100644 index 000000000..1b3ad7ccb --- /dev/null +++ b/iguana_cage/lib/services/wallet_service.dart @@ -0,0 +1,127 @@ +import '../models/wallet.dart'; +import '../services/database_service.dart'; +import '../services/encryption_tool.dart'; +import '../services/auth_service.dart'; + +class WalletService { + final EncryptionTool _encryptionTool = EncryptionTool(); + final AuthService _authService = AuthService(); + + Future> getAvailableWallets() async { + return await DatabaseService.getAllWallets(); + } + + Future canExportSeed(Wallet wallet) async { + // Consider exportable if either a per-wallet encrypted seed exists + // or a legacy global passphrase is present in secure storage. + if (await _encryptionTool.hasEncryptedSeed(wallet)) { + return true; + } + final legacyPassphrase = await _encryptionTool.read('passphrase'); + return legacyPassphrase != null && legacyPassphrase.isNotEmpty; + } + + Future exportSeedWithPassword(Wallet wallet, String password) async { + try { + final seedPhrase = await _encryptionTool.readData( + KeyEncryption.seed, + wallet, + password, + ); + return seedPhrase; + } catch (e) { + return null; + } + } + + Future exportSeedWithBiometrics(Wallet wallet) async { + try { + // Check if biometric authentication is available + final isBiometricAvailable = await _authService.isBiometricAvailable(); + if (!isBiometricAvailable) { + throw Exception('Biometric authentication not available'); + } + + // Authenticate with biometrics + final isAuthenticated = await _authService.authenticateWithBiometrics( + reason: 'Authenticate to export wallet seed for ${wallet.name}', + biometricOnly: true, + ); + + if (!isAuthenticated) { + throw Exception('Biometric authentication failed'); + } + + // In the legacy app, biometric auth unlocks and returns the stored passphrase (seed phrase). + // Do not pass the passphrase into the password-based decrypt path. + final storedPassphrase = await _encryptionTool.read('passphrase'); + if (storedPassphrase != null && storedPassphrase.isNotEmpty) { + return storedPassphrase; + } + + throw Exception( + 'No stored passphrase found for biometric authentication', + ); + } catch (e) { + return null; + } + } + + Future exportSeedWithPin(Wallet wallet, String pin) async { + try { + // In the legacy app, PIN is used to access the stored passphrase, + // which is then used to decrypt the seed + final storedPin = await _encryptionTool.read('pin'); + if (storedPin == null || storedPin != pin) { + throw Exception('Invalid PIN'); + } + + // Get the stored passphrase using the PIN validation + final storedPassphrase = await _encryptionTool.read('passphrase'); + if (storedPassphrase != null && storedPassphrase.isNotEmpty) { + return storedPassphrase; + } + + throw Exception('No stored passphrase found'); + } catch (e) { + return null; + } + } + + Future validatePin(String pin) async { + try { + final storedPin = await _encryptionTool.read('pin'); + return storedPin != null && storedPin == pin; + } catch (e) { + return false; + } + } + + Future isPinSetup() async { + try { + final storedPin = await _encryptionTool.read('pin'); + return storedPin != null && storedPin.isNotEmpty; + } catch (e) { + return false; + } + } + + Future isBiometricAvailable() async { + try { + return await _authService.isBiometricAvailable(); + } catch (e) { + return false; + } + } + + Future isBiometricConfigured() async { + try { + final available = await _authService.isBiometricAvailable(); + if (!available) return false; + final storedPassphrase = await _encryptionTool.read('passphrase'); + return storedPassphrase != null && storedPassphrase.isNotEmpty; + } catch (e) { + return false; + } + } +} diff --git a/iguana_cage/pubspec.lock b/iguana_cage/pubspec.lock new file mode 100644 index 000000000..1f1f7f947 --- /dev/null +++ b/iguana_cage/pubspec.lock @@ -0,0 +1,800 @@ +# Generated by pub +# See https://dart.dev/tools/pub/glossary#lockfile +packages: + archive: + dependency: transitive + description: + name: archive + sha256: cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d + url: "https://pub.dev" + source: hosted + version: "3.6.1" + args: + dependency: transitive + description: + name: args + sha256: d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04 + url: "https://pub.dev" + source: hosted + version: "2.7.0" + asn1lib: + dependency: transitive + description: + name: asn1lib + sha256: "9a8f69025044eb466b9b60ef3bc3ac99b4dc6c158ae9c56d25eeccf5bc56d024" + url: "https://pub.dev" + source: hosted + version: "1.6.5" + async: + dependency: transitive + description: + name: async + sha256: "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb" + url: "https://pub.dev" + source: hosted + version: "2.13.0" + boolean_selector: + dependency: transitive + description: + name: boolean_selector + sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea" + url: "https://pub.dev" + source: hosted + version: "2.1.2" + characters: + dependency: transitive + description: + name: characters + sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803 + url: "https://pub.dev" + source: hosted + version: "1.4.0" + checked_yaml: + dependency: transitive + description: + name: checked_yaml + sha256: "959525d3162f249993882720d52b7e0c833978df229be20702b33d48d91de70f" + url: "https://pub.dev" + source: hosted + version: "2.0.4" + cli_util: + dependency: transitive + description: + name: cli_util + sha256: ff6785f7e9e3c38ac98b2fb035701789de90154024a75b6cb926445e83197d1c + url: "https://pub.dev" + source: hosted + version: "0.4.2" + clock: + dependency: transitive + description: + name: clock + sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b + url: "https://pub.dev" + source: hosted + version: "1.1.2" + collection: + dependency: transitive + description: + name: collection + sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76" + url: "https://pub.dev" + source: hosted + version: "1.19.1" + convert: + dependency: transitive + description: + name: convert + sha256: b30acd5944035672bc15c6b7a8b47d773e41e2f17de064350988c5d02adb1c68 + url: "https://pub.dev" + source: hosted + version: "3.1.2" + crypto: + dependency: "direct main" + description: + name: crypto + sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855" + url: "https://pub.dev" + source: hosted + version: "3.0.6" + cupertino_icons: + dependency: "direct main" + description: + name: cupertino_icons + sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6 + url: "https://pub.dev" + source: hosted + version: "1.0.8" + dargon2_core: + dependency: transitive + description: + path: dargon2_core + ref: update-dependencies + resolved-ref: d11f51cab560acf7644ebef402f1996b6f320365 + url: "https://github.com/KomodoPlatform/dargon2" + source: git + version: "2.1.0" + dargon2_flutter: + dependency: "direct main" + description: + path: "dargon2_flutter/dargon2_flutter" + ref: d11f51cab560acf7644ebef402f1996b6f320365 + resolved-ref: d11f51cab560acf7644ebef402f1996b6f320365 + url: "https://github.com/KomodoPlatform/dargon2" + source: git + version: "3.1.0" + dargon2_flutter_mobile: + dependency: transitive + description: + path: "dargon2_flutter/dargon2_flutter_mobile" + ref: update-dependencies + resolved-ref: d11f51cab560acf7644ebef402f1996b6f320365 + url: "https://github.com/KomodoPlatform/dargon2" + source: git + version: "3.1.0" + dargon2_flutter_platform_interface: + dependency: transitive + description: + path: "dargon2_flutter/dargon2_flutter_platform_interface" + ref: update-dependencies + resolved-ref: d11f51cab560acf7644ebef402f1996b6f320365 + url: "https://github.com/KomodoPlatform/dargon2" + source: git + version: "3.1.0" + dargon2_interface: + dependency: transitive + description: + path: dargon2_interface + ref: update-dependencies + resolved-ref: d11f51cab560acf7644ebef402f1996b6f320365 + url: "https://github.com/KomodoPlatform/dargon2" + source: git + version: "1.1.0" + encrypt: + dependency: "direct main" + description: + name: encrypt + sha256: "62d9aa4670cc2a8798bab89b39fc71b6dfbacf615de6cf5001fb39f7e4a996a2" + url: "https://pub.dev" + source: hosted + version: "5.0.3" + fake_async: + dependency: transitive + description: + name: fake_async + sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44" + url: "https://pub.dev" + source: hosted + version: "1.3.3" + ffi: + dependency: transitive + description: + name: ffi + sha256: "13a6ccf6a459a125b3fcdb6ec73bd5ff90822e071207c663bfd1f70062d51d18" + url: "https://pub.dev" + source: hosted + version: "1.2.1" + file: + dependency: transitive + description: + name: file + sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4 + url: "https://pub.dev" + source: hosted + version: "7.0.1" + fixnum: + dependency: transitive + description: + name: fixnum + sha256: b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be + url: "https://pub.dev" + source: hosted + version: "1.1.1" + flutter: + dependency: "direct main" + description: flutter + source: sdk + version: "0.0.0" + flutter_launcher_icons: + dependency: "direct dev" + description: + name: flutter_launcher_icons + sha256: "526faf84284b86a4cb36d20a5e45147747b7563d921373d4ee0559c54fcdbcea" + url: "https://pub.dev" + source: hosted + version: "0.13.1" + flutter_lints: + dependency: "direct dev" + description: + name: flutter_lints + sha256: "5398f14efa795ffb7a33e9b6a08798b26a180edac4ad7db3f231e40f82ce11e1" + url: "https://pub.dev" + source: hosted + version: "5.0.0" + flutter_plugin_android_lifecycle: + dependency: transitive + description: + name: flutter_plugin_android_lifecycle + sha256: "306f0596590e077338312f38837f595c04f28d6cdeeac392d3d74df2f0003687" + url: "https://pub.dev" + source: hosted + version: "2.0.32" + flutter_secure_storage: + dependency: "direct main" + description: + path: flutter_secure_storage + ref: "26efe91a75228ad8c8626d6eea18f7f3cb21bdd9" + resolved-ref: "26efe91a75228ad8c8626d6eea18f7f3cb21bdd9" + url: "https://github.com/KomodoPlatform/flutter_secure_storage.git" + source: git + version: "5.0.1" + flutter_secure_storage_linux: + dependency: transitive + description: + name: flutter_secure_storage_linux + sha256: be76c1d24a97d0b98f8b54bce6b481a380a6590df992d0098f868ad54dc8f688 + url: "https://pub.dev" + source: hosted + version: "1.2.3" + flutter_secure_storage_macos: + dependency: transitive + description: + name: flutter_secure_storage_macos + sha256: "388f76fd0f093e7415a39ec4c169ae7cceeee6d9f9ba529d788a13f2be4de7bd" + url: "https://pub.dev" + source: hosted + version: "1.1.2" + flutter_secure_storage_platform_interface: + dependency: transitive + description: + name: flutter_secure_storage_platform_interface + sha256: cf91ad32ce5adef6fba4d736a542baca9daf3beac4db2d04be350b87f69ac4a8 + url: "https://pub.dev" + source: hosted + version: "1.1.2" + flutter_secure_storage_web: + dependency: transitive + description: + name: flutter_secure_storage_web + sha256: f4ebff989b4f07b2656fb16b47852c0aab9fed9b4ec1c70103368337bc1886a9 + url: "https://pub.dev" + source: hosted + version: "1.2.1" + flutter_secure_storage_windows: + dependency: transitive + description: + name: flutter_secure_storage_windows + sha256: ca89c8059cf439985aa83c59619b3674c7ef6cc2e86943d169a7369d6a69cab5 + url: "https://pub.dev" + source: hosted + version: "1.1.3" + flutter_test: + dependency: "direct dev" + description: flutter + source: sdk + version: "0.0.0" + flutter_web_plugins: + dependency: transitive + description: flutter + source: sdk + version: "0.0.0" + image: + dependency: transitive + description: + name: image + sha256: f31d52537dc417fdcde36088fdf11d191026fd5e4fae742491ebd40e5a8bea7d + url: "https://pub.dev" + source: hosted + version: "4.3.0" + intl: + dependency: transitive + description: + name: intl + sha256: "3df61194eb431efc39c4ceba583b95633a403f46c9fd341e550ce0bfa50e9aa5" + url: "https://pub.dev" + source: hosted + version: "0.20.2" + js: + dependency: transitive + description: + name: js + sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 + url: "https://pub.dev" + source: hosted + version: "0.6.7" + json_annotation: + dependency: transitive + description: + name: json_annotation + sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1" + url: "https://pub.dev" + source: hosted + version: "4.9.0" + leak_tracker: + dependency: transitive + description: + name: leak_tracker + sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de" + url: "https://pub.dev" + source: hosted + version: "11.0.2" + leak_tracker_flutter_testing: + dependency: transitive + description: + name: leak_tracker_flutter_testing + sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1" + url: "https://pub.dev" + source: hosted + version: "3.0.10" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1" + url: "https://pub.dev" + source: hosted + version: "3.0.2" + lints: + dependency: transitive + description: + name: lints + sha256: c35bb79562d980e9a453fc715854e1ed39e24e7d0297a880ef54e17f9874a9d7 + url: "https://pub.dev" + source: hosted + version: "5.1.1" + local_auth: + dependency: "direct main" + description: + name: local_auth + sha256: "434d854cf478f17f12ab29a76a02b3067f86a63a6d6c4eb8fbfdcfe4879c1b7b" + url: "https://pub.dev" + source: hosted + version: "2.3.0" + local_auth_android: + dependency: transitive + description: + name: local_auth_android + sha256: a0bdfcc0607050a26ef5b31d6b4b254581c3d3ce3c1816ab4d4f4a9173e84467 + url: "https://pub.dev" + source: hosted + version: "1.0.56" + local_auth_darwin: + dependency: transitive + description: + name: local_auth_darwin + sha256: "699873970067a40ef2f2c09b4c72eb1cfef64224ef041b3df9fdc5c4c1f91f49" + url: "https://pub.dev" + source: hosted + version: "1.6.1" + local_auth_platform_interface: + dependency: transitive + description: + name: local_auth_platform_interface + sha256: f98b8e388588583d3f781f6806e4f4c9f9e189d898d27f0c249b93a1973dd122 + url: "https://pub.dev" + source: hosted + version: "1.1.0" + local_auth_windows: + dependency: transitive + description: + name: local_auth_windows + sha256: bc4e66a29b0fdf751aafbec923b5bed7ad6ed3614875d8151afe2578520b2ab5 + url: "https://pub.dev" + source: hosted + version: "1.0.11" + matcher: + dependency: transitive + description: + name: matcher + sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2 + url: "https://pub.dev" + source: hosted + version: "0.12.17" + material_color_utilities: + dependency: transitive + description: + name: material_color_utilities + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec + url: "https://pub.dev" + source: hosted + version: "0.11.1" + meta: + dependency: transitive + description: + name: meta + sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c + url: "https://pub.dev" + source: hosted + version: "1.16.0" + path: + dependency: "direct main" + description: + name: path + sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5" + url: "https://pub.dev" + source: hosted + version: "1.9.1" + path_provider: + dependency: "direct main" + description: + name: path_provider + sha256: "3087813781ab814e4157b172f1a11c46be20179fcc9bea043e0fba36bc0acaa2" + url: "https://pub.dev" + source: hosted + version: "2.0.15" + path_provider_android: + dependency: transitive + description: + name: path_provider_android + sha256: e122c5ea805bb6773bb12ce667611265980940145be920cd09a4b0ec0285cb16 + url: "https://pub.dev" + source: hosted + version: "2.2.20" + path_provider_foundation: + dependency: transitive + description: + name: path_provider_foundation + sha256: efaec349ddfc181528345c56f8eda9d6cccd71c177511b132c6a0ddaefaa2738 + url: "https://pub.dev" + source: hosted + version: "2.4.3" + path_provider_linux: + dependency: transitive + description: + name: path_provider_linux + sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279 + url: "https://pub.dev" + source: hosted + version: "2.2.1" + path_provider_platform_interface: + dependency: transitive + description: + name: path_provider_platform_interface + sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334" + url: "https://pub.dev" + source: hosted + version: "2.1.2" + path_provider_windows: + dependency: transitive + description: + name: path_provider_windows + sha256: a34ecd7fb548f8e57321fd8e50d865d266941b54e6c3b7758cf8f37c24116905 + url: "https://pub.dev" + source: hosted + version: "2.0.7" + petitparser: + dependency: transitive + description: + name: petitparser + sha256: "1a97266a94f7350d30ae522c0af07890c70b8e62c71e8e3920d1db4d23c057d1" + url: "https://pub.dev" + source: hosted + version: "7.0.1" + platform: + dependency: transitive + description: + name: platform + sha256: "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984" + url: "https://pub.dev" + source: hosted + version: "3.1.6" + plugin_platform_interface: + dependency: transitive + description: + name: plugin_platform_interface + sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" + url: "https://pub.dev" + source: hosted + version: "2.1.8" + pointycastle: + dependency: transitive + description: + name: pointycastle + sha256: "4be0097fcf3fd3e8449e53730c631200ebc7b88016acecab2b0da2f0149222fe" + url: "https://pub.dev" + source: hosted + version: "3.9.1" + shared_preferences: + dependency: "direct main" + description: + name: shared_preferences + sha256: "6e8bf70b7fef813df4e9a36f658ac46d107db4b4cfe1048b477d4e453a8159f5" + url: "https://pub.dev" + source: hosted + version: "2.5.3" + shared_preferences_android: + dependency: transitive + description: + name: shared_preferences_android + sha256: "34266009473bf71d748912da4bf62d439185226c03e01e2d9687bc65bbfcb713" + url: "https://pub.dev" + source: hosted + version: "2.4.15" + shared_preferences_foundation: + dependency: transitive + description: + name: shared_preferences_foundation + sha256: "1c33a907142607c40a7542768ec9badfd16293bac51da3a4482623d15845f88b" + url: "https://pub.dev" + source: hosted + version: "2.5.5" + shared_preferences_linux: + dependency: transitive + description: + name: shared_preferences_linux + sha256: "580abfd40f415611503cae30adf626e6656dfb2f0cee8f465ece7b6defb40f2f" + url: "https://pub.dev" + source: hosted + version: "2.4.1" + shared_preferences_platform_interface: + dependency: transitive + description: + name: shared_preferences_platform_interface + sha256: "57cbf196c486bc2cf1f02b85784932c6094376284b3ad5779d1b1c6c6a816b80" + url: "https://pub.dev" + source: hosted + version: "2.4.1" + shared_preferences_web: + dependency: transitive + description: + name: shared_preferences_web + sha256: c49bd060261c9a3f0ff445892695d6212ff603ef3115edbb448509d407600019 + url: "https://pub.dev" + source: hosted + version: "2.4.3" + shared_preferences_windows: + dependency: transitive + description: + name: shared_preferences_windows + sha256: "94ef0f72b2d71bc3e700e025db3710911bd51a71cefb65cc609dd0d9a982e3c1" + url: "https://pub.dev" + source: hosted + version: "2.4.1" + sky_engine: + dependency: transitive + description: flutter + source: sdk + version: "0.0.0" + source_span: + dependency: transitive + description: + name: source_span + sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c" + url: "https://pub.dev" + source: hosted + version: "1.10.1" + sprintf: + dependency: transitive + description: + name: sprintf + sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23" + url: "https://pub.dev" + source: hosted + version: "7.0.0" + sqflite: + dependency: "direct main" + description: + name: sqflite + sha256: e2297b1da52f127bc7a3da11439985d9b536f75070f3325e62ada69a5c585d03 + url: "https://pub.dev" + source: hosted + version: "2.4.2" + sqflite_android: + dependency: transitive + description: + name: sqflite_android + sha256: ecd684501ebc2ae9a83536e8b15731642b9570dc8623e0073d227d0ee2bfea88 + url: "https://pub.dev" + source: hosted + version: "2.4.2+2" + sqflite_common: + dependency: transitive + description: + name: sqflite_common + sha256: "6ef422a4525ecc601db6c0a2233ff448c731307906e92cabc9ba292afaae16a6" + url: "https://pub.dev" + source: hosted + version: "2.5.6" + sqflite_darwin: + dependency: transitive + description: + name: sqflite_darwin + sha256: "279832e5cde3fe99e8571879498c9211f3ca6391b0d818df4e17d9fff5c6ccb3" + url: "https://pub.dev" + source: hosted + version: "2.4.2" + sqflite_platform_interface: + dependency: transitive + description: + name: sqflite_platform_interface + sha256: "8dd4515c7bdcae0a785b0062859336de775e8c65db81ae33dd5445f35be61920" + url: "https://pub.dev" + source: hosted + version: "2.4.0" + stack_trace: + dependency: transitive + description: + name: stack_trace + sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1" + url: "https://pub.dev" + source: hosted + version: "1.12.1" + stream_channel: + dependency: transitive + description: + name: stream_channel + sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d" + url: "https://pub.dev" + source: hosted + version: "2.1.4" + string_scanner: + dependency: transitive + description: + name: string_scanner + sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43" + url: "https://pub.dev" + source: hosted + version: "1.4.1" + synchronized: + dependency: transitive + description: + name: synchronized + sha256: c254ade258ec8282947a0acbbc90b9575b4f19673533ee46f2f6e9b3aeefd7c0 + url: "https://pub.dev" + source: hosted + version: "3.4.0" + term_glyph: + dependency: transitive + description: + name: term_glyph + sha256: "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e" + url: "https://pub.dev" + source: hosted + version: "1.2.2" + test_api: + dependency: transitive + description: + name: test_api + sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00" + url: "https://pub.dev" + source: hosted + version: "0.7.6" + typed_data: + dependency: transitive + description: + name: typed_data + sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006 + url: "https://pub.dev" + source: hosted + version: "1.4.0" + url_launcher: + dependency: "direct main" + description: + name: url_launcher + sha256: "4f0d5f9bf7efba3da5a7ff03bd33cc898c84bac978c068e1c94483828e709592" + url: "https://pub.dev" + source: hosted + version: "6.1.5" + url_launcher_android: + dependency: transitive + description: + name: url_launcher_android + sha256: "5c8b6c2d89a78f5a1cca70a73d9d5f86c701b36b42f9c9dac7bad592113c28e9" + url: "https://pub.dev" + source: hosted + version: "6.3.24" + url_launcher_ios: + dependency: transitive + description: + name: url_launcher_ios + sha256: "6b63f1441e4f653ae799166a72b50b1767321ecc263a57aadf825a7a2a5477d9" + url: "https://pub.dev" + source: hosted + version: "6.3.5" + url_launcher_linux: + dependency: transitive + description: + name: url_launcher_linux + sha256: "4e9ba368772369e3e08f231d2301b4ef72b9ff87c31192ef471b380ef29a4935" + url: "https://pub.dev" + source: hosted + version: "3.2.1" + url_launcher_macos: + dependency: transitive + description: + name: url_launcher_macos + sha256: "8262208506252a3ed4ff5c0dc1e973d2c0e0ef337d0a074d35634da5d44397c9" + url: "https://pub.dev" + source: hosted + version: "3.2.4" + url_launcher_platform_interface: + dependency: transitive + description: + name: url_launcher_platform_interface + sha256: "552f8a1e663569be95a8190206a38187b531910283c3e982193e4f2733f01029" + url: "https://pub.dev" + source: hosted + version: "2.3.2" + url_launcher_web: + dependency: transitive + description: + name: url_launcher_web + sha256: "4bd2b7b4dc4d4d0b94e5babfffbca8eac1a126c7f3d6ecbc1a11013faa3abba2" + url: "https://pub.dev" + source: hosted + version: "2.4.1" + url_launcher_windows: + dependency: transitive + description: + name: url_launcher_windows + sha256: "3284b6d2ac454cf34f114e1d3319866fdd1e19cdc329999057e44ffe936cfa77" + url: "https://pub.dev" + source: hosted + version: "3.1.4" + uuid: + dependency: "direct main" + description: + name: uuid + sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff + url: "https://pub.dev" + source: hosted + version: "4.5.1" + vector_math: + dependency: transitive + description: + name: vector_math + sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b + url: "https://pub.dev" + source: hosted + version: "2.2.0" + vm_service: + dependency: transitive + description: + name: vm_service + sha256: ddfa8d30d89985b96407efce8acbdd124701f96741f2d981ca860662f1c0dc02 + url: "https://pub.dev" + source: hosted + version: "15.0.0" + web: + dependency: transitive + description: + name: web + sha256: "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a" + url: "https://pub.dev" + source: hosted + version: "1.1.1" + win32: + dependency: transitive + description: + name: win32 + sha256: c0e3a4f7be7dae51d8f152230b86627e3397c1ba8c3fa58e63d44a9f3edc9cef + url: "https://pub.dev" + source: hosted + version: "2.6.1" + xdg_directories: + dependency: transitive + description: + name: xdg_directories + sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15" + url: "https://pub.dev" + source: hosted + version: "1.1.0" + xml: + dependency: transitive + description: + name: xml + sha256: "971043b3a0d3da28727e40ed3e0b5d18b742fa5a68665cca88e74b7876d5e025" + url: "https://pub.dev" + source: hosted + version: "6.6.1" + yaml: + dependency: transitive + description: + name: yaml + sha256: b9da305ac7c39faa3f030eccd175340f968459dae4af175130b3fc47e40d76ce + url: "https://pub.dev" + source: hosted + version: "3.1.3" +sdks: + dart: ">=3.9.0 <4.0.0" + flutter: ">=3.35.0" diff --git a/iguana_cage/pubspec.yaml b/iguana_cage/pubspec.yaml new file mode 100644 index 000000000..f7a406360 --- /dev/null +++ b/iguana_cage/pubspec.yaml @@ -0,0 +1,117 @@ +name: iguana_cage +description: "Let that Iguana out of the cage! A migration tool for the Komodo Wallet." +# The following line prevents the package from being accidentally published to +# pub.dev using `flutter pub publish`. This is preferred for private packages. +publish_to: "none" # Remove this line if you wish to publish to pub.dev + +# The following defines the version and build number for your application. +# A version number is three numbers separated by dots, like 1.2.43 +# followed by an optional build number separated by a +. +# Both the version and the builder number may be overridden in flutter +# build by specifying --build-name and --build-number, respectively. +# In Android, build-name is used as versionName while build-number used as versionCode. +# Read more about Android versioning at https://developer.android.com/studio/publish/versioning +# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion. +# Read more about iOS versioning at +# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html +# In Windows, build-name is used as the major, minor, and patch parts +# of the product and file versions while build-number is used as the build suffix. +version: 1.0.1+1 + +environment: + sdk: ^3.8.1 + +# Dependencies specify other packages that your package needs in order to work. +# To automatically upgrade your package dependencies to the latest versions +# consider running `flutter pub upgrade --major-versions`. Alternatively, +# dependencies can be manually updated by changing the version numbers below to +# the latest version available on pub.dev. To see which dependencies have newer +# versions available, run `flutter pub outdated`. +dependencies: + flutter: + sdk: flutter + + # The following adds the Cupertino Icons font to your application. + # Use with the CupertinoIcons class for iOS style icons. + cupertino_icons: ^1.0.8 + sqflite: ^2.3.3+1 + path: ^1.9.0 + path_provider: ^2.0.15 + shared_preferences: ^2.2.2 + flutter_secure_storage: + git: + url: https://github.com/KomodoPlatform/flutter_secure_storage.git + path: flutter_secure_storage/ + ref: 26efe91a75228ad8c8626d6eea18f7f3cb21bdd9 + local_auth: ^2.3.0 + encrypt: ^5.0.3 + crypto: ^3.0.5 + uuid: ^4.4.2 + dargon2_flutter: + git: + url: https://github.com/KomodoPlatform/dargon2 + path: dargon2_flutter/dargon2_flutter/ + ref: d11f51cab560acf7644ebef402f1996b6f320365 #3.1.0 + url_launcher: 6.1.5 + +dev_dependencies: + flutter_test: + sdk: flutter + + # The "flutter_lints" package below contains a set of recommended lints to + # encourage good coding practices. The lint set provided by the package is + # activated in the `analysis_options.yaml` file located at the root of your + # package. See that file for information about deactivating specific lint + # rules and activating additional ones. + flutter_lints: ^5.0.0 + flutter_launcher_icons: ^0.13.1 + +flutter_icons: + android: true + ios: true + remove_alpha_ios: true + image_path: "../assets/branding/logo_app.png" + image_path_ios: "../assets/branding/ios_app_icon.png" + adaptive_icon_background: "#FFFFFF" + adaptive_icon_foreground: "../assets/branding/ic_launcher.png" + +# For information on the generic Dart part of this file, see the +# following page: https://dart.dev/tools/pub/pubspec + +# The following section is specific to Flutter packages. +flutter: + # The following line ensures that the Material Icons font is + # included with your application, so that you can use the icons in + # the material Icons class. + uses-material-design: true + + # To add assets to your application, add an assets section, like this: + # assets: + # - images/a_dot_burr.jpeg + # - images/a_dot_ham.jpeg + + # An image asset can refer to one or more resolution-specific "variants", see + # https://flutter.dev/to/resolution-aware-images + + # For details regarding adding assets from package dependencies, see + # https://flutter.dev/to/asset-from-package + + # To add custom fonts to your application, add a fonts section here, + # in this "flutter" section. Each entry in this list should have a + # "family" key with the font family name, and a "fonts" key with a + # list giving the asset and other descriptors for the font. For + # example: + # fonts: + # - family: Schyler + # fonts: + # - asset: fonts/Schyler-Regular.ttf + # - asset: fonts/Schyler-Italic.ttf + # style: italic + # - family: Trajan Pro + # fonts: + # - asset: fonts/TrajanPro.ttf + # - asset: fonts/TrajanPro_Bold.ttf + # weight: 700 + # + # For details regarding fonts from package dependencies, + # see https://flutter.dev/to/font-from-package diff --git a/iguana_cage/test/widget_test.dart b/iguana_cage/test/widget_test.dart new file mode 100644 index 000000000..25539b4fb --- /dev/null +++ b/iguana_cage/test/widget_test.dart @@ -0,0 +1,22 @@ +// This is a basic Flutter widget test. +// +// To perform an interaction with a widget in your test, use the WidgetTester +// utility in the flutter_test package. For example, you can send tap and scroll +// gestures. You can also use WidgetTester to find child widgets in the widget +// tree, read text, and verify that the values of widget properties are correct. + +import 'package:flutter_test/flutter_test.dart'; + +import 'package:iguana_cage/main.dart'; + +void main() { + testWidgets('Komodo Wallet Migration smoke test', ( + WidgetTester tester, + ) async { + // Build our app and trigger a frame. + await tester.pumpWidget(const IguanaCageApp()); + + // Verify that the app starts with the wallet list screen + expect(find.text('Komodo Wallet Migration'), findsOneWidget); + }); +} diff --git a/ios/.ruby-version b/ios/.ruby-version new file mode 100644 index 000000000..6a81b4c83 --- /dev/null +++ b/ios/.ruby-version @@ -0,0 +1 @@ +2.7.8 diff --git a/ios/Flutter/Debug.xcconfig b/ios/Flutter/Debug.xcconfig index e8efba114..6e7e95cd5 100644 --- a/ios/Flutter/Debug.xcconfig +++ b/ios/Flutter/Debug.xcconfig @@ -1,2 +1,3 @@ #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" #include "Generated.xcconfig" +EXCLUDED_ARCHS[sdk=iphoneos*]=arm64e diff --git a/ios/Podfile.lock b/ios/Podfile.lock index d18d5fdd0..3c8ef7a94 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -8,35 +8,35 @@ PODS: - dargon2_flutter_mobile (1.2.0): - Argon2Swift - Flutter - - DKImagePickerController/Core (4.3.4): + - DKImagePickerController/Core (4.3.9): - DKImagePickerController/ImageDataManager - DKImagePickerController/Resource - - DKImagePickerController/ImageDataManager (4.3.4) - - DKImagePickerController/PhotoGallery (4.3.4): + - DKImagePickerController/ImageDataManager (4.3.9) + - DKImagePickerController/PhotoGallery (4.3.9): - DKImagePickerController/Core - DKPhotoGallery - - DKImagePickerController/Resource (4.3.4) - - DKPhotoGallery (0.0.17): - - DKPhotoGallery/Core (= 0.0.17) - - DKPhotoGallery/Model (= 0.0.17) - - DKPhotoGallery/Preview (= 0.0.17) - - DKPhotoGallery/Resource (= 0.0.17) + - DKImagePickerController/Resource (4.3.9) + - DKPhotoGallery (0.0.19): + - DKPhotoGallery/Core (= 0.0.19) + - DKPhotoGallery/Model (= 0.0.19) + - DKPhotoGallery/Preview (= 0.0.19) + - DKPhotoGallery/Resource (= 0.0.19) - SDWebImage - SwiftyGif - - DKPhotoGallery/Core (0.0.17): + - DKPhotoGallery/Core (0.0.19): - DKPhotoGallery/Model - DKPhotoGallery/Preview - SDWebImage - SwiftyGif - - DKPhotoGallery/Model (0.0.17): + - DKPhotoGallery/Model (0.0.19): - SDWebImage - SwiftyGif - - DKPhotoGallery/Preview (0.0.17): + - DKPhotoGallery/Preview (0.0.19): - DKPhotoGallery/Model - DKPhotoGallery/Resource - SDWebImage - SwiftyGif - - DKPhotoGallery/Resource (0.0.17): + - DKPhotoGallery/Resource (0.0.19): - SDWebImage - SwiftyGif - file_picker (0.0.1): @@ -47,12 +47,14 @@ PODS: - Flutter - flutter_secure_storage (3.3.1): - Flutter - - FMDB (2.7.5): - - FMDB/standard (= 2.7.5) - - FMDB/standard (2.7.5) - - GoogleDataTransport (9.2.5): + - FMDB (2.7.12): + - FMDB/standard (= 2.7.12) + - FMDB/Core (2.7.12) + - FMDB/standard (2.7.12): + - FMDB/Core + - GoogleDataTransport (9.4.1): - GoogleUtilities/Environment (~> 7.7) - - nanopb (< 2.30910.0, >= 2.30908.0) + - nanopb (< 2.30911.0, >= 2.30908.0) - PromisesObjC (< 3.0, >= 1.2) - GoogleMLKit/BarcodeScanning (2.6.0): - GoogleMLKit/MLKitCore @@ -71,12 +73,16 @@ PODS: - GoogleToolboxForMac/Defines (= 2.3.2) - "GoogleToolboxForMac/NSString+URLArguments (= 2.3.2)" - "GoogleToolboxForMac/NSString+URLArguments (2.3.2)" - - GoogleUtilities/Environment (7.11.5): + - GoogleUtilities/Environment (7.13.3): + - GoogleUtilities/Privacy - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Logger (7.11.5): + - GoogleUtilities/Logger (7.13.3): - GoogleUtilities/Environment - - GoogleUtilities/UserDefaults (7.11.5): + - GoogleUtilities/Privacy + - GoogleUtilities/Privacy (7.13.3) + - GoogleUtilities/UserDefaults (7.13.3): - GoogleUtilities/Logger + - GoogleUtilities/Privacy - GoogleUtilitiesComponents (1.1.0): - GoogleUtilities/Logger - GTMSessionFetcher/Core (1.7.2) @@ -107,21 +113,21 @@ PODS: - mobile_scanner (0.0.1): - Flutter - GoogleMLKit/BarcodeScanning (~> 2.6.0) - - nanopb (2.30909.0): - - nanopb/decode (= 2.30909.0) - - nanopb/encode (= 2.30909.0) - - nanopb/decode (2.30909.0) - - nanopb/encode (2.30909.0) + - nanopb (2.30910.0): + - nanopb/decode (= 2.30910.0) + - nanopb/encode (= 2.30910.0) + - nanopb/decode (2.30910.0) + - nanopb/encode (2.30910.0) - package_info_plus (0.4.5): - Flutter - path_provider_ios (0.0.1): - Flutter - - PromisesObjC (2.3.1) - - Protobuf (3.24.4) - - ReachabilitySwift (5.0.0) - - SDWebImage (5.18.3): - - SDWebImage/Core (= 5.18.3) - - SDWebImage/Core (5.18.3) + - PromisesObjC (2.4.0) + - Protobuf (3.29.5) + - ReachabilitySwift (5.2.4) + - SDWebImage (5.21.3): + - SDWebImage/Core (= 5.21.3) + - SDWebImage/Core (5.21.3) - share_plus (0.0.1): - Flutter - shared_preferences_ios (0.0.1): @@ -129,7 +135,7 @@ PODS: - sqflite (0.0.2): - Flutter - FMDB (>= 2.7.5) - - SwiftyGif (5.4.4) + - SwiftyGif (5.4.5) - url_launcher_ios (0.0.1): - Flutter @@ -215,17 +221,17 @@ SPEC CHECKSUMS: audioplayers: 455322b54050b30ea4b1af7cd9e9d105f74efa8c connectivity_plus: 413a8857dd5d9f1c399a39130850d02fe0feaf7e dargon2_flutter_mobile: 5e4b8f7f39e1640d98f17c0215c284eebd4ec2d7 - DKImagePickerController: b512c28220a2b8ac7419f21c491fc8534b7601ac - DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179 + DKImagePickerController: 946cec48c7873164274ecc4624d19e3da4c1ef3c + DKPhotoGallery: b3834fecb755ee09a593d7c9e389d8b5d6deed60 file_picker: 3e6c3790de664ccf9b882732d9db5eaf6b8d4eb1 Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a flutter_local_notifications: 0c0b1ae97e741e1521e4c1629a459d04b9aec743 flutter_secure_storage: 7953c38a04c3fdbb00571bcd87d8e3b5ceb9daec - FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a - GoogleDataTransport: 54dee9d48d14580407f8f5fbf2f496e92437a2f2 + FMDB: 728731dd336af3936ce00f91d9d8495f5718a0e6 + GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a GoogleMLKit: 755661c46990a85e42278015f26400286d98ad95 GoogleToolboxForMac: 8bef7c7c5cf7291c687cf5354f39f9db6399ad34 - GoogleUtilities: 13e2c67ede716b8741c7989e26893d151b2b2084 + GoogleUtilities: ea963c370a38a8069cc5f7ba4ca849a60b6d7d15 GoogleUtilitiesComponents: 679b2c881db3b615a2777504623df6122dd20afe GTMSessionFetcher: 5595ec75acf5be50814f81e9189490412bad82ba integration_test: a1e7d09bd98eca2fc37aefd79d4f41ad37bdbbe5 @@ -235,19 +241,19 @@ SPEC CHECKSUMS: MLKitCommon: 3bc17c6f7d25ce3660f030350b46ae7ec9ebca6e MLKitVision: e87dc3f2e456a6ab32361ebd985e078dd2746143 mobile_scanner: 073e39c0c96360297389f4db68e4297a1fa58349 - nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431 + nanopb: 438bc412db1928dac798aa6fd75726007be04262 package_info_plus: 6c92f08e1f853dc01228d6f553146438dafcd14e path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02 - PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4 - Protobuf: 351e9022fe13a6e2af00e9aefc22077cb88520f8 - ReachabilitySwift: 985039c6f7b23a1da463388634119492ff86c825 - SDWebImage: 96e0c18ef14010b7485210e92fac888587ebb958 + PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 + Protobuf: 164aea2ae380c3951abdc3e195220c01d17400e0 + ReachabilitySwift: 32793e867593cfc1177f5d16491e3a197d2fccda + SDWebImage: 16309af6d214ba3f77a7c6f6fdda888cb313a50a share_plus: 056a1e8ac890df3e33cb503afffaf1e9b4fbae68 shared_preferences_ios: 548a61f8053b9b8a49ac19c1ffbc8b92c50d68ad sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904 - SwiftyGif: 93a1cc87bf3a51916001cf8f3d63835fb64c819f + SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4 url_launcher_ios: 839c58cdb4279282219f5e248c3321761ff3c4de PODFILE CHECKSUM: cd5143052d138a0b4199ab28b7fa221823da3c4d -COCOAPODS: 1.15.2 +COCOAPODS: 1.12.1 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 03e5af15e..1621e9abf 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -472,7 +472,7 @@ CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 19; DEVELOPMENT_TEAM = 3AU3KU35KZ; - ENABLE_BITCODE = YES; + ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)/Flutter", @@ -621,7 +621,7 @@ CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 19; DEVELOPMENT_TEAM = 3AU3KU35KZ; - ENABLE_BITCODE = YES; + ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)/Flutter", @@ -659,7 +659,7 @@ CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 19; DEVELOPMENT_TEAM = 3AU3KU35KZ; - ENABLE_BITCODE = YES; + ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)/Flutter", diff --git a/pubspec.lock b/pubspec.lock index 0fb987b6e..1c8022c6e 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -504,6 +504,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.12.11" + material_color_utilities: + dependency: transitive + description: + name: material_color_utilities + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" meta: dependency: transitive description: @@ -684,7 +691,7 @@ packages: name: platform url: "https://pub.dartlang.org" source: hosted - version: "3.0.2" + version: "3.1.0" plugin_platform_interface: dependency: transitive description: @@ -917,7 +924,7 @@ packages: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.4.3" + version: "0.4.8" timezone: dependency: transitive description: @@ -1010,7 +1017,7 @@ packages: name: vm_service url: "https://pub.dartlang.org" source: hosted - version: "7.3.0" + version: "7.5.0" watcher: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 0f77d814c..ff7874fdf 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -26,10 +26,8 @@ dependencies: flutter_localizations: # flutter.dev sdk: flutter - #-----flutter.dev, dart.dev-------- - path_provider: 2.0.11 # flutter.dev (Note: Supports null safety) shared_preferences: 2.0.15 # flutter.dev (Note: Supports null safety) @@ -42,17 +40,14 @@ dependencies: crypto: 3.0.1 # dart.dev (Note: Supports null safety) - #-------fluttercommunity.dev------ - connectivity_plus: # newly added, wasn't reviewed git: url: https://github.com/KomodoPlatform/plus_plugins.git path: packages/connectivity_plus/connectivity_plus/ ref: d293b60a77313cc697542724f00186cb09187103 #2.3.6 - package_info_plus: # newly added, wasn't reviewed git: url: https://github.com/KomodoPlatform/plus_plugins.git @@ -61,11 +56,8 @@ dependencies: share_plus: ^4.5.3 - - #------------3rd party------------- - audioplayers: # last reviewed 859c88c2c3fe926bdbb6e5e729d3c16d088be76a git: url: https://github.com/KomodoPlatform/audioplayers.git @@ -83,7 +75,6 @@ dependencies: # ref: 960e422105e2b7a6a9e46b2517daead8754c6b25 #6.0.2 provider: ^6.0.5 - encrypt: # last reviewed b17327a git: url: https://github.com/KomodoPlatform/encrypt @@ -129,18 +120,18 @@ dependencies: url: https://github.com/KomodoPlatform/sqflite.git path: sqflite/ ref: 85d84b6f656764e4a4d6632dcc9913f4f47011e5 #2.0.0+4 - + flutter_secure_storage: # last reviewed eef67d3d006b2c53453df183f7d4ac081948e110 git: url: https://github.com/KomodoPlatform/flutter_secure_storage.git path: flutter_secure_storage/ ref: 26efe91a75228ad8c8626d6eea18f7f3cb21bdd9 #5.0.2 - + flutter_slidable: # last reviewed 27bbe0dfa9866ae01e8001267e873221ef5fbd67 git: url: https://github.com/KomodoPlatform/flutter_slidable.git ref: 175b0735f5577dd7d378e60cfe2fe1ca607df9fa #1.1.0 - + decimal: # last reviewed 93fcaabe2da686b1987a351a03a70e86edf6504f git: url: https://github.com/KomodoPlatform/dart-decimal.git @@ -161,15 +152,13 @@ dependencies: ref: c9a37bc675fd3fa715db2d929dc66d15ec09ad27 #3.0.5 flutter_bloc: # Last reviewed 32d5002fb8b8a1e548fe8021d8468327680875ff - git: - url: https://github.com/KomodoPlatform/bloc.git - path: packages/flutter_bloc/ - ref: 32d5002fb8b8a1e548fe8021d8468327680875ff # 8.1.1 + git: + url: https://github.com/KomodoPlatform/bloc.git + path: packages/flutter_bloc/ + ref: 32d5002fb8b8a1e548fe8021d8468327680875ff # 8.1.1 # "Flutter Favorite" plugin (https://docs.flutter.dev/packages-and-plugins/favorites) flutter_local_notifications: ^12.0.4 # TODO: Secure code review of this plugin. - - dev_dependencies: integration_test: @@ -177,7 +166,6 @@ dev_dependencies: # recommended linter rules flutter_lints: 1.0.4 # flutter.dev (Note: Supports null safety) - flutter_icons: android: true @@ -195,27 +183,26 @@ flutter_icons: flutter: # To add assets to your application, add an assets section, like this: assets: - - assets/ - - assets/branding/ - - assets/branding/svg/ - - assets/audio/ - - assets/mocks/ - - assets/currency-flags/ - - assets/language-flags/ - - assets/coin-icons/ - - assets/svg/ - - assets/svg_light/ - - assets/swap_share/ - - assets/coins.json - - assets/coins_config_tcp.json - - assets/rebranding/ + - assets/ + - assets/branding/ + - assets/branding/svg/ + - assets/audio/ + - assets/mocks/ + - assets/currency-flags/ + - assets/language-flags/ + - assets/coin-icons/ + - assets/svg/ + - assets/svg_light/ + - assets/swap_share/ + - assets/coins.json + - assets/coins_config_tcp.json + - assets/rebranding/ # The following line ensures that the Material Icons font is # included with your application, so that you can use the icons in # the material Icons class. uses-material-design: true - # An image asset can refer to one or more resolution-specific "variants", see # https://flutter.io/assets-and-images/#resolution-aware.