Skip to content

Commit

Permalink
Merge pull request #11 from JWWon/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
JiwoonWon authored Mar 4, 2019
2 parents d676284 + ddff136 commit 864da76
Show file tree
Hide file tree
Showing 219 changed files with 8,854 additions and 3,264 deletions.
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

[version]
^0.78.0
^0.86.0
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,9 @@ buck-out/

# Bundle artifact
*.jsbundle

# Base Url
base-url.json

# Cocoapod
Pods/
29 changes: 25 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,35 @@

- React Native + Typescript

### 준비사항

> iOS는 MacOS와 Xcode가 설치되어 있는 환경에서만 실행 가능
1. `npm` 혹은 `yarn` 설치
2. `cocoapod` 설치

### 실행하기

1. `~$ git clone https://github.com/JWWon/wdd-client.git`
2. `~$ cd wdd-client`
3. `~/wdd-client$ npm install`
4. `~/wdd-client$ react-native link`
5. `~/wdd-client$ react-native run-android` or `react-native run-ios`
4. `~/wdd-client$ cd ios && pod install && cd ..`
5. `~/wdd-client& npm run dev`
6. 서비스 실행

- Android
1. 에뮬레이터 혹은 안드로이드 디바이스 연결
2. `~/wdd-client$ react-native run-android`
- iOS
- 시뮬레이터
1. `~/wdd-client$ react-native run-ios`
- 아이폰 디바이스
1. 디바이스 연결
2. `~/wdd-client$ open ios/WddClient.xcworkspace`
3. Xcode에서 디바이스 선택 및 실행

> run-android는 에뮬레이터 / 실제 디바이스가 연결된 이후에 실행
### 사용 방법

