Skip to content

Commit bee89e1

Browse files
author
Breez
committed
First commit
0 parents  commit bee89e1

File tree

362 files changed

+24332
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

362 files changed

+24332
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.aar filter=lfs diff=lfs merge=lfs -text

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
lib/services/breez_server/protobuf/breez.proto
2+
.DS_Store
3+
.atom/
4+
.dart_tool/
5+
.idea
6+
.vscode/
7+
.packages
8+
.pub/
9+
build/
10+
ios/.generated/
11+
packages
12+
.flutter-plugins

LICENSE

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# breez

android/.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
*.iml
2+
*.class
3+
.gradle
4+
/local.properties
5+
/.idea/workspace.xml
6+
/.idea/libraries
7+
.DS_Store
8+
/build
9+
/captures
10+
GeneratedPluginRegistrant.java

android/app/build.gradle

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
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+
apply plugin: 'com.android.application'
15+
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
16+
17+
android {
18+
compileSdkVersion 27
19+
20+
lintOptions {
21+
disable 'InvalidPackage'
22+
}
23+
24+
defaultConfig {
25+
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
26+
applicationId "com.breez.client"
27+
minSdkVersion 23
28+
targetSdkVersion 27
29+
multiDexEnabled true
30+
versionCode 1
31+
versionName "1.0"
32+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
33+
}
34+
35+
buildTypes {
36+
release {
37+
// TODO: Add your own signing config for the release build.
38+
// Signing with the debug keys for now, so `flutter run --release` works.
39+
signingConfig signingConfigs.debug
40+
}
41+
}
42+
43+
flavorDimensions "breez"
44+
productFlavors {
45+
pos {
46+
dimension "breez"
47+
applicationIdSuffix ".pos"
48+
versionNameSuffix "-pos"
49+
resValue "string", "app_name", "Breez POS"
50+
}
51+
client {
52+
dimension "breez"
53+
resValue "string", "app_name", "Breez"
54+
}
55+
}
56+
}
57+
58+
flutter {
59+
source '../..'
60+
}
61+
62+
dependencies {
63+
testImplementation 'junit:junit:4.12'
64+
androidTestImplementation 'com.android.support.test:runner:1.0.1'
65+
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
66+
compile(name:'breez', ext:'aar')
67+
implementation 'com.theartofdev.edmodo:android-image-cropper:2.5.+'
68+
implementation 'com.android.support:support-v4:27.1.1'
69+
implementation 'com.android.support:appcompat-v7:27.1.1'
70+
implementation 'com.google.firebase:firebase-invites:16.0.4'
71+
compile 'com.felipecsl:gifimageview:2.1.0'
72+
compile 'commons-io:commons-io:2.4'
73+
}
74+
apply plugin: 'com.google.gms.google-services'

android/app/libs/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.{aar} filter=lfs diff=lfs merge=lfs -text

android/app/libs/breez.aar

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:5d663785da50a8bf2689fb4ad17246d35152e0c01652579b4a04e85fafa11578
3+
size 48652626

android/app/libs/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
configurations.maybeCreate("default")
2+
artifacts.add("default", file('breez.aar'))
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:description="@string/breez_apdu_service"
4+
android:requireDeviceUnlock="false">
5+
<aid-group
6+
android:category="other"
7+
android:description="@string/breez_apdu_service_description">
8+
>
9+
<aid-filter android:name="F0425245455A425245455B"/>
10+
<aid-filter android:name="F0425245455A425245455A"/>
11+
</aid-group>
12+
</host-apdu-service>

0 commit comments

Comments
 (0)