Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
InvestCustomer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Giang Tran
InvestCustomer
Commits
6b716ac5
Commit
6b716ac5
authored
Mar 10, 2021
by
Giang Tran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update code
parent
baefc76e
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
59 additions
and
5 deletions
+59
-5
MainApplication.java
android/app/src/main/java/com/invest/MainApplication.java
+1
-0
settings.gradle
android/settings.gradle
+2
-0
project.pbxproj
ios/Invest.xcodeproj/project.pbxproj
+4
-4
GoogleService-Info.plist
ios/Invest/GoogleService-Info.plist
+37
-0
Info.plist
ios/Invest/Info.plist
+5
-0
Podfile
ios/Podfile
+1
-0
Podfile.lock
ios/Podfile.lock
+1
-1
LoginView.js
src/Screens/Login/LoginView.js
+2
-0
Header.js
src/components/Header/Header.js
+1
-0
HeaderSB.js
src/components/Header/HeaderSB.js
+1
-0
InputComponent.js
src/components/Input/InputComponent.js
+1
-0
InputIcon.js
src/components/Input/InputIcon.js
+1
-0
TextField.js
src/components/Input/TextField.js
+1
-0
TextMulti.js
src/components/Input/TextMulti.js
+1
-0
No files found.
android/app/src/main/java/com/invest/MainApplication.java
View file @
6b716ac5
...
@@ -4,6 +4,7 @@ import android.app.Application;
...
@@ -4,6 +4,7 @@ import android.app.Application;
import
android.content.Context
;
import
android.content.Context
;
import
com.facebook.react.PackageList
;
import
com.facebook.react.PackageList
;
import
com.facebook.react.ReactApplication
;
import
com.facebook.react.ReactApplication
;
import
io.invertase.firebase.RNFirebasePackage
;
import
com.oblador.vectoricons.VectorIconsPackage
;
import
com.oblador.vectoricons.VectorIconsPackage
;
import
com.facebook.react.ReactInstanceManager
;
import
com.facebook.react.ReactInstanceManager
;
import
com.facebook.react.ReactNativeHost
;
import
com.facebook.react.ReactNativeHost
;
...
...
android/settings.gradle
View file @
6b716ac5
rootProject
.
name
=
'Invest'
rootProject
.
name
=
'Invest'
include
':react-native-firebase'
project
(
':react-native-firebase'
).
projectDir
=
new
File
(
rootProject
.
projectDir
,
'../node_modules/react-native-firebase/android'
)
include
':react-native-vector-icons'
include
':react-native-vector-icons'
project
(
':react-native-vector-icons'
).
projectDir
=
new
File
(
rootProject
.
projectDir
,
'../node_modules/react-native-vector-icons/android'
)
project
(
':react-native-vector-icons'
).
projectDir
=
new
File
(
rootProject
.
projectDir
,
'../node_modules/react-native-vector-icons/android'
)
apply
from:
file
(
"../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"
);
applyNativeModulesSettingsGradle
(
settings
)
apply
from:
file
(
"../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"
);
applyNativeModulesSettingsGradle
(
settings
)
...
...
ios/Invest.xcodeproj/project.pbxproj
View file @
6b716ac5
...
@@ -864,7 +864,7 @@
...
@@ -864,7 +864,7 @@
CODE_SIGN_ENTITLEMENTS
=
Invest/Invest.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
Invest/Invest.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
9
;
CURRENT_PROJECT_VERSION
=
10
;
DEVELOPMENT_TEAM
=
MXZ24GRH48
;
DEVELOPMENT_TEAM
=
MXZ24GRH48
;
ENABLE_BITCODE
=
NO
;
ENABLE_BITCODE
=
NO
;
GCC_PREPROCESSOR_DEFINITIONS
=
(
GCC_PREPROCESSOR_DEFINITIONS
=
(
...
@@ -873,7 +873,7 @@
...
@@ -873,7 +873,7 @@
);
);
INFOPLIST_FILE
=
Invest/Info.plist
;
INFOPLIST_FILE
=
Invest/Info.plist
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
MARKETING_VERSION
=
1.
1
;
MARKETING_VERSION
=
1.
3
;
OTHER_LDFLAGS
=
(
OTHER_LDFLAGS
=
(
"$(inherited)"
,
"$(inherited)"
,
"-ObjC"
,
"-ObjC"
,
...
@@ -897,11 +897,11 @@
...
@@ -897,11 +897,11 @@
CODE_SIGN_ENTITLEMENTS
=
Invest/Invest.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
Invest/Invest.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
9
;
CURRENT_PROJECT_VERSION
=
10
;
DEVELOPMENT_TEAM
=
MXZ24GRH48
;
DEVELOPMENT_TEAM
=
MXZ24GRH48
;
INFOPLIST_FILE
=
Invest/Info.plist
;
INFOPLIST_FILE
=
Invest/Info.plist
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
MARKETING_VERSION
=
1.
1
;
MARKETING_VERSION
=
1.
3
;
OTHER_LDFLAGS
=
(
OTHER_LDFLAGS
=
(
"$(inherited)"
,
"$(inherited)"
,
"-ObjC"
,
"-ObjC"
,
...
...
ios/Invest/GoogleService-Info.plist
0 → 100644
View file @
6b716ac5
<
?xml
v
e
rsion="
1
.
0
"
e
n
c
o
d
ing="UT
F
-
8
"?
>
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
k
e
y
>
CLIENT_ID
<
/k
e
y
>
<
string
>
1070545778193-1f50lidmpnp57s1eqgir4stht3f1ggn3.apps.googleusercontent.com
<
/string
>
<
k
e
y
>
REVERSED_CLIENT_ID
<
/k
e
y
>
<
string
>
com.googleusercontent.apps.1070545778193-1f50lidmpnp57s1eqgir4stht3f1ggn3
<
/string
>
<
k
e
y
>
ANDROID_CLIENT_ID
<
/k
e
y
>
<
string
>
1070545778193-ms07g1dog8lvkismot205eji0m624lkg.apps.googleusercontent.com
<
/string
>
<
k
e
y
>
API_KEY
<
/k
e
y
>
<
string
>
AIzaSyD-yEnw8BpGPNziPvPNx9BInK-U1dDLQQM
<
/string
>
<
k
e
y
>
GCM_SENDER_ID
<
/k
e
y
>
<
string
>
1070545778193
<
/string
>
<
k
e
y
>
PLIST_VERSION
<
/k
e
y
>
<
string
>
1
<
/string
>
<
k
e
y
>
BUNDLE_ID
<
/k
e
y
>
<
string
>
dcv.investcustomer.vn
<
/string
>
<
k
e
y
>
PROJECT_ID
<
/k
e
y
>
<
string
>
investcustomer
<
/string
>
<
k
e
y
>
STORAGE_BUCKET
<
/k
e
y
>
<
string
>
investcustomer.appspot.com
<
/string
>
<
k
e
y
>
IS_ADS_ENABLED
<
/k
e
y
>
<
fa
ls
e
><
/
fa
ls
e
>
<
k
e
y
>
IS_ANALYTICS_ENABLED
<
/k
e
y
>
<
fa
ls
e
><
/
fa
ls
e
>
<
k
e
y
>
IS_APPINVITE_ENABLED
<
/k
e
y
>
<
tru
e
><
/tru
e
>
<
k
e
y
>
IS_GCM_ENABLED
<
/k
e
y
>
<
tru
e
><
/tru
e
>
<
k
e
y
>
IS_SIGNIN_ENABLED
<
/k
e
y
>
<
tru
e
><
/tru
e
>
<
k
e
y
>
GOOGLE_APP_ID
<
/k
e
y
>
<
string
>
1:1070545778193:ios:de8b945376b0af910a23b0
<
/string
>
<
/
d
i
c
t
>
<
/plist
>
\ No newline at end of file
ios/Invest/Info.plist
View file @
6b716ac5
...
@@ -63,6 +63,7 @@
...
@@ -63,6 +63,7 @@
<
k
e
y
>
UIBackgroundModes
<
/k
e
y
>
<
k
e
y
>
UIBackgroundModes
<
/k
e
y
>
<
a
rr
a
y
>
<
a
rr
a
y
>
<
string
>
fetch
<
/string
>
<
string
>
fetch
<
/string
>
<
string
>
processing
<
/string
>
<
string
>
remote-notification
<
/string
>
<
string
>
remote-notification
<
/string
>
<
/
a
rr
a
y
>
<
/
a
rr
a
y
>
<
k
e
y
>
UILaunchStoryboardName
<
/k
e
y
>
<
k
e
y
>
UILaunchStoryboardName
<
/k
e
y
>
...
@@ -75,6 +76,10 @@
...
@@ -75,6 +76,10 @@
<
a
rr
a
y
>
<
a
rr
a
y
>
<
string
>
UIInterfaceOrientationPortrait
<
/string
>
<
string
>
UIInterfaceOrientationPortrait
<
/string
>
<
/
a
rr
a
y
>
<
/
a
rr
a
y
>
<
k
e
y
>
BGTaskSchedulerPermittedIdentifiers
<
/k
e
y
>
<
a
rr
a
y
>
<
string
>
dcv.investcustomer.vn
<
/string
>
<
/
a
rr
a
y
>
<
k
e
y
>
UIViewControllerBasedStatusBarAppearance
<
/k
e
y
>
<
k
e
y
>
UIViewControllerBasedStatusBarAppearance
<
/k
e
y
>
<
fa
ls
e
/
>
<
fa
ls
e
/
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
...
...
ios/Podfile
View file @
6b716ac5
...
@@ -85,6 +85,7 @@ target 'Invest' do
...
@@ -85,6 +85,7 @@ target 'Invest' do
target
'InvestTests'
do
target
'InvestTests'
do
inherit!
:complete
inherit!
:complete
# Pods for testing
# Pods for testing
...
...
ios/Podfile.lock
View file @
6b716ac5
...
@@ -653,6 +653,6 @@ SPEC CHECKSUMS:
...
@@ -653,6 +653,6 @@ SPEC CHECKSUMS:
Yoga: 3ebccbdd559724312790e7742142d062476b698e
Yoga: 3ebccbdd559724312790e7742142d062476b698e
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
PODFILE CHECKSUM:
ce9f5d6c1d33ca001c74f3b2f6dffc5fa71bd125
PODFILE CHECKSUM:
1b7b16492d91a4bb75d7a167904640eb35cf5e3c
COCOAPODS: 1.10.1
COCOAPODS: 1.10.1
src/Screens/Login/LoginView.js
View file @
6b716ac5
...
@@ -15,6 +15,7 @@ export default function App() {
...
@@ -15,6 +15,7 @@ export default function App() {
<
TextInput
<
TextInput
style
=
{
styles
.
input
}
style
=
{
styles
.
input
}
onBlur
=
{
onBlur
}
onBlur
=
{
onBlur
}
placeholderTextColor
=
{
R
.
colors
.
placeHolder
}
onChangeText
=
{(
value
)
=>
onChange
(
value
)}
onChangeText
=
{(
value
)
=>
onChange
(
value
)}
value
=
{
value
}
value
=
{
value
}
/
>
/
>
...
@@ -30,6 +31,7 @@ export default function App() {
...
@@ -30,6 +31,7 @@ export default function App() {
render
=
{({
onChange
,
onBlur
,
value
})
=>
(
render
=
{({
onChange
,
onBlur
,
value
})
=>
(
<
TextInput
<
TextInput
style
=
{
styles
.
input
}
style
=
{
styles
.
input
}
placeholderTextColor
=
{
R
.
colors
.
placeHolder
}
onBlur
=
{
onBlur
}
onBlur
=
{
onBlur
}
onChangeText
=
{(
value
)
=>
onChange
(
value
)}
onChangeText
=
{(
value
)
=>
onChange
(
value
)}
value
=
{
value
}
value
=
{
value
}
...
...
src/components/Header/Header.js
View file @
6b716ac5
...
@@ -62,6 +62,7 @@ const HeaderHome = (props) => {
...
@@ -62,6 +62,7 @@ const HeaderHome = (props) => {
{
openSearch
?
(
{
openSearch
?
(
<
TextInput
<
TextInput
placeholderTextColor
=
{
R
.
colors
.
placeHolder
}
style
=
{
styles
.
txtInput
}
style
=
{
styles
.
txtInput
}
onChangeText
=
{(
val
)
=>
setTxtSearch
(
val
)}
onChangeText
=
{(
val
)
=>
setTxtSearch
(
val
)}
value
=
{
txtSearch
}
value
=
{
txtSearch
}
...
...
src/components/Header/HeaderSB.js
View file @
6b716ac5
...
@@ -45,6 +45,7 @@ const HeaderSearch = (props) => {
...
@@ -45,6 +45,7 @@ const HeaderSearch = (props) => {
{
openSearch
?
(
{
openSearch
?
(
<
TextInput
<
TextInput
placeholderTextColor
=
{
R
.
colors
.
placeHolder
}
style
=
{
styles
.
txtInput
}
style
=
{
styles
.
txtInput
}
onChangeText
=
{(
val
)
=>
setTxtSearch
(
val
)}
onChangeText
=
{(
val
)
=>
setTxtSearch
(
val
)}
value
=
{
txtSearch
}
value
=
{
txtSearch
}
...
...
src/components/Input/InputComponent.js
View file @
6b716ac5
...
@@ -17,6 +17,7 @@ const InputComponent = (props) => {
...
@@ -17,6 +17,7 @@ const InputComponent = (props) => {
{
title
?
title
:
''
}
{
title
?
title
:
''
}
<
/Text
>
<
/Text
>
<
TextInput
<
TextInput
placeholderTextColor
=
{
R
.
colors
.
placeHolder
}
maxLength
=
{
maxLength
}
maxLength
=
{
maxLength
}
onChangeText
=
{(
val
)
=>
onChangeText
(
val
)}
onChangeText
=
{(
val
)
=>
onChangeText
(
val
)}
style
=
{{
style
=
{{
...
...
src/components/Input/InputIcon.js
View file @
6b716ac5
...
@@ -15,6 +15,7 @@ const InputIcon = (props) => {
...
@@ -15,6 +15,7 @@ const InputIcon = (props) => {
maxLength
=
{
maxLength
}
maxLength
=
{
maxLength
}
onChangeText
=
{(
val
)
=>
onChangeText
(
val
)}
onChangeText
=
{(
val
)
=>
onChangeText
(
val
)}
style
=
{
txtInput
}
style
=
{
txtInput
}
placeholderTextColor
=
{
R
.
colors
.
placeHolder
}
placeholder
=
{
placeholder
}
placeholder
=
{
placeholder
}
secureTextEntry
=
{
isPassWord
}
secureTextEntry
=
{
isPassWord
}
/
>
/
>
...
...
src/components/Input/TextField.js
View file @
6b716ac5
...
@@ -18,6 +18,7 @@ const TextField = (props) => {
...
@@ -18,6 +18,7 @@ const TextField = (props) => {
<
/Text
>
<
/Text
>
<
TextInput
<
TextInput
maxLength
=
{
maxLength
}
maxLength
=
{
maxLength
}
placeholderTextColor
=
{
R
.
colors
.
placeHolder
}
onChangeText
=
{(
val
)
=>
onChangeText
(
val
)}
onChangeText
=
{(
val
)
=>
onChangeText
(
val
)}
style
=
{{
style
=
{{
height
:
HEIGHTXD
(
109
),
height
:
HEIGHTXD
(
109
),
...
...
src/components/Input/TextMulti.js
View file @
6b716ac5
...
@@ -21,6 +21,7 @@ const TextField = (props) => {
...
@@ -21,6 +21,7 @@ const TextField = (props) => {
onChangeText
=
{(
val
)
=>
onChangeText
(
val
)}
onChangeText
=
{(
val
)
=>
onChangeText
(
val
)}
multiline
=
{
true
}
multiline
=
{
true
}
numberOfLines
=
{
3
}
numberOfLines
=
{
3
}
placeholderTextColor
=
{
R
.
colors
.
placeHolder
}
style
=
{{
style
=
{{
color
:
'black'
,
color
:
'black'
,
maxHeight
:
HEIGHTXD
(
259
),
maxHeight
:
HEIGHTXD
(
259
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment