From 03af4471b6895c8457ba352331636d00da877e2b Mon Sep 17 00:00:00 2001
From: Sungho Park <43461389+psh320@users.noreply.github.com>
Date: Sat, 18 Jun 2022 10:05:54 +0900
Subject: [PATCH 1/2] Init: Add image picker library
---
android/app/src/main/AndroidManifest.xml | 2 ++
ios/BOB_FrontEnd/Info.plist | 6 ++++++
ios/Podfile.lock | 6 ++++++
package-lock.json | 15 +++++++++++++++
package.json | 1 +
yarn.lock | 5 +++++
6 files changed, 35 insertions(+)
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 3d1393c..2131a90 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -2,6 +2,8 @@
package="com.bob_frontend">
+
+
+ NSPhotoLibraryUsageDescription
+ $(PRODUCT_NAME) would like access to your photo gallery
+ NSCameraUsageDescription
+ $(PRODUCT_NAME) would like to use your camera
+ NSPhotoLibraryAddUsageDescription
+ $(PRODUCT_NAME) would like to save photos to your photo gallery
CFBundleDevelopmentRegion
en
CFBundleDisplayName
diff --git a/ios/Podfile.lock b/ios/Podfile.lock
index b990c4d..5743925 100644
--- a/ios/Podfile.lock
+++ b/ios/Podfile.lock
@@ -287,6 +287,8 @@ PODS:
- react-native-config/App (= 1.4.5)
- react-native-config/App (1.4.5):
- React-Core
+ - react-native-image-picker (4.8.4):
+ - React-Core
- react-native-nmap (0.0.66):
- NMapsMap
- React
@@ -456,6 +458,7 @@ DEPENDENCIES:
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
- React-logger (from `../node_modules/react-native/ReactCommon/logger`)
- react-native-config (from `../node_modules/react-native-config`)
+ - react-native-image-picker (from `../node_modules/react-native-image-picker`)
- react-native-nmap (from `../node_modules/react-native-nmap`)
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
- react-native-webview (from `../node_modules/react-native-webview`)
@@ -540,6 +543,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/logger"
react-native-config:
:path: "../node_modules/react-native-config"
+ react-native-image-picker:
+ :path: "../node_modules/react-native-image-picker"
react-native-nmap:
:path: "../node_modules/react-native-nmap"
react-native-safe-area-context:
@@ -625,6 +630,7 @@ SPEC CHECKSUMS:
React-jsinspector: c5989c77cb89ae6a69561095a61cce56a44ae8e8
React-logger: a0833912d93b36b791b7a521672d8ee89107aff1
react-native-config: 6502b1879f97ed5ac570a029961fc35ea606cd14
+ react-native-image-picker: cffb727cf2f59bd5c0408e30b3dbe0b935f88835
react-native-nmap: cfcc5402746040494c544ea90a6062f49505acdf
react-native-safe-area-context: ebf8c413eb8b5f7c392a036a315eb7b46b96845f
react-native-webview: 6e600df419b3fb92ee209d0bb7a71c1934e41938
diff --git a/package-lock.json b/package-lock.json
index 9ae5ee3..a2ec5fc 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -27,6 +27,7 @@
"react-native-circular-progress": "^1.3.7",
"react-native-config": "^1.4.5",
"react-native-gesture-handler": "^2.4.2",
+ "react-native-image-picker": "^4.8.4",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-modal-datetime-picker": "^13.1.2",
"react-native-nmap": "^0.0.66",
@@ -12793,6 +12794,15 @@
"resolved": "https://registry.npmjs.org/react-native-gradle-plugin/-/react-native-gradle-plugin-0.0.6.tgz",
"integrity": "sha512-eIlgtsmDp1jLC24dRn43hB3kEcZVqx6DUQbR0N1ABXGnMEafm9I3V3dUUeD1vh+Dy5WqijSoEwLNUPLgu5zDMg=="
},
+ "node_modules/react-native-image-picker": {
+ "version": "4.8.4",
+ "resolved": "https://registry.npmjs.org/react-native-image-picker/-/react-native-image-picker-4.8.4.tgz",
+ "integrity": "sha512-Mjh2j/sddyolb16EpmprWzbtyeFvW8Xgzr/8WNi9d6bR2FC/kL78cY/a+7Yzujg5ZDtT1MWys+eWw/qtfwgGiw==",
+ "peerDependencies": {
+ "react": "*",
+ "react-native": "*"
+ }
+ },
"node_modules/react-native-iphone-x-helper": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/react-native-iphone-x-helper/-/react-native-iphone-x-helper-1.3.1.tgz",
@@ -25205,6 +25215,11 @@
"resolved": "https://registry.npmjs.org/react-native-gradle-plugin/-/react-native-gradle-plugin-0.0.6.tgz",
"integrity": "sha512-eIlgtsmDp1jLC24dRn43hB3kEcZVqx6DUQbR0N1ABXGnMEafm9I3V3dUUeD1vh+Dy5WqijSoEwLNUPLgu5zDMg=="
},
+ "react-native-image-picker": {
+ "version": "4.8.4",
+ "resolved": "https://registry.npmjs.org/react-native-image-picker/-/react-native-image-picker-4.8.4.tgz",
+ "integrity": "sha512-Mjh2j/sddyolb16EpmprWzbtyeFvW8Xgzr/8WNi9d6bR2FC/kL78cY/a+7Yzujg5ZDtT1MWys+eWw/qtfwgGiw=="
+ },
"react-native-iphone-x-helper": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/react-native-iphone-x-helper/-/react-native-iphone-x-helper-1.3.1.tgz",
diff --git a/package.json b/package.json
index 8c3eff3..488d516 100644
--- a/package.json
+++ b/package.json
@@ -29,6 +29,7 @@
"react-native-circular-progress": "^1.3.7",
"react-native-config": "^1.4.5",
"react-native-gesture-handler": "^2.4.2",
+ "react-native-image-picker": "^4.8.4",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-modal-datetime-picker": "^13.1.2",
"react-native-nmap": "^0.0.66",
diff --git a/yarn.lock b/yarn.lock
index e7e227c..2711625 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -6196,6 +6196,11 @@
"resolved" "https://registry.npmjs.org/react-native-gradle-plugin/-/react-native-gradle-plugin-0.0.6.tgz"
"version" "0.0.6"
+"react-native-image-picker@^4.8.4":
+ "integrity" "sha512-Mjh2j/sddyolb16EpmprWzbtyeFvW8Xgzr/8WNi9d6bR2FC/kL78cY/a+7Yzujg5ZDtT1MWys+eWw/qtfwgGiw=="
+ "resolved" "https://registry.npmjs.org/react-native-image-picker/-/react-native-image-picker-4.8.4.tgz"
+ "version" "4.8.4"
+
"react-native-iphone-x-helper@^1.0.3", "react-native-iphone-x-helper@^1.3.1":
"integrity" "sha512-HOf0jzRnq2/aFUcdCJ9w9JGzN3gdEg0zFE4FyYlp4jtidqU03D5X7ZegGKfT1EWteR0gPBGp9ye5T5FvSWi9Yg=="
"resolved" "https://registry.npmjs.org/react-native-iphone-x-helper/-/react-native-iphone-x-helper-1.3.1.tgz"
From 3d7ac4433b877913bef32a369a633f130ba48192 Mon Sep 17 00:00:00 2001
From: Sungho Park <43461389+psh320@users.noreply.github.com>
Date: Sun, 19 Jun 2022 21:17:55 +0900
Subject: [PATCH 2/2] init: add rating style library
---
package-lock.json | 16 ++++++++++++++++
package.json | 1 +
yarn.lock | 5 +++++
3 files changed, 22 insertions(+)
diff --git a/package-lock.json b/package-lock.json
index a2ec5fc..c609fe5 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -36,6 +36,7 @@
"react-native-reanimated": "^2.8.0",
"react-native-safe-area-context": "^4.2.5",
"react-native-screens": "^3.13.1",
+ "react-native-star-rating-widget": "^1.2.0",
"react-native-svg": "^12.3.0",
"react-native-swiper": "^1.6.0",
"react-native-vector-icons": "^9.1.0",
@@ -12928,6 +12929,16 @@
"react-native": "*"
}
},
+ "node_modules/react-native-star-rating-widget": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/react-native-star-rating-widget/-/react-native-star-rating-widget-1.2.0.tgz",
+ "integrity": "sha512-SfaUFaElJtTmNMn/kqYl2h/QTiDGikvE0K4XzrfNjndTMUdM/30+jt+HpaZpUufAKsCGRo9rP/Q+x1m6guYIBg==",
+ "peerDependencies": {
+ "react": "*",
+ "react-native": "*",
+ "react-native-svg": "*"
+ }
+ },
"node_modules/react-native-svg": {
"version": "12.3.0",
"resolved": "https://registry.npmjs.org/react-native-svg/-/react-native-svg-12.3.0.tgz",
@@ -25303,6 +25314,11 @@
"warn-once": "^0.1.0"
}
},
+ "react-native-star-rating-widget": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/react-native-star-rating-widget/-/react-native-star-rating-widget-1.2.0.tgz",
+ "integrity": "sha512-SfaUFaElJtTmNMn/kqYl2h/QTiDGikvE0K4XzrfNjndTMUdM/30+jt+HpaZpUufAKsCGRo9rP/Q+x1m6guYIBg=="
+ },
"react-native-svg": {
"version": "12.3.0",
"resolved": "https://registry.npmjs.org/react-native-svg/-/react-native-svg-12.3.0.tgz",
diff --git a/package.json b/package.json
index 488d516..1015e0c 100644
--- a/package.json
+++ b/package.json
@@ -38,6 +38,7 @@
"react-native-reanimated": "^2.8.0",
"react-native-safe-area-context": "^4.2.5",
"react-native-screens": "^3.13.1",
+ "react-native-star-rating-widget": "^1.2.0",
"react-native-svg": "^12.3.0",
"react-native-swiper": "^1.6.0",
"react-native-vector-icons": "^9.1.0",
diff --git a/yarn.lock b/yarn.lock
index 2711625..abf6b01 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -6277,6 +6277,11 @@
"react-freeze" "^1.0.0"
"warn-once" "^0.1.0"
+"react-native-star-rating-widget@^1.2.0":
+ "integrity" "sha512-SfaUFaElJtTmNMn/kqYl2h/QTiDGikvE0K4XzrfNjndTMUdM/30+jt+HpaZpUufAKsCGRo9rP/Q+x1m6guYIBg=="
+ "resolved" "https://registry.npmjs.org/react-native-star-rating-widget/-/react-native-star-rating-widget-1.2.0.tgz"
+ "version" "1.2.0"
+
"react-native-svg@^12.3.0":
"integrity" "sha512-ESG1g1j7/WLD7X3XRFTQHVv0r6DpbHNNcdusngAODIxG88wpTWUZkhcM3A2HJTb+BbXTFDamHv7FwtRKWQ/ALg=="
"resolved" "https://registry.npmjs.org/react-native-svg/-/react-native-svg-12.3.0.tgz"