mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
commit
8d2c21deec
12 changed files with 39 additions and 1223 deletions
8
.gitignore
vendored
8
.gitignore
vendored
|
@ -119,5 +119,11 @@ lib/monero/monero.dart
|
|||
|
||||
ios/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_180.png
|
||||
ios/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_120.png
|
||||
android/app/src/main/res/
|
||||
android/app/src/main/res/mipmap-*
|
||||
android/app/src/main/res/drawable/ic_launcher.png
|
||||
!android/app/src/main/res/drawable/launch_background.xml
|
||||
!android/app/src/main/res/values/styles.xml
|
||||
assets/images/app_logo.png
|
||||
|
||||
/pubspec.yaml
|
||||
/pubspec.lock
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@android:color/white" />
|
||||
<foreground android:drawable="@drawable/ic_launcher" />
|
||||
</adaptive-icon>
|
Binary file not shown.
Before Width: | Height: | Size: 6.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 9 KiB |
Binary file not shown.
Before Width: | Height: | Size: 14 KiB |
Binary file not shown.
Before Width: | Height: | Size: 18 KiB |
1101
pubspec.lock
1101
pubspec.lock
File diff suppressed because it is too large
Load diff
108
pubspec.yaml
108
pubspec.yaml
|
@ -1,108 +0,0 @@
|
|||
name: cake_wallet
|
||||
description: Cake Wallet.
|
||||
version: 4.2.8+69
|
||||
|
||||
environment:
|
||||
sdk: ">=2.7.0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
cw_core:
|
||||
path: ./cw_core
|
||||
|
||||
cw_monero:
|
||||
path: ./cw_monero
|
||||
|
||||
flutter:
|
||||
sdk: flutter
|
||||
flutter_localizations:
|
||||
sdk: flutter
|
||||
flutter_cupertino_localizations: ^1.0.1
|
||||
intl: ^0.17.0
|
||||
url_launcher: ^6.0.3
|
||||
qr: ^2.0.0
|
||||
uuid: ^2.2.2
|
||||
shared_preferences: ^0.5.3+4
|
||||
flutter_secure_storage:
|
||||
git:
|
||||
url: https://github.com/cake-tech/flutter_secure_storage.git
|
||||
ref: cake
|
||||
version: 3.3.57
|
||||
provider: ^5.0.0
|
||||
rxdart: ^0.26.0
|
||||
yaml: ^2.1.16
|
||||
barcode_scan: any
|
||||
http: ^0.12.0+2
|
||||
path_provider: ^1.3.0
|
||||
mobx: ^1.2.1+2
|
||||
flutter_mobx: ^1.1.0+2
|
||||
flutter_slidable: ^0.5.3
|
||||
share: ^2.0.1
|
||||
esys_flutter_share: ^1.0.2
|
||||
date_range_picker: ^1.0.6
|
||||
dio: ^3.0.10
|
||||
hive: ^1.4.4+1
|
||||
hive_flutter: ^0.3.1
|
||||
local_auth: ^1.1.6
|
||||
package_info: ^2.0.0
|
||||
devicelocale: ^0.4.1
|
||||
auto_size_text: ^2.1.0
|
||||
dotted_border: ^1.0.5
|
||||
smooth_page_indicator: ^0.2.0
|
||||
webview_flutter: ^2.0.2
|
||||
flutter_spinkit: ^5.0.0
|
||||
uni_links: ^0.4.0
|
||||
lottie: ^0.7.0
|
||||
animate_do: ^2.0.0
|
||||
cupertino_icons: ^1.0.2
|
||||
encrypt: ^4.0.0
|
||||
crypto: ^2.1.5
|
||||
password: ^1.0.0
|
||||
basic_utils: ^2.0.3
|
||||
bitcoin_flutter:
|
||||
git:
|
||||
url: https://github.com/cake-tech/bitcoin_flutter.git
|
||||
ref: cake
|
||||
get_it: ^6.0.0
|
||||
connectivity: ^3.0.3
|
||||
keyboard_actions: ^3.3.0
|
||||
flushbar: ^1.10.4
|
||||
archive: ^2.0.13
|
||||
cryptography: ^1.4.0
|
||||
file_picker: ^3.0.0-nullsafety.2
|
||||
unorm_dart: ^0.2.0
|
||||
permission_handler: ^5.0.1+1
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
build_runner: ^1.10.3
|
||||
build_resolvers: ^1.3.10
|
||||
mobx_codegen: ^1.1.0+1
|
||||
hive_generator: ^0.8.1
|
||||
flutter_launcher_icons: ^0.8.1
|
||||
pedantic: ^1.8.0
|
||||
|
||||
flutter_icons:
|
||||
image_path: "assets/images/app_logo.png"
|
||||
android: true
|
||||
ios: true
|
||||
|
||||
flutter:
|
||||
uses-material-design: true
|
||||
|
||||
assets:
|
||||
- assets/images/
|
||||
- assets/node_list.yml
|
||||
- assets/bitcoin_electrum_server_list.yml
|
||||
- assets/litecoin_electrum_server_list.yml
|
||||
- assets/text/
|
||||
- assets/faq/
|
||||
- assets/animation/
|
||||
|
||||
fonts:
|
||||
- family: Lato
|
||||
fonts:
|
||||
- asset: assets/fonts/Lato-Regular.ttf
|
||||
- asset: assets/fonts/Lato-Medium.ttf
|
||||
- asset: assets/fonts/Lato-Semibold.ttf
|
||||
- asset: assets/fonts/Lato-Bold.ttf
|
|
@ -1,10 +1,3 @@
|
|||
name: cake_wallet
|
||||
description: Cake Wallet.
|
||||
version: 4.2.7+62
|
||||
|
||||
environment:
|
||||
sdk: ">=2.7.0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
|
@ -99,4 +92,4 @@ flutter:
|
|||
- asset: assets/fonts/Lato-Regular.ttf
|
||||
- asset: assets/fonts/Lato-Medium.ttf
|
||||
- asset: assets/fonts/Lato-Semibold.ttf
|
||||
- asset: assets/fonts/Lato-Bold.ttf
|
||||
- asset: assets/fonts/Lato-Bold.ttf
|
6
pubspec_description.yaml
Normal file
6
pubspec_description.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
name: cake_wallet
|
||||
description: Cake Wallet.
|
||||
version: 0.0.0
|
||||
|
||||
environment:
|
||||
sdk: ">=2.7.0 <3.0.0"
|
25
tool/generate_pubspec.dart
Normal file
25
tool/generate_pubspec.dart
Normal file
|
@ -0,0 +1,25 @@
|
|||
import 'dart:io';
|
||||
|
||||
const pubspecBasePath = 'pubspec_base.yaml';
|
||||
const pubspecDescriptionPath = 'pubspec_description.yaml';
|
||||
const outputPubspecPath = 'pubspec.yaml';
|
||||
|
||||
Future<void> main(List<String> args) async {
|
||||
final pubspecBase = File(pubspecBasePath);
|
||||
final pubspecDescription = File(pubspecDescriptionPath);
|
||||
|
||||
if (!pubspecBase.existsSync() || !pubspecDescription.existsSync()) {
|
||||
throw("$pubspecBasePath or $pubspecDescriptionPath doesn't exists");
|
||||
}
|
||||
|
||||
final pubspecBaseContent = await pubspecBase.readAsString();
|
||||
final pubspecDescriptionContent = await pubspecDescription.readAsString();
|
||||
final pubSpecContent = pubspecDescriptionContent + '\n\n' + pubspecBaseContent;
|
||||
final outputPubspec = File(outputPubspecPath);
|
||||
|
||||
if (outputPubspec.existsSync()) {
|
||||
await outputPubspec.delete();
|
||||
}
|
||||
|
||||
await outputPubspec.writeAsString(pubSpecContent);
|
||||
}
|
Loading…
Reference in a new issue