├── .DS_Store
├── .github
└── workflows
│ └── dart.yml
├── .gitigonre
├── README.md
├── doc
└── prd
│ ├── youwallet用户故事地图.xlsx
│ ├── 产品原型与流程.md
│ └── 切图.zip
├── screenshots
├── WX20200412-214841.png
├── WX20200412-214854.png
├── WX20200412-214859.png
├── WX20200412-214909.png
├── WX20200412-214921.png
├── 创建钱包.gif
├── 导入钱包.gif
├── 币币兑换.gif
└── 添加TOKEN.gif
└── you_wallet
├── .gitignore
├── .metadata
├── .vscode
├── launch.json
└── settings.json
├── README.md
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── you_wallet
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable
│ │ │ └── launch_background.xml
│ │ │ ├── mipmap-hdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ └── ic_launcher.png
│ │ │ └── values
│ │ │ └── styles.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
├── key.properties
├── settings.gradle
└── settings_aar.gradle
├── assets
├── TempMatch.json
├── fonts
│ ├── demo.css
│ ├── demo_index.html
│ ├── iconfont.css
│ ├── iconfont.eot
│ ├── iconfont.js
│ ├── iconfont.json
│ ├── iconfont.svg
│ ├── iconfont.ttf
│ ├── iconfont.woff
│ └── iconfont.woff2
└── images
│ ├── home-active.png
│ ├── home.png
│ ├── icon.png
│ └── logo.png
├── fonts
├── demo.css
├── demo_index.html
├── iconfont.css
├── iconfont.eot
├── iconfont.js
├── iconfont.json
├── iconfont.svg
├── iconfont.ttf
├── iconfont.woff
└── iconfont.woff2
├── images
├── 2.0x
│ ├── backup.png
│ ├── empty.png
│ ├── fingerprint.png
│ ├── homebk-full.png
│ ├── homebk.png
│ ├── icon.png
│ ├── logo.jpg
│ ├── logo.png
│ ├── new_wallet.png
│ ├── qrcode.jpeg
│ ├── qrcode.png
│ ├── splash.jpeg
│ ├── tab_exchange.png
│ ├── tab_exchange_active.png
│ ├── tab_receive.png
│ ├── tab_receive_active.png
│ ├── tab_transfer.png
│ ├── tab_transfer_active.png
│ ├── tab_wallet.png
│ ├── tab_wallet_active.png
│ ├── 图层 3@2x.png
│ └── 指纹 拷贝@2x.png
└── 3.0x
│ ├── backup.png
│ ├── empty.png
│ ├── fingerprint.png
│ ├── homebk-full.png
│ ├── homebk.png
│ ├── icon.png
│ ├── logo.jpg
│ ├── logo.png
│ ├── new_wallet.png
│ ├── qrcode.jpeg
│ ├── qrcode.png
│ ├── splash.jpeg
│ ├── tab_exchange.png
│ ├── tab_exchange_active.png
│ ├── tab_receive.png
│ ├── tab_receive_active.png
│ ├── tab_transfer.png
│ ├── tab_transfer_active.png
│ ├── tab_wallet.png
│ ├── tab_wallet_active.png
│ ├── 图层 3@3x.png
│ └── 指纹 拷贝@3x.png
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Podfile
├── Podfile.lock
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ └── contents.xcworkspacedata
└── Runner
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ ├── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── Icon-App-1024x1024@1x.png
│ │ ├── Icon-App-20x20@1x.png
│ │ ├── Icon-App-20x20@2x.png
│ │ ├── Icon-App-20x20@3x.png
│ │ ├── Icon-App-29x29@1x.png
│ │ ├── Icon-App-29x29@2x.png
│ │ ├── Icon-App-29x29@3x.png
│ │ ├── Icon-App-40x40@1x.png
│ │ ├── Icon-App-40x40@2x.png
│ │ ├── Icon-App-40x40@3x.png
│ │ ├── Icon-App-60x60@2x.png
│ │ ├── Icon-App-60x60@3x.png
│ │ ├── Icon-App-76x76@1x.png
│ │ ├── Icon-App-76x76@2x.png
│ │ └── Icon-App-83.5x83.5@2x.png
│ └── LaunchImage.imageset
│ │ ├── Contents.json
│ │ ├── LaunchImage.png
│ │ ├── LaunchImage@2x.png
│ │ ├── LaunchImage@3x.png
│ │ └── README.md
│ ├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
│ ├── Info.plist
│ └── Runner-Bridging-Header.h
├── lib
├── bus.dart
├── contracts
│ └── TempMatch.json
├── db
│ ├── provider.dart
│ ├── sql_table_data.dart
│ └── sql_util.dart
├── debug_page.dart
├── global.dart
├── main.dart
├── model.dart
├── model
│ ├── book.dart
│ ├── deal.dart
│ ├── network.dart
│ ├── token.dart
│ ├── viewModel.dart
│ └── wallet.dart
├── pages
│ ├── form
│ │ ├── getPassword.dart
│ │ └── password.dart
│ ├── keyboard
│ │ ├── CustomJPasswordFieldWidget.dart
│ │ ├── custom_keyboard_button.dart
│ │ ├── keyboard_main.dart
│ │ ├── keyboard_widget.dart
│ │ └── pay_password.dart
│ ├── login
│ │ └── login.dart
│ ├── manage_wallet
│ │ ├── manage_list.dart
│ │ └── set_wallet.dart
│ ├── order
│ │ ├── order_deep.dart
│ │ └── order_detail.dart
│ ├── routers.dart
│ ├── scan
│ │ └── scan.dart
│ ├── set
│ │ └── set_network.dart
│ ├── splash
│ │ └── splash.dart
│ ├── success
│ │ └── index.dart
│ ├── tabs.dart
│ ├── tabs
│ │ ├── tab_exchange.dart
│ │ ├── tab_receive.dart
│ │ ├── tab_transfer.dart
│ │ └── tab_wallet.dart
│ ├── token
│ │ ├── token_add.dart
│ │ ├── token_history.dart
│ │ └── token_info.dart
│ └── wallet
│ │ ├── new_wallet_check.dart
│ │ ├── new_wallet_first.dart
│ │ ├── new_wallet_guide.dart
│ │ ├── new_wallet_load.dart
│ │ ├── new_wallet_mnemonic.dart
│ │ ├── new_wallet_second.dart
│ │ ├── new_wallet_success.dart
│ │ └── wallet_export.dart
├── service
│ ├── TempMatch.json
│ ├── app_server.dart
│ ├── local_authentication_service.dart
│ ├── service_locator.dart
│ ├── token_service.dart
│ └── trade.dart
├── util
│ ├── eth_amount_formatter.dart
│ ├── http_server.dart
│ ├── locale_util.dart
│ ├── md5_encrypt.dart
│ ├── number_format.dart
│ ├── transaction_process.dart
│ ├── translations.dart
│ └── wallet_crypt.dart
└── widgets
│ ├── addressFormat.dart
│ ├── bottomSheetDialog.dart
│ ├── customButton.dart
│ ├── customStepper.dart
│ ├── customTab.dart
│ ├── custom_stepper.dart
│ ├── hotToken.dart
│ ├── input.dart
│ ├── inputDialog.dart
│ ├── listEmpty.dart
│ ├── loadingDialog.dart
│ ├── menu.dart
│ ├── modalDialog.dart
│ ├── priceNum.dart
│ ├── rating.dart
│ ├── slideButton.dart
│ ├── tokenCard.dart
│ ├── tokenList.dart
│ ├── tokenLogo.dart
│ ├── tokenSelect.dart
│ ├── tokenSelectSheet.dart
│ ├── tradesDeep.dart
│ ├── transferList.dart
│ ├── userMenu.dart
│ └── walletList.dart
├── locale
├── i18n_en.json
├── i18n_ja.json
└── i18n_zh.json
├── pubspec.lock
├── pubspec.yaml
└── test
└── widget_test.dart
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/.DS_Store
--------------------------------------------------------------------------------
/.github/workflows/dart.yml:
--------------------------------------------------------------------------------
1 | name: Flutter CI
2 |
3 | on:
4 | push:
5 | branches: [ master ]
6 |
7 | jobs:
8 | process:
9 | name: all process
10 | runs-on: ubuntu-latest
11 |
12 | steps:
13 | - uses: actions/checkout@v2
14 |
15 | # 建立 java 环境
16 | - name: Setup Java JDK
17 | uses: actions/setup-java@v1.3.0
18 | with:
19 | java-version: "12.x"
20 |
21 | # 建立 Flutter 环境
22 | - name: Flutter action
23 | uses: subosito/flutter-action@v1.1.1
24 | with:
25 | channel: "stable"
26 |
27 | # 下载项目依赖
28 | - name: Install dependencies
29 | run: |
30 | cd you_wallet
31 | flutter pub get
32 | flutter build apk --release
33 | - name: Release apk
34 | uses: ncipollo/release-action@v1.5.0
35 | with:
36 | artifacts: "build/app/outputs/apk/release/*.apk"
37 | token: ${{ secrets.GIT_RElEASE_TOKEN }}
38 |
--------------------------------------------------------------------------------
/.gitigonre:
--------------------------------------------------------------------------------
1 | .DS_Store
--------------------------------------------------------------------------------
/doc/prd/youwallet用户故事地图.xlsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/doc/prd/youwallet用户故事地图.xlsx
--------------------------------------------------------------------------------
/doc/prd/产品原型与流程.md:
--------------------------------------------------------------------------------
1 | # 产品原型地址
2 | https://org.modao.cc/app/e30cfca2a7bbd116bf20d986b4d2d828
3 | # 产品流程图
4 | https://www.processon.com/colla
5 |
--------------------------------------------------------------------------------
/doc/prd/切图.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/doc/prd/切图.zip
--------------------------------------------------------------------------------
/screenshots/WX20200412-214841.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/screenshots/WX20200412-214841.png
--------------------------------------------------------------------------------
/screenshots/WX20200412-214854.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/screenshots/WX20200412-214854.png
--------------------------------------------------------------------------------
/screenshots/WX20200412-214859.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/screenshots/WX20200412-214859.png
--------------------------------------------------------------------------------
/screenshots/WX20200412-214909.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/screenshots/WX20200412-214909.png
--------------------------------------------------------------------------------
/screenshots/WX20200412-214921.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/screenshots/WX20200412-214921.png
--------------------------------------------------------------------------------
/screenshots/创建钱包.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/screenshots/创建钱包.gif
--------------------------------------------------------------------------------
/screenshots/导入钱包.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/screenshots/导入钱包.gif
--------------------------------------------------------------------------------
/screenshots/币币兑换.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/screenshots/币币兑换.gif
--------------------------------------------------------------------------------
/screenshots/添加TOKEN.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/screenshots/添加TOKEN.gif
--------------------------------------------------------------------------------
/you_wallet/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 |
12 | # IntelliJ related
13 | *.iml
14 | *.ipr
15 | *.iws
16 | .idea/
17 |
18 | # The .vscode folder contains launch configuration and tasks you configure in
19 | # VS Code which you may wish to be included in version control, so this line
20 | # is commented out by default.
21 | #.vscode/
22 |
23 | # Flutter/Dart/Pub related
24 | **/doc/api/
25 | .dart_tool/
26 | .flutter-plugins
27 | .flutter-plugins-dependencies
28 | .packages
29 | .pub-cache/
30 | .pub/
31 | /build/
32 |
33 | # Web related
34 | lib/generated_plugin_registrant.dart
35 |
36 | # Exceptions to above rules.
37 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
38 |
--------------------------------------------------------------------------------
/you_wallet/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled and should not be manually edited.
5 |
6 | version:
7 | revision: 27321ebbad34b0a3fafe99fac037102196d655ff
8 | channel: v1.12.13-hotfixes
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/you_wallet/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to learn about possible attributes.
3 | // Hover to view descriptions of existing attributes.
4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": "Flutter: Attach to Device",
9 | "type": "dart",
10 | "request": "attach"
11 | },
12 | {
13 | "name": "Flutter",
14 | "request": "launch",
15 | "type": "dart"
16 | }
17 | ]
18 | }
--------------------------------------------------------------------------------
/you_wallet/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.fontSize": 16
3 | }
--------------------------------------------------------------------------------
/you_wallet/README.md:
--------------------------------------------------------------------------------
1 | ## you wallet
2 |
3 | A new Flutter project.
4 |
5 | ## Screenshots
6 |
7 |
8 | ## License
9 | MIT
--------------------------------------------------------------------------------
/you_wallet/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
--------------------------------------------------------------------------------
/you_wallet/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply plugin: 'kotlin-android'
26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 |
28 | def keystorePropertiesFile = rootProject.file("key.properties")
29 | def keystoreProperties = new Properties()
30 | keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
31 |
32 | android {
33 | compileSdkVersion 28
34 |
35 | sourceSets {
36 | main.java.srcDirs += 'src/main/kotlin'
37 | }
38 |
39 | lintOptions {
40 | disable 'InvalidPackage'
41 | }
42 |
43 | defaultConfig {
44 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
45 | applicationId "com.example.you_wallet"
46 | minSdkVersion 18
47 | targetSdkVersion 28
48 | versionCode flutterVersionCode.toInteger()
49 | versionName flutterVersionName
50 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
51 | }
52 |
53 | //
54 | signingConfigs {
55 | release {
56 | keyAlias keystoreProperties['keyAlias']
57 | keyPassword keystoreProperties['keyPassword']
58 | storeFile file('/Users/zhaobinglong/key.jks')
59 | storePassword keystoreProperties['storePassword']
60 | }
61 | }
62 | buildTypes {
63 | release {
64 | signingConfig signingConfigs.release
65 | }
66 | }
67 | }
68 |
69 | flutter {
70 | source '../..'
71 | }
72 |
73 | dependencies {
74 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
75 | testImplementation 'junit:junit:4.12'
76 | androidTestImplementation 'androidx.test:runner:1.1.1'
77 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
78 | }
79 |
--------------------------------------------------------------------------------
/you_wallet/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/you_wallet/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
22 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
39 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/you_wallet/android/app/src/main/kotlin/com/example/you_wallet/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.you_wallet
2 |
3 | import androidx.annotation.NonNull;
4 | import io.flutter.embedding.android.FlutterActivity
5 | import io.flutter.embedding.engine.FlutterEngine
6 | import io.flutter.plugins.GeneratedPluginRegistrant
7 |
8 | class MainActivity: FlutterActivity() {
9 | override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) {
10 | GeneratedPluginRegistrant.registerWith(flutterEngine);
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/you_wallet/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/you_wallet/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/you_wallet/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/you_wallet/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/you_wallet/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/you_wallet/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/you_wallet/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
--------------------------------------------------------------------------------
/you_wallet/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/you_wallet/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.3.50'
3 | repositories {
4 | google()
5 | jcenter()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:3.5.0'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | jcenter()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | }
25 | subprojects {
26 | project.evaluationDependsOn(':app')
27 | }
28 |
29 | task clean(type: Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/you_wallet/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.enableR8=true
3 | android.useAndroidX=true
4 | android.enableJetifier=true
5 |
--------------------------------------------------------------------------------
/you_wallet/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
7 |
--------------------------------------------------------------------------------
/you_wallet/android/key.properties:
--------------------------------------------------------------------------------
1 | storePassword=youwallet
2 | keyPassword=youwallet
3 | keyAlias=key
4 | storeFile=/Users/zhaobinglong/key.jks
--------------------------------------------------------------------------------
/you_wallet/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
4 |
5 | def plugins = new Properties()
6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
7 | if (pluginsFile.exists()) {
8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
9 | }
10 |
11 | plugins.each { name, path ->
12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
13 | include ":$name"
14 | project(":$name").projectDir = pluginDirectory
15 | }
16 |
--------------------------------------------------------------------------------
/you_wallet/android/settings_aar.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/you_wallet/assets/fonts/iconfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/assets/fonts/iconfont.eot
--------------------------------------------------------------------------------
/you_wallet/assets/fonts/iconfont.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "1579562",
3 | "name": "youwallet",
4 | "font_family": "iconfont",
5 | "css_prefix_text": "icon-",
6 | "description": "",
7 | "glyphs": [
8 | {
9 | "icon_id": "8017484",
10 | "name": "empty",
11 | "font_class": "empty",
12 | "unicode": "e6a6",
13 | "unicode_decimal": 59046
14 | },
15 | {
16 | "icon_id": "12911879",
17 | "name": "空",
18 | "font_class": "kong",
19 | "unicode": "e615",
20 | "unicode_decimal": 58901
21 | },
22 | {
23 | "icon_id": "3105859",
24 | "name": "成功",
25 | "font_class": "chenggong",
26 | "unicode": "e617",
27 | "unicode_decimal": 58903
28 | },
29 | {
30 | "icon_id": "2531537",
31 | "name": "转账",
32 | "font_class": "zhuanzhang",
33 | "unicode": "e616",
34 | "unicode_decimal": 58902
35 | },
36 | {
37 | "icon_id": "6272919",
38 | "name": "兑换",
39 | "font_class": "duihuan",
40 | "unicode": "e6eb",
41 | "unicode_decimal": 59115
42 | },
43 | {
44 | "icon_id": "10149600",
45 | "name": "收款",
46 | "font_class": "shoukuan",
47 | "unicode": "e624",
48 | "unicode_decimal": 58916
49 | },
50 | {
51 | "icon_id": "5992794",
52 | "name": "icon_以太坊",
53 | "font_class": "icon_yitaifang",
54 | "unicode": "e648",
55 | "unicode_decimal": 58952
56 | },
57 | {
58 | "icon_id": "4365480",
59 | "name": "扫码",
60 | "font_class": "saoma",
61 | "unicode": "e61d",
62 | "unicode_decimal": 58909
63 | },
64 | {
65 | "icon_id": "4892945",
66 | "name": "银杏",
67 | "font_class": "weibiaoti--",
68 | "unicode": "e678",
69 | "unicode_decimal": 59000
70 | },
71 | {
72 | "icon_id": "10172816",
73 | "name": "二维码",
74 | "font_class": "qrcode",
75 | "unicode": "e600",
76 | "unicode_decimal": 58880
77 | }
78 | ]
79 | }
80 |
--------------------------------------------------------------------------------
/you_wallet/assets/fonts/iconfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/assets/fonts/iconfont.ttf
--------------------------------------------------------------------------------
/you_wallet/assets/fonts/iconfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/assets/fonts/iconfont.woff
--------------------------------------------------------------------------------
/you_wallet/assets/fonts/iconfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/assets/fonts/iconfont.woff2
--------------------------------------------------------------------------------
/you_wallet/assets/images/home-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/assets/images/home-active.png
--------------------------------------------------------------------------------
/you_wallet/assets/images/home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/assets/images/home.png
--------------------------------------------------------------------------------
/you_wallet/assets/images/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/assets/images/icon.png
--------------------------------------------------------------------------------
/you_wallet/assets/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/assets/images/logo.png
--------------------------------------------------------------------------------
/you_wallet/fonts/iconfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/fonts/iconfont.eot
--------------------------------------------------------------------------------
/you_wallet/fonts/iconfont.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "1579562",
3 | "name": "youwallet",
4 | "font_family": "iconfont",
5 | "css_prefix_text": "icon-",
6 | "description": "",
7 | "glyphs": [
8 | {
9 | "icon_id": "11993945",
10 | "name": "EOS",
11 | "font_class": "EOS",
12 | "unicode": "e7ef",
13 | "unicode_decimal": 59375
14 | },
15 | {
16 | "icon_id": "11993930",
17 | "name": "BNB",
18 | "font_class": "BNB",
19 | "unicode": "e7ec",
20 | "unicode_decimal": 59372
21 | },
22 | {
23 | "icon_id": "11994009",
24 | "name": "USDT",
25 | "font_class": "USDT",
26 | "unicode": "e7f8",
27 | "unicode_decimal": 59384
28 | },
29 | {
30 | "icon_id": "6204754",
31 | "name": "成功",
32 | "font_class": "chenggong1",
33 | "unicode": "e64e",
34 | "unicode_decimal": 58958
35 | },
36 | {
37 | "icon_id": "8017484",
38 | "name": "empty",
39 | "font_class": "empty",
40 | "unicode": "e6a6",
41 | "unicode_decimal": 59046
42 | },
43 | {
44 | "icon_id": "12911879",
45 | "name": "空",
46 | "font_class": "kong",
47 | "unicode": "e615",
48 | "unicode_decimal": 58901
49 | },
50 | {
51 | "icon_id": "13113215",
52 | "name": "空",
53 | "font_class": "kong-copy",
54 | "unicode": "e6ec",
55 | "unicode_decimal": 59116
56 | },
57 | {
58 | "icon_id": "3105859",
59 | "name": "成功",
60 | "font_class": "chenggong",
61 | "unicode": "e617",
62 | "unicode_decimal": 58903
63 | },
64 | {
65 | "icon_id": "2531537",
66 | "name": "转账",
67 | "font_class": "zhuanzhang",
68 | "unicode": "e616",
69 | "unicode_decimal": 58902
70 | },
71 | {
72 | "icon_id": "6272919",
73 | "name": "兑换",
74 | "font_class": "duihuan",
75 | "unicode": "e6eb",
76 | "unicode_decimal": 59115
77 | },
78 | {
79 | "icon_id": "10149600",
80 | "name": "收款",
81 | "font_class": "shoukuan",
82 | "unicode": "e624",
83 | "unicode_decimal": 58916
84 | },
85 | {
86 | "icon_id": "5992794",
87 | "name": "icon_以太坊",
88 | "font_class": "icon_yitaifang",
89 | "unicode": "e648",
90 | "unicode_decimal": 58952
91 | },
92 | {
93 | "icon_id": "4365480",
94 | "name": "扫码",
95 | "font_class": "saoma",
96 | "unicode": "e61d",
97 | "unicode_decimal": 58909
98 | },
99 | {
100 | "icon_id": "4892945",
101 | "name": "银杏",
102 | "font_class": "weibiaoti--",
103 | "unicode": "e678",
104 | "unicode_decimal": 59000
105 | },
106 | {
107 | "icon_id": "10172816",
108 | "name": "二维码",
109 | "font_class": "qrcode",
110 | "unicode": "e600",
111 | "unicode_decimal": 58880
112 | }
113 | ]
114 | }
115 |
--------------------------------------------------------------------------------
/you_wallet/fonts/iconfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/fonts/iconfont.ttf
--------------------------------------------------------------------------------
/you_wallet/fonts/iconfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/fonts/iconfont.woff
--------------------------------------------------------------------------------
/you_wallet/fonts/iconfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/fonts/iconfont.woff2
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/backup.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/backup.png
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/empty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/empty.png
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/fingerprint.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/fingerprint.png
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/homebk-full.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/homebk-full.png
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/homebk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/homebk.png
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/icon.png
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/logo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/logo.jpg
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/logo.png
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/new_wallet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/new_wallet.png
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/qrcode.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/qrcode.jpeg
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/qrcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/qrcode.png
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/splash.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/splash.jpeg
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/tab_exchange.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/tab_exchange.png
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/tab_exchange_active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/tab_exchange_active.png
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/tab_receive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/tab_receive.png
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/tab_receive_active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/tab_receive_active.png
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/tab_transfer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/tab_transfer.png
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/tab_transfer_active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/tab_transfer_active.png
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/tab_wallet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/tab_wallet.png
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/tab_wallet_active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/tab_wallet_active.png
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/图层 3@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/图层 3@2x.png
--------------------------------------------------------------------------------
/you_wallet/images/2.0x/指纹 拷贝@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/2.0x/指纹 拷贝@2x.png
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/backup.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/backup.png
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/empty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/empty.png
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/fingerprint.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/fingerprint.png
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/homebk-full.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/homebk-full.png
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/homebk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/homebk.png
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/icon.png
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/logo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/logo.jpg
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/logo.png
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/new_wallet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/new_wallet.png
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/qrcode.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/qrcode.jpeg
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/qrcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/qrcode.png
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/splash.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/splash.jpeg
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/tab_exchange.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/tab_exchange.png
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/tab_exchange_active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/tab_exchange_active.png
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/tab_receive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/tab_receive.png
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/tab_receive_active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/tab_receive_active.png
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/tab_transfer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/tab_transfer.png
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/tab_transfer_active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/tab_transfer_active.png
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/tab_wallet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/tab_wallet.png
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/tab_wallet_active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/tab_wallet_active.png
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/图层 3@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/图层 3@3x.png
--------------------------------------------------------------------------------
/you_wallet/images/3.0x/指纹 拷贝@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/images/3.0x/指纹 拷贝@3x.png
--------------------------------------------------------------------------------
/you_wallet/ios/.gitignore:
--------------------------------------------------------------------------------
1 | *.mode1v3
2 | *.mode2v3
3 | *.moved-aside
4 | *.pbxuser
5 | *.perspectivev3
6 | **/*sync/
7 | .sconsign.dblite
8 | .tags*
9 | **/.vagrant/
10 | **/DerivedData/
11 | Icon?
12 | **/Pods/
13 | **/.symlinks/
14 | profile
15 | xcuserdata
16 | **/.generated/
17 | Flutter/App.framework
18 | Flutter/Flutter.framework
19 | Flutter/Flutter.podspec
20 | Flutter/Generated.xcconfig
21 | Flutter/app.flx
22 | Flutter/app.zip
23 | Flutter/flutter_assets/
24 | Flutter/flutter_export_environment.sh
25 | ServiceDefinitions.json
26 | Runner/GeneratedPluginRegistrant.*
27 |
28 | # Exceptions to above rules.
29 | !default.mode1v3
30 | !default.mode2v3
31 | !default.pbxuser
32 | !default.perspectivev3
33 |
--------------------------------------------------------------------------------
/you_wallet/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 11.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/you_wallet/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/you_wallet/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/you_wallet/ios/Podfile:
--------------------------------------------------------------------------------
1 | # Uncomment this line to define a global platform for your project
2 | # platform :ios, '11.0'
3 |
4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true'
6 |
7 | project 'Runner', {
8 | 'Debug' => :debug,
9 | 'Profile' => :release,
10 | 'Release' => :release,
11 | }
12 |
13 | def flutter_root
14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
15 | unless File.exist?(generated_xcode_build_settings_path)
16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
17 | end
18 |
19 | File.foreach(generated_xcode_build_settings_path) do |line|
20 | matches = line.match(/FLUTTER_ROOT\=(.*)/)
21 | return matches[1].strip if matches
22 | end
23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
24 | end
25 |
26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
27 |
28 | flutter_ios_podfile_setup
29 |
30 | target 'Runner' do
31 | use_frameworks!
32 | use_modular_headers!
33 |
34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
35 | end
36 |
37 | post_install do |installer|
38 | installer.pods_project.targets.each do |target|
39 | flutter_additional_ios_build_settings(target)
40 | end
41 | end
42 |
--------------------------------------------------------------------------------
/you_wallet/ios/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - barcode_scan (0.0.1):
3 | - Flutter
4 | - MTBBarcodeScanner
5 | - SwiftProtobuf
6 | - Bugly (2.5.2)
7 | - Flutter (1.0.0)
8 | - flutter_aes_ecb_pkcs5 (0.0.1):
9 | - Flutter
10 | - flutter_bugly (0.0.1):
11 | - Bugly
12 | - Flutter
13 | - fluttertoast (0.0.2):
14 | - Flutter
15 | - FMDB (2.7.5):
16 | - FMDB/standard (= 2.7.5)
17 | - FMDB/standard (2.7.5)
18 | - image_picker_saver (0.0.1):
19 | - Flutter
20 | - local_auth (0.0.1):
21 | - Flutter
22 | - MTBBarcodeScanner (5.0.11)
23 | - path_provider (0.0.1):
24 | - Flutter
25 | - share (0.0.1):
26 | - Flutter
27 | - shared_preferences (0.0.1):
28 | - Flutter
29 | - sqflite (0.0.2):
30 | - Flutter
31 | - FMDB (>= 2.7.5)
32 | - SwiftProtobuf (1.9.0)
33 | - url_launcher (0.0.1):
34 | - Flutter
35 |
36 | DEPENDENCIES:
37 | - barcode_scan (from `.symlinks/plugins/barcode_scan/ios`)
38 | - Flutter (from `Flutter`)
39 | - flutter_aes_ecb_pkcs5 (from `.symlinks/plugins/flutter_aes_ecb_pkcs5/ios`)
40 | - flutter_bugly (from `.symlinks/plugins/flutter_bugly/ios`)
41 | - fluttertoast (from `.symlinks/plugins/fluttertoast/ios`)
42 | - image_picker_saver (from `.symlinks/plugins/image_picker_saver/ios`)
43 | - local_auth (from `.symlinks/plugins/local_auth/ios`)
44 | - path_provider (from `.symlinks/plugins/path_provider/ios`)
45 | - share (from `.symlinks/plugins/share/ios`)
46 | - shared_preferences (from `.symlinks/plugins/shared_preferences/ios`)
47 | - sqflite (from `.symlinks/plugins/sqflite/ios`)
48 | - url_launcher (from `.symlinks/plugins/url_launcher/ios`)
49 |
50 | SPEC REPOS:
51 | trunk:
52 | - Bugly
53 | - FMDB
54 | - MTBBarcodeScanner
55 | - SwiftProtobuf
56 |
57 | EXTERNAL SOURCES:
58 | barcode_scan:
59 | :path: ".symlinks/plugins/barcode_scan/ios"
60 | Flutter:
61 | :path: Flutter
62 | flutter_aes_ecb_pkcs5:
63 | :path: ".symlinks/plugins/flutter_aes_ecb_pkcs5/ios"
64 | flutter_bugly:
65 | :path: ".symlinks/plugins/flutter_bugly/ios"
66 | fluttertoast:
67 | :path: ".symlinks/plugins/fluttertoast/ios"
68 | image_picker_saver:
69 | :path: ".symlinks/plugins/image_picker_saver/ios"
70 | local_auth:
71 | :path: ".symlinks/plugins/local_auth/ios"
72 | path_provider:
73 | :path: ".symlinks/plugins/path_provider/ios"
74 | share:
75 | :path: ".symlinks/plugins/share/ios"
76 | shared_preferences:
77 | :path: ".symlinks/plugins/shared_preferences/ios"
78 | sqflite:
79 | :path: ".symlinks/plugins/sqflite/ios"
80 | url_launcher:
81 | :path: ".symlinks/plugins/url_launcher/ios"
82 |
83 | SPEC CHECKSUMS:
84 | barcode_scan: a5c27959edfafaa0c771905bad0b29d6d39e4479
85 | Bugly: dbac48b55ad469a97cc4321045cd50df8f63d44f
86 | Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
87 | flutter_aes_ecb_pkcs5: fb682a7bb13f29cfbb33f88f7e1ed2211eacf5db
88 | flutter_bugly: c9800f4d5bc5bdc27ffdde3417a26ba44266e0c3
89 | fluttertoast: b644586ef3b16f67fae9a1f8754cef6b2d6b634b
90 | FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
91 | image_picker_saver: 4f28bd70e1efdca68ad88beab0f11d22cffe04f6
92 | local_auth: 1740f55d7af0a2e2a8684ce225fe79d8931e808c
93 | MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb
94 | path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c
95 | share: 0b2c3e82132f5888bccca3351c504d0003b3b410
96 | shared_preferences: af6bfa751691cdc24be3045c43ec037377ada40d
97 | sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904
98 | SwiftProtobuf: ecbec1be9036d15655f6b3443a1c4ea693c97932
99 | url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef
100 |
101 | PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3
102 |
103 | COCOAPODS: 1.11.3
104 |
--------------------------------------------------------------------------------
/you_wallet/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/you_wallet/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
54 |
56 |
62 |
63 |
64 |
65 |
66 |
67 |
73 |
75 |
81 |
82 |
83 |
84 |
86 |
87 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/you_wallet/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/youwallet/wallet/0a807f15e7b571b5e3d7937106a710c78fbb092a/you_wallet/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | NSCameraUsageDescription
8 | Camera permission is required for barcode scanning.
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | you_wallet
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | $(FLUTTER_BUILD_NAME)
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | $(FLUTTER_BUILD_NUMBER)
25 | LSRequiresIPhoneOS
26 |
27 | UILaunchStoryboardName
28 | LaunchScreen
29 | UIMainStoryboardFile
30 | Main
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 | UIInterfaceOrientationPortraitUpsideDown
41 | UIInterfaceOrientationLandscapeLeft
42 | UIInterfaceOrientationLandscapeRight
43 |
44 | UIViewControllerBasedStatusBarAppearance
45 |
46 | CADisableMinimumFrameDurationOnPhone
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/you_wallet/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
--------------------------------------------------------------------------------
/you_wallet/lib/bus.dart:
--------------------------------------------------------------------------------
1 | //全局事件总线
2 | //对于简单的app,事件总线已经足够满足需求,引入全局状态管理会增加负担
3 |
4 | //事件总线通常实现了订阅者模式,订阅者模式包含发布者和订阅者两种角色,可以通过事件总线来触发事件和监听事件,
5 |
6 | //Dart中实现单例模式的标准做法就是使用static变量+工厂构造函数的方式,这样就可以保证new EventBus()始终返回都是同一个实例,读者应该理解并掌握这种方法。
7 |
8 | import 'package:event_bus/event_bus.dart';
9 |
10 | /// 创建EventBus
11 | EventBus eventBus = EventBus();
12 |
13 | class EventAddToken {
14 | Map token = null;
15 | EventAddToken(this.token);
16 | }
17 |
18 | class WalletChangeEvent {
19 | String address = null;
20 | WalletChangeEvent(this.address);
21 | }
22 |
23 | /// tab页面切换通知
24 | class TabChangeEvent {
25 | int index = 0;
26 | TabChangeEvent(this.index);
27 | }
28 |
29 | /// 交易历史记录操作结果通知
30 | class TransferDoneEvent {
31 | String res = '';
32 | TransferDoneEvent(this.res);
33 | }
34 |
35 | /// tab切换时候的事件通知
36 | class CustomTabChangeEvent {
37 | String res = '';
38 | CustomTabChangeEvent(this.res);
39 | }
40 |
41 | /// 挂单成功通知
42 | class OrderSuccessEvent {
43 | OrderSuccessEvent();
44 | }
45 |
46 | /// 交易深度列表刷新通知
47 | class UpdateTeadeDeepEvent {
48 | UpdateTeadeDeepEvent();
49 | }
50 |
51 | /// 交易历史列表刷新事件
52 | class UpdateOrderListEvent {
53 | UpdateOrderListEvent();
54 | }
55 |
56 | /// 事件钩子,订单列表准备刷新
57 | class TransferUpdateStartEvent {
58 | TransferUpdateStartEvent();
59 | }
60 |
61 | // token余额刷新通知
62 | class TokenListUpdateEvent {
63 | TokenListUpdateEvent();
64 | }
65 |
66 | // app新版本检查
67 | class CheckVersion {
68 | CheckVersion();
69 | }
70 |
71 | /// 事件钩子,订单列表准备刷新
72 | //class Event{
73 | // TransferUpdateStartEvent();
74 | //}
75 |
--------------------------------------------------------------------------------
/you_wallet/lib/db/provider.dart:
--------------------------------------------------------------------------------
1 | import 'dart:async';
2 |
3 | import 'package:path/path.dart';
4 | import 'package:sqflite/sqflite.dart';
5 | import 'sql_table_data.dart';
6 |
7 | class ProviderSql {
8 | static Database db;
9 |
10 | // 获取数据库中所有的表
11 | Future getTables() async {
12 | if (db == null) {
13 | return Future.value([]);
14 | }
15 | List tables = await db
16 | .rawQuery('SELECT name FROM sqlite_master WHERE type = "table"');
17 | List targetList = [];
18 | tables.forEach((item) {
19 | targetList.add(item['name']);
20 | });
21 | return targetList;
22 | }
23 |
24 | // 检查数据库中, 表是否完整, 在部份android中, 会出现表丢失的情况
25 | Future checkTableIsRight() async {
26 | List expectTables = ['tokens','wallet','trade','transfer','book']; //将项目中使用的表的表名添加集合中
27 |
28 | List tables = await getTables();
29 |
30 | for (int i = 0; i < expectTables.length; i++) {
31 | if (!tables.contains(expectTables[i])) {
32 | return false;
33 | }
34 | }
35 | return true;
36 | }
37 |
38 | //初始化数据库
39 | Future init() async {
40 | //Get a location using getDatabasesPath
41 | String databasesPath = await getDatabasesPath();
42 | String path = join(databasesPath, 'wallet.db');
43 | print(path);
44 | try {
45 | db = await openDatabase(path);
46 | } catch (e) {
47 | print("Error $e");
48 | }
49 |
50 | bool tableIsRight = await this.checkTableIsRight();
51 |
52 | if (!tableIsRight) {
53 | // 关闭上面打开的db,否则无法执行open
54 | print('there is no DB Table,new db');
55 | db.close();
56 | //表不完整
57 | // Delete the database
58 | await deleteDatabase(path);
59 |
60 | db = await openDatabase(path, version: 1,
61 | onCreate: (Database db, int version) async {
62 | // When creating the db, create the table
63 | await db.execute(SqlTable.sql_createTable_token);
64 | await db.execute(SqlTable.sql_createTable_wallet);
65 | await db.execute(SqlTable.sql_createTable_trade);
66 | await db.execute(SqlTable.sql_createTable_transfer);
67 | // await db.execute(SqlTable.sql_createTable_approve);
68 | await db.execute(SqlTable.sql_createTable_book);
69 | print('db created version is $version');
70 | }, onOpen: (Database db) async {
71 | print('new db opened');
72 | });
73 | } else {
74 | print("Opening existing database");
75 | }
76 | }
77 |
78 | // 删除数据库
79 | Future clearCache() async {
80 | //Get a location using getDatabasesPath
81 | String databasesPath = await getDatabasesPath();
82 | String path = join(databasesPath, 'wallet.db');
83 | await deleteDatabase(path);
84 | print('数据库删除,done');
85 | }
86 |
87 | // 删除交易数据表,然后新建交易数据表
88 | Future clearTrade() async {
89 | String databasesPath = await getDatabasesPath();
90 | String path = join(databasesPath, 'wallet.db');
91 | await db.delete('trade');
92 | await db.execute(SqlTable.sql_createTable_trade);
93 | }
94 | }
95 |
--------------------------------------------------------------------------------
/you_wallet/lib/db/sql_table_data.dart:
--------------------------------------------------------------------------------
1 | // 定义项目要用到的表
2 | class SqlTable{
3 | // token
4 | static final String sql_createTable_token = """
5 | CREATE TABLE tokens (
6 | id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
7 | address TEXT NOT NULL,
8 | wallet TEXT NOT NULL,
9 | name TEXT NOT NULL,
10 | decimals TINYINT NOT NULL,
11 | balance TEXT,
12 | rmb TEXT,
13 | network TEXT);
14 | """;
15 |
16 | // token授权记录
17 | static final String sql_createTable_approve = """
18 | CREATE TABLE approve (
19 | id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
20 | tokenAddress TEXT,
21 | walletAddress TEXT);
22 | """;
23 |
24 | // 钱包
25 | static final String sql_createTable_wallet = """
26 | CREATE TABLE wallet (
27 | id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
28 | name TEXT,
29 | mnemonic TEXT,
30 | privateKey TEXT NOT NULL UNIQUE,
31 | address TEXT NOT NULL UNIQUE,
32 | balance TEXT);
33 | """;
34 |
35 | // 兑换记录
36 | static final String sql_createTable_trade = """
37 | CREATE TABLE trade (
38 | id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
39 | orderType TEXT,
40 | price TEXT,
41 | amount TEXT,
42 | filled TEXT,
43 | token TEXT,
44 | tokenName TEXT,
45 | baseToken TEXT,
46 | baseTokenName TEXT,
47 | txnHash TEXT NOT NULL UNIQUE,
48 | odHash TEXT,
49 | bqHash TEXT,
50 | sqHash TEXT,
51 | createTime TEXT,
52 | status TEXT);
53 | """;
54 |
55 | // 转账记录
56 | static final String sql_createTable_transfer = """
57 | CREATE TABLE transfer (
58 | id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
59 | fromAddress TEXT NOT NULL,
60 | toAddress TEXT NOT NULL,
61 | tokenName TEXT NOT NULL,
62 | tokenAddress TEXT NOT NULL,
63 | num TEXT NOT NULL,
64 | txnHash TEXT NOT NULL UNIQUE,
65 | createTime TEXT,
66 | status TEXT);
67 | """;
68 |
69 | // 常用转账人
70 | static final String sql_createTable_book = """
71 | CREATE TABLE book (
72 | id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
73 | address TEXT NOT NULL UNIQUE,
74 | remark TEXT);
75 | """;
76 | }
--------------------------------------------------------------------------------
/you_wallet/lib/db/sql_util.dart:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by yangqc on 2019-04-10
3 | * sqflite工具类
4 | */
5 | import 'dart:async';
6 | import 'package:sqflite/sqflite.dart';
7 | import 'provider.dart';
8 |
9 | class BaseModel {
10 | Database db;
11 | final String table = '';
12 | var querys;
13 |
14 | BaseModel(this.db) {
15 | querys = db.query;
16 | }
17 | }
18 |
19 | class SqlUtil extends BaseModel {
20 | final String tableName;
21 |
22 | SqlUtil.setTable(String name)
23 | : tableName = name,
24 | super(ProviderSql.db);
25 |
26 | //查询该表中的所有数据
27 | Future get() async {
28 | return await this.querys(tableName);
29 | }
30 |
31 | //插入数据 传入Sql语句和参数 返回插入数据的id
32 | Future rawInsert(String sql, List arguments) async {
33 | return await this.db.rawInsert(sql, arguments);
34 | }
35 |
36 | //插入一条新的数据 返回插入数据的id
37 | Future insert(Map params) async {
38 | return await this.db.insert(tableName, params);
39 | }
40 |
41 | //删除数据 传入Sql语句和参数
42 | Future rawDelete(String sql, List arguments) async {
43 | return await this.db.rawDelete(sql, arguments);
44 | }
45 |
46 | //删除一条或多条数据 单个条件
47 | Future delete(String key, dynamic value) async {
48 | return await this.db.delete(tableName, where:'$key = ?', whereArgs:[value]);
49 | }
50 |
51 | //删除一条或多条数据 多个条件
52 | Future deletes(Map conditions, String ao) async {
53 | String stringConditions = '';
54 |
55 | int index = 0;
56 | if (ao == '') ao = 'and';
57 | conditions.forEach((key, value) {
58 | if (value == null) {
59 | return ;
60 | }
61 | if (value.runtimeType == String) {
62 | stringConditions = '$stringConditions $key = "$value"';
63 | }
64 | if (value.runtimeType == int) {
65 | stringConditions = '$stringConditions $key = $value';
66 | }
67 |
68 | if (index >= 0 && index < conditions.length -1) {
69 | stringConditions = '$stringConditions $ao';
70 | }
71 | index++;
72 | });
73 | return await this.db.delete(tableName, where:stringConditions);
74 | }
75 |
76 | //修改数据 传入Sql语句和参数
77 | Future rawUpdate(String sql, List arguments) async {
78 | return await this.db.rawUpdate(sql, arguments);
79 | }
80 |
81 | //修改一条或多条数据 单个条件
82 | Future update(Map params, String key, dynamic value) async {
83 | return await this.db.update(tableName, params, where:'$key = ?', whereArgs:[value]);
84 | }
85 |
86 | //修改一条或多条数据 多个条件
87 | Future updates(Map params, Map conditions, String ao) async {
88 | String stringConditions = '';
89 |
90 | int index = 0;
91 | if (ao == '') ao = 'and';
92 | conditions.forEach((key, value) {
93 | if (value == null) {
94 | return ;
95 | }
96 | if (value.runtimeType == String) {
97 | stringConditions = '$stringConditions $key = "$value"';
98 | }
99 | if (value.runtimeType == int) {
100 | stringConditions = '$stringConditions $key = $value';
101 | }
102 |
103 | if (index >= 0 && index < conditions.length -1) {
104 | stringConditions = '$stringConditions $ao';
105 | }
106 | index++;
107 | });
108 | return await this.db.update(tableName, params, where:stringConditions);
109 | }
110 |
111 | //查询数据 传入Sql语句和参数
112 | Future rawQuery(String sql, List arguments) async {
113 | return await this.db.rawQuery(sql, arguments);
114 | }
115 |
116 | //通过条件查询,可以将表名作为参数传进来,作为公共方法,返回的是一个集合
117 | Future query({Map conditions}) async {
118 | // 如果传入条件为空,就查询该表全部数据
119 | if (conditions == null || conditions.isEmpty) {
120 | return this.get();
121 | }
122 | String stringConditions = '';
123 |
124 | int index = 0;
125 | conditions.forEach((key, value) {
126 | if (value == null) {
127 | return ;
128 | }
129 | if (value.runtimeType == String) {
130 | stringConditions = '$stringConditions $key = "$value"';
131 | }
132 | if (value.runtimeType == int) {
133 | stringConditions = '$stringConditions $key = $value';
134 | }
135 |
136 | if (index >= 0 && index < conditions.length -1) {
137 | stringConditions = '$stringConditions and';
138 | }
139 | index++;
140 | });
141 | // print("this is string condition for sql > $stringConditions");
142 | return await this.querys(tableName, where: stringConditions);
143 | }
144 | }
145 |
146 |
147 |
--------------------------------------------------------------------------------
/you_wallet/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'dart:io';
3 | import 'package:flutter/services.dart';
4 | import 'package:youwallet/pages/routers.dart';
5 | import 'package:youwallet/global.dart';
6 | import 'package:youwallet/service/service_locator.dart';
7 | import 'package:youwallet/db/provider.dart';
8 | import 'package:provider/provider.dart';
9 |
10 | // 引入model
11 | import 'package:youwallet/model/token.dart';
12 | import 'package:youwallet/model/wallet.dart';
13 | import 'package:youwallet/model/network.dart';
14 | import 'package:youwallet/model/deal.dart';
15 | import 'package:youwallet/model/book.dart';
16 |
17 | // 官方的国际化插件
18 | import 'package:flutter_localizations/flutter_localizations.dart';
19 | import 'package:youwallet/util/locale_util.dart';
20 | import 'package:youwallet/util/translations.dart';
21 |
22 | // 奔溃收集和日志上报
23 | import 'package:flutter_bugly/flutter_bugly.dart';
24 |
25 | void main() => FlutterBugly.postCatchedException(() async {
26 | WidgetsFlutterBinding.ensureInitialized();
27 | setupLocator();
28 |
29 | // 启动数据库
30 | final provider = new ProviderSql();
31 | await provider.init();
32 |
33 | // 全局变量, 其他页面导入global类即可以使用其中的变量
34 | // 全局变量就只是变量,它一般不更改,即使更改,也不需要通知其他组件
35 | await Global.init();
36 | Provider.debugCheckInvalidValueType = null;
37 |
38 | runApp(
39 | MultiProvider(
40 | providers: [
41 | ChangeNotifierProvider(create: (_) => Token()),
42 | ChangeNotifierProvider(create: (_) => Wallet()),
43 | ChangeNotifierProvider(create: (_) => Network()),
44 | ChangeNotifierProvider(create: (_) => Deal()),
45 | ChangeNotifierProvider(create: (_) => Book())
46 | ],
47 | child: MyApp(),
48 | ),
49 | );
50 |
51 | // 当平台是安卓的时候
52 | // 设置android状态栏为透明的沉浸。写在组件渲染之后,是为了在渲染后进行set赋值,覆盖状态栏,写在渲染之前MaterialApp组件会覆盖掉这个值
53 | if (Platform.isAndroid) {
54 | SystemUiOverlayStyle systemUiOverlayStyle =
55 | SystemUiOverlayStyle(statusBarColor: Colors.transparent);
56 | SystemChrome.setSystemUIOverlayStyle(systemUiOverlayStyle);
57 | }
58 | });
59 |
60 | // APP最外层的widget,每个app都是这样
61 | class MyApp extends StatelessWidget {
62 | @override
63 | Widget build(BuildContext context) {
64 | return MaterialApp(
65 | // 本地化代理
66 | localizationsDelegates: [
67 | const TranslationsDelegate(),
68 | GlobalMaterialLocalizations.delegate,
69 | GlobalWidgetsLocalizations.delegate,
70 | ],
71 | // const Locale(languageCode,countryCode)
72 | // Locale类是用来标识用户的语言环境的,它包括语言和国家两个标志,languageCode和countryCode:
73 | // supportedLocales: [
74 | // const Locale('en', 'US'), // 美国英语
75 | // const Locale('zh', 'CN'), // 中文简体
76 | // //其它Locales
77 | // ],
78 | supportedLocales: localeUtil.supportedLocales(),
79 | debugShowCheckedModeBanner: false, //关闭调试
80 | theme:
81 | ThemeData(primarySwatch: Colors.blue, primaryColor: Colors.white),
82 | initialRoute: 'splash',
83 | //routes: routes, // 因为定义了onGenerateRoute,所以就不需要routes这个参数了
84 | onGenerateRoute: onGenerateRoute // 为了传递参数
85 | //home: new SplashWidget(tabIndex: 0)
86 | );
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/you_wallet/lib/model.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | //全局状态管理
4 | class Counter with ChangeNotifier {
5 | //1
6 | int _count;
7 | Counter(this._count);
8 |
9 | void add() {
10 | _count++;
11 | notifyListeners(); //2
12 | }
13 |
14 | get count => _count; //3
15 | }
16 |
--------------------------------------------------------------------------------
/you_wallet/lib/model/book.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:youwallet/db/sql_util.dart';
3 |
4 | /// ChangeNotifier 是 Flutter SDK 中的一个简单的类。
5 | /// 它用于向监听器发送通知。换言之,如果被定义为 ChangeNotifier,
6 | /// 你可以订阅它的状态变化。(这和大家所熟悉的观察者模式相类似)。
7 |
8 | /// 在 provider 中,ChangeNotifier 是一种能够封装应用程序状态的方法。
9 | /// 对于特别简单的程序,你可以通过一个 ChangeNotifier 来满足全部需求。
10 | /// 在相对复杂的应用中,由于会有多个模型,所以可能会有多个 ChangeNotifier。
11 | /// (不是必须得把 ChangeNotifier 和 provider 结合起来用,不过它确实是一个特别简单的类)。
12 |
13 | class Book extends ChangeNotifier {
14 |
15 | // 构造函数
16 | Book() {
17 | this.getBookList();
18 | }
19 |
20 | List