-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from JWWon/develop
Develop
- Loading branch information
Showing
219 changed files
with
8,854 additions
and
3,264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,3 +58,9 @@ buck-out/ | |
|
||
# Bundle artifact | ||
*.jsbundle | ||
|
||
# Base Url | ||
base-url.json | ||
|
||
# Cocoapod | ||
Pods/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# To learn about Buck see [Docs](https://buckbuild.com/). | ||
# To run your application with Buck: | ||
# - install Buck | ||
# - `npm start` - to start the packager | ||
# - `cd android` | ||
# - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` | ||
# - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck | ||
# - `buck install -r android/app` - compile, install and run application | ||
# | ||
|
||
load(":build_defs.bzl", "create_aar_targets", "create_jar_targets") | ||
|
||
lib_deps = [] | ||
|
||
create_aar_targets(glob(["libs/*.aar"])) | ||
|
||
create_jar_targets(glob(["libs/*.jar"])) | ||
|
||
android_library( | ||
name = "all-libs", | ||
exported_deps = lib_deps, | ||
) | ||
|
||
android_library( | ||
name = "app-code", | ||
srcs = glob([ | ||
"src/main/java/**/*.java", | ||
]), | ||
deps = [ | ||
":all-libs", | ||
":build_config", | ||
":res", | ||
], | ||
) | ||
|
||
android_build_config( | ||
name = "build_config", | ||
package = "com.wddclient", | ||
) | ||
|
||
android_resource( | ||
name = "res", | ||
package = "com.wddclient", | ||
res = "src/main/res", | ||
) | ||
|
||
android_binary( | ||
name = "app", | ||
keystore = "//android/keystores:debug", | ||
manifest = "src/main/AndroidManifest.xml", | ||
package_type = "debug", | ||
deps = [ | ||
":app-code", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
"""Helper definitions to glob .aar and .jar targets""" | ||
|
||
def create_aar_targets(aarfiles): | ||
for aarfile in aarfiles: | ||
name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")] | ||
lib_deps.append(":" + name) | ||
android_prebuilt_aar( | ||
name = name, | ||
aar = aarfile, | ||
) | ||
|
||
def create_jar_targets(jarfiles): | ||
for jarfile in jarfiles: | ||
name = "jars__" + jarfile[jarfile.rindex("/") + 1:jarfile.rindex(".jar")] | ||
lib_deps.append(":" + name) | ||
prebuilt_jar( | ||
name = name, | ||
binary_jar = jarfile, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
android/app/src/main/res/drawable/ic_launcher_foreground.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="108dp" | ||
android:height="108dp" | ||
android:viewportWidth="149.39558" | ||
android:viewportHeight="149.39558"> | ||
<group android:translateX="40.91779" | ||
android:translateY="47.41279"> | ||
<path | ||
android:pathData="M65.61,31.4a20.13,20.13 0,0 1,-0.9 5.61,9.27 9.27,0 0,1 -3.07,4.42 6.36,6.36 0,0 1,-4.11 1.25l-0.1,0a1.22,1.22 0,0 0,-0.27 0c-0.16,0 -0.32,0 -0.48,-0.09a4.16,4.16 0,0 1,-3.16 -3.35,0.94 0.94,0 0,0 -1.88,0.18 6,6 0,0 0,4.41 4.9,6.31 6.31,0 0,1 -6.78,3.2 1,1 0,0 0,-0.73 0.19,0.94 0.94,0 0,0 -0.35,0.66C48,50.11 45.54,52 43.56,52.4A10.64,10.64 0,0 1,35 50.9a0.94,0.94 0,0 0,-1 0,9.2 9.2,0 0,1 -10.39,-0.37A4,4 0,0 1,21.86 48a1,1 0,0 0,-1 -0.89,11.26 11.26,0 0,1 -5,-0.52 4.48,4.48 0,0 1,-2.12 -4.16,1.47 1.47,0 0,0 0,-0.21 7.63,7.63 0,0 0,2.14 -3.55,0.92 0.92,0 0,0 -0.69,-1.12 1,1 0,0 0,-1.15 0.67,6.06 6.06,0 0,1 -4.83,4.33 6.2,6.2 0,0 1,-6 -2.61,10.7 10.7,0 0,1 -1.34,-5.19 17.3,17.3 0,0 1,1 -7.89,8.11 8.11,0 0,1 5.29,-5 0.93,0.93 0,0 0,0.72 -0.89v-0.64a1,1 0,0 0,0 -0.24,8 8,0 0,1 1.36,-6.77c3.64,-5 8,-4.63 8.17,-4.61a0.93,0.93 0,0 0,1 -0.71S20.31,4.47 26,3.17a11.82,11.82 0,0 1,7.92 1A1,1 0,0 0,35.05 4,9.58 9.58,0 0,1 40.7,1.88 10.77,10.77 0,0 1,46.77 3a5.13,5.13 0,0 1,2.81 4.57,0.9 0.9,0 0,0 0.27,0.71 1,1 0,0 0,0.74 0.27,7.18 7.18,0 0,1 6.35,3.1 6.83,6.83 0,0 1,0.46 7,0.91 0.91,0 0,0 0,0.94 0.94,0.94 0,0 0,0.86 0.43,7.07 7.07,0 0,1 6.1,3.84A15.49,15.49 0,0 1,65.61 31.4Z" | ||
android:fillColor="#fff"/> | ||
<path | ||
android:pathData="M20.5,35.91c-2.38,2.1 -0.64,6.2 2.32,6.44a1.16,1.16 0,0 0,1.23 -0.69,2.67 2.67,0 0,0 1.73,-1.48C27.23,37.18 23.14,33.58 20.5,35.91Z" | ||
android:fillColor="#fff500"/> | ||
<path | ||
android:pathData="M47.77,36.8a3.52,3.52 0,0 0,-2.88 -1.13,3.33 3.33,0 0,0 -1.91,0.44 1.31,1.31 0,0 0,-0.68 1.12,3 3,0 0,0 -0.18,2.9 3.08,3.08 0,0 0,0.29 0.67,3.35 3.35,0 0,0 4.72,1A3.27,3.27 0,0 0,47.77 36.8Z" | ||
android:fillColor="#fff500"/> | ||
<path | ||
android:pathData="M33.43,28.09a12.39,12.39 0,0 1,-3.59 -0.55,5.68 5.68,0 0,1 -2.25,-1.15 3.51,3.51 0,0 1,-0.45 -0.5,6.91 6.91,0 0,1 -10.64,-1.3 0.92,0.92 0,0 1,0.32 -1.29,1 1,0 0,1 1.31,0.32 5,5 0,0 0,8.58 -0.24,1 1,0 0,1 1.18,-0.44 0.93,0.93 0,0 1,0.59 1.1,1.13 1.13,0 0,0 0.41,1 4.07,4.07 0,0 0,1.51 0.73,9.38 9.38,0 0,0 4.77,0.28 5.9,5.9 0,0 0,3.72 -2.44,0.94 0.94,0 0,1 0.76,-0.43 1,1 0,0 1,0.81 0.36,6.61 6.61,0 0,0 10,0.45 1,1 0,0 1,1.35 0,0.92 0.92,0 0,1 0.06,1.32 8.55,8.55 0,0 1,-12.11 0.32,8.14 8.14,0 0,1 -4.15,2.3A9.62,9.62 0,0 1,33.43 28.09Z" | ||
android:fillColor="#d6d6d6"/> | ||
<path | ||
android:pathData="M26.88,34.05a2,2 0,0 1,-0.53 -0.08,1.71 1.71,0 0,1 -1.28,-1 1.81,1.81 0,0 1,0.47 -2,1.77 1.77,0 0,1 0.72,-0.4 1.83,1.83 0,0 1,1 -0.18,1.65 1.65,0 0,1 1.24,0.91 1.62,1.62 0,0 1,0 1.53,0.57 0.57,0 0,1 -0.08,0.13 1.76,1.76 0,0 1,-0.95 1A1.67,1.67 0,0 1,26.88 34.05Z" | ||
android:fillColor="#d6d6d6"/> | ||
<path | ||
android:pathData="M40.26,33.57a1.47,1.47 0,0 1,-0.36 0,1.54 1.54,0 0,1 -1.07,-1A1.5,1.5 0,0 1,39 31.13a1.14,1.14 0,0 1,0.24 -0.25,1.48 1.48,0 0,1 1.81,-0.33A1.57,1.57 0,0 1,41.88 32a1.62,1.62 0,0 1,-0.67 1.22A1.6,1.6 0,0 1,40.26 33.57Z" | ||
android:fillColor="#d6d6d6"/> | ||
<path | ||
android:pathData="M33.46,37.87a2,2 0,0 1,-0.52 -0.07,1.39 1.39,0 0,1 -0.1,-2.69A2.38,2.38 0,0 1,34 35H34a1.8,1.8 0,0 1,0.94 0.22,1.27 1.27,0 0,1 0.54,1.65 1.33,1.33 0,0 1,-0.28 0.37,1.5 1.5,0 0,1 -0.69,0.46 1.62,1.62 0,0 1,-0.47 0.09l-0.21,0A2.41,2.41 0,0 1,33.46 37.87Z" | ||
android:fillColor="#d6d6d6"/> | ||
<path | ||
android:pathData="M37.31,41.55a4.49,4.49 0,0 1,-1.22 -0.16,4.31 4.31,0 0,1 -2.27,-1.48 4.32,4.32 0,0 1,-1.91 1.35,4.49 4.49,0 0,1 -4.63,-1.08 0.92,0.92 0,0 1,0 -1.32,0.94 0.94,0 0,1 1.33,0A2.54,2.54 0,0 0,33 37.33a0.94,0.94 0,0 1,1.87 0.14,2.27 2.27,0 0,0 1.73,2.11 3.86,3.86 0,0 0,3.18 -0.77,0.94 0.94,0 0,1 1.12,1.5A6,6 0,0 1,37.31 41.55Z" | ||
android:fillColor="#d6d6d6"/> | ||
<path | ||
android:pathData="M66.1,22.94a9.2,9.2 0,0 0,-6.44 -4.76,8.89 8.89,0 0,0 -1.09,-7.56 9.13,9.13 0,0 0,-7.09 -4,7.24 7.24,0 0,0 -3.73,-5.29A12.67,12.67 0,0 0,40.6 0,12.49 12.49,0 0,0 34.27,2.2a13.9,13.9 0,0 0,-8.68 -0.82C20.36,2.57 18.5,5.46 17.9,6.82c-1.68,0.06 -5.76,0.71 -9.16,5.4a9.92,9.92 0,0 0,-1.72 8,10.18 10.18,0 0,0 -5.83,5.89A18.9,18.9 0,0 0,0.06 34.84,12.29 12.29,0 0,0 1.7,40.91a8.18,8.18 0,0 0,7.9 3.44A7.86,7.86 0,0 0,12 43.54a6.38,6.38 0,0 0,3.22 4.74,11.24 11.24,0 0,0 5,0.72 6.21,6.21 0,0 0,2.26 3,11.12 11.12,0 0,0 12,0.76 11.9,11.9 0,0 0,6.32 1.78A16.15,16.15 0,0 0,44 54.24c2.41,-0.47 5.18,-2.47 5.95,-4.81a9.07,9.07 0,0 0,4.86 -1.14A6.8,6.8 0,0 0,58 44.54a8.23,8.23 0,0 0,4.82 -1.65,10.87 10.87,0 0,0 3.71,-5.29 21.26,21.26 0,0 0,1 -6.13A17,17 0,0 0,66.1 22.94ZM65.64,31.4a19.77,19.77 0,0 1,-0.9 5.61,9.27 9.27,0 0,1 -3.07,4.42 6.35,6.35 0,0 1,-4.1 1.25l-0.11,0a1.22,1.22 0,0 0,-0.27 0c-0.16,0 -0.32,0 -0.48,-0.09a4.13,4.13 0,0 1,-3.15 -3.35,0.94 0.94,0 0,0 -1,-0.83 0.93,0.93 0,0 0,-0.85 1,6 6,0 0,0 4.42,4.9 6.33,6.33 0,0 1,-6.78 3.2,1 1,0 0,0 -0.73,0.19 0.92,0.92 0,0 0,-0.36 0.66c-0.14,1.78 -2.65,3.69 -4.63,4.07A10.64,10.64 0,0 1,35 50.9a0.94,0.94 0,0 0,-1 0,9.2 9.2,0 0,1 -10.39,-0.37A4,4 0,0 1,21.89 48a0.94,0.94 0,0 0,-1 -0.89,11.25 11.25,0 0,1 -5,-0.52 4.49,4.49 0,0 1,-2.13 -4.16,0.74 0.74,0 0,0 0,-0.21A7.53,7.53 0,0 0,16 38.65a0.92,0.92 0,0 0,-0.69 -1.12,1 1,0 0,0 -1.15,0.67 6,6 0,0 1,-4.83 4.33,6.19 6.19,0 0,1 -6,-2.61A10.71,10.71 0,0 1,2 34.73a17.44,17.44 0,0 1,1 -7.89,8.1 8.1,0 0,1 5.3,-5A0.92,0.92 0,0 0,9 20.93v-0.64a1,1 0,0 0,0 -0.24,8 8,0 0,1 1.37,-6.77c3.63,-5 8,-4.63 8.16,-4.61a1,1 0,0 0,1 -0.71S20.35,4.47 26,3.17a11.84,11.84 0,0 1,7.93 1A1,1 0,0 0,35.08 4a9.58,9.58 0,0 1,5.65 -2.09A10.77,10.77 0,0 1,46.8 3a5.13,5.13 0,0 1,2.81 4.57,0.9 0.9,0 0,0 0.27,0.71 1,1 0,0 0,0.74 0.27A7.17,7.17 0,0 1,57 11.6a6.8,6.8 0,0 1,0.46 7,0.91 0.91,0 0,0 0,0.94 1,1 0,0 0,0.86 0.43,7.07 7.07,0 0,1 6.1,3.84A15.38,15.38 0,0 1,65.64 31.4Z" | ||
android:fillColor="#d6d6d6"/> | ||
</group> | ||
</vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background android:drawable="@color/ic_launcher_background"/> | ||
<foreground android:drawable="@drawable/ic_launcher_foreground"/> | ||
</adaptive-icon> |
5 changes: 5 additions & 0 deletions
5
android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background android:drawable="@color/ic_launcher_background"/> | ||
<foreground android:drawable="@drawable/ic_launcher_foreground"/> | ||
</adaptive-icon> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-779 Bytes
(73%)
android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.57 KB
(75%)
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.77 KB
(75%)
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="ic_launcher_background">#FFFFFF</color> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
keystore( | ||
name = "debug", | ||
properties = "debug.keystore.properties", | ||
store = "debug.keystore", | ||
visibility = [ | ||
"PUBLIC", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.