> run-ios는 macOS에서 XCode 설치 후 실행 가능
- 디버깅 모드
- iOS : `CMD` + `D` 혹은 `핸드폰 흔들기` -> Debug JS Remotely
- Android : `CMD` + `M` 혹은 `핸드폰 흔들기` -> Debug JS Remotely
55 changes: 55 additions & 0 deletions android/app/_BUCK
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",
],
)
26 changes: 22 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -101,18 +101,26 @@ android {
applicationId "com.woodongdang.client.android"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 2
versionName "0.0.2"
versionCode 10
versionName "0.1.5"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
signingConfigs {
release {
storeFile file(MYAPP_RELEASE_STORE_FILE)
storePassword MYAPP_RELEASE_STORE_PASSWORD
keyAlias MYAPP_RELEASE_KEY_ALIAS
keyPassword MYAPP_RELEASE_KEY_PASSWORD
}
}
splits {
abi {
reset()
enable enableSeparateBuildPerCPUArchitecture
universalApk false // If true, also generate a universal APK
include "armeabi-v7a", "x86"
include "armeabi-v7a", "x86", "arm64-v8a"
}
}
buildTypes {
Expand All @@ -126,7 +134,7 @@ android {
variant.outputs.each { output ->
// For each separate APK per architecture, set a unique version code as described here:
// http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
def versionCodes = ["armeabi-v7a":1, "x86":2]
def versionCodes = ["armeabi-v7a":1, "x86":2, "arm64-v8a": 3]
def abi = output.getFilter(OutputFile.ABI)
if (abi != null) { // null for the universal-debug, universal-release variants
output.versionCodeOverride =
Expand All @@ -137,11 +145,21 @@ android {
}

dependencies {
implementation project(':react-native-linear-gradient')
implementation project(':react-native-background-timer')
implementation project(':@JWWon_react-native-universal-pedometer')
implementation project(':react-native-maps')
implementation 'com.google.android.gms:play-services-base:16.1.0'
implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.google.android.gms:play-services-maps:16.1.0'
implementation project(':react-native-geolocation-service')
implementation project(':react-native-image-picker')
implementation project(':amazon-cognito-identity-js')
implementation project(':react-native-gesture-handler')
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
implementation "com.android.support:support-media-compat:${rootProject.ext.supportLibVersion}"
implementation "com.android.support:support-v4:${rootProject.ext.supportLibVersion}"
implementation "com.facebook.react:react-native:+" // From node_modules
}

Expand Down
19 changes: 19 additions & 0 deletions android/app/build_defs.bzl
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,
)
10 changes: 8 additions & 2 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,27 @@

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WAKE_LOCK" />

<application
android:name=".MainApplication"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:allowBackup="false"
android:theme="@style/AppTheme">
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="AIzaSyBugUSlx5wJxfVlbvz_9gKnrUYTNC2ZFkM"/>
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:launchMode="singleTask"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="adjustNothing">
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added android/app/src/main/ic_launcher-web.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@

import android.app.Application;

import com.airbnb.android.react.maps.MapsPackage;
import com.facebook.react.ReactApplication;
import com.BV.LinearGradient.LinearGradientPackage;
import com.ocetnik.timer.BackgroundTimerPackage;
import com.emesonsantana.BMDPedometer.BMDPedometer;
import com.agontuk.RNFusedLocation.RNFusedLocationPackage;
import com.imagepicker.ImagePickerPackage;
import com.amazonaws.RNAWSCognitoPackage;
import com.swmansion.gesturehandler.react.RNGestureHandlerPackage;
Expand All @@ -26,6 +31,11 @@ public boolean getUseDeveloperSupport() {
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new LinearGradientPackage(),
new BackgroundTimerPackage(),
new BMDPedometer(),
new MapsPackage(),
new RNFusedLocationPackage(),
new ImagePickerPackage(),
new RNAWSCognitoPackage(),
new RNGestureHandlerPackage()
Expand Down
36 changes: 36 additions & 0 deletions android/app/src/main/res/drawable/ic_launcher_foreground.xml
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>
5 changes: 5 additions & 0 deletions android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
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>
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>
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher.png
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 android/app/src/main/res/mipmap-hdpi/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.
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher.png
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 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.
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
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 android/app/src/main/res/mipmap-xhdpi/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.
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
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 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.
Binary file modified android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
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 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.
4 changes: 4 additions & 0 deletions android/app/src/main/res/values/ic_launcher_background.xml
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>
15 changes: 9 additions & 6 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,24 @@

buildscript {
ext {
buildToolsVersion = "27.0.3"
buildToolsVersion = "28.0.2"
minSdkVersion = 16
compileSdkVersion = 27
targetSdkVersion = 26
supportLibVersion = "27.1.1"
compileSdkVersion = 28
targetSdkVersion = 27
supportLibVersion = "28.0.0"
googlePlayServicesVersion = "15.0.1"
androidMapsUtilsVersion = "0.5+"
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
classpath 'com.android.tools.build:gradle:3.3.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.google.gms:google-services:4.2.0'
}
}

Expand All @@ -34,6 +37,6 @@ allprojects {


task wrapper(type: Wrapper) {
gradleVersion = '4.4'
gradleVersion = '4.7'
distributionUrl = distributionUrl.replace("bin", "all")
}
5 changes: 5 additions & 0 deletions android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

MYAPP_RELEASE_STORE_FILE=woodongdang.keystore
MYAPP_RELEASE_KEY_ALIAS=woodongdang
MYAPP_RELEASE_STORE_PASSWORD=dnjswldns96
MYAPP_RELEASE_KEY_PASSWORD=dnjswldns96
8 changes: 8 additions & 0 deletions android/keystores/_BUCK
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",
],
)
10 changes: 10 additions & 0 deletions android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
rootProject.name = 'WddClient'
include ':react-native-linear-gradient'
project(':react-native-linear-gradient').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-linear-gradient/android')
include ':react-native-background-timer'
project(':react-native-background-timer').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-background-timer/android')
include ':@JWWon_react-native-universal-pedometer'
project(':@JWWon_react-native-universal-pedometer').projectDir = new File(rootProject.projectDir, '../node_modules/@JWWon/react-native-universal-pedometer/android')
include ':react-native-maps'
project(':react-native-maps').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-maps/lib/android')
include ':react-native-geolocation-service'
project(':react-native-geolocation-service').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-geolocation-service/android')
include ':react-native-image-picker'
project(':react-native-image-picker').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-image-picker/android')
include ':amazon-cognito-identity-js'
Expand Down
Loading

0 comments on commit 864da76

Please sign in to comment.