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
7fad8041
Commit
7fad8041
authored
Jun 11, 2021
by
Giang Tran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug go back
parent
3d7507a0
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
155 additions
and
11 deletions
+155
-11
project.pbxproj
ios/Invest.xcodeproj/project.pbxproj
+4
-4
package.json
package.json
+1
-0
Functions.js
src/Config/Functions.js
+18
-0
constants.js
src/Config/constants.js
+78
-1
private.key
src/Config/private.key
+28
-0
public.key
src/Config/public.key
+10
-0
RootView.js
src/RootView.js
+6
-2
ChangeSmartOTP.js
src/Screens/SmartOTP/ChangeSmartOTP/ChangeSmartOTP.js
+4
-0
ConfirmChangeSmartOTP.js
src/Screens/SmartOTP/ChangeSmartOTP/ConfirmChangeSmartOTP.js
+1
-4
yarn.lock
yarn.lock
+5
-0
No files found.
ios/Invest.xcodeproj/project.pbxproj
View file @
7fad8041
...
...
@@ -18,7 +18,7 @@
2DCD954D1E0B4F2C00145EB5
/* InvestTests.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
00E356F21AD99517003FC87E
/* InvestTests.m */
;
};
2FCC6749524E697FC9323F22
/* libPods-Invest-InvestTests.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
ABCEBFE5646F1EF68E7C87AB
/* libPods-Invest-InvestTests.a */
;
};
48E6A9A75AE9C55476F21D2D
/* libPods-Invest-tvOSTests.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
4ECD31835B4784D2DC719E76
/* libPods-Invest-tvOSTests.a */
;
};
52B7A0A425F722CF00CEDA09
/*
BuildFile
in Resources */
=
{
isa
=
PBXBuildFile
;
};
52B7A0A425F722CF00CEDA09
/*
(null)
in Resources */
=
{
isa
=
PBXBuildFile
;
};
52F3AE2D26257DEC00F77114
/* GoogleService-Info.plist in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
52F3AE2C26257DEB00F77114
/* GoogleService-Info.plist */
;
};
52FB2B09262400D400DD7983
/* BootSplash.storyboard in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
52FB2B08262400D400DD7983
/* BootSplash.storyboard */
;
};
52FB2B0A262400D400DD7983
/* BootSplash.storyboard in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
52FB2B08262400D400DD7983
/* BootSplash.storyboard */
;
};
...
...
@@ -406,7 +406,7 @@
13B07FBF1A68108700A75B9A
/* Images.xcassets in Resources */
,
13B07FBD1A68108700A75B9A
/* LaunchScreen.xib in Resources */
,
52F3AE2D26257DEC00F77114
/* GoogleService-Info.plist in Resources */
,
52B7A0A425F722CF00CEDA09
/*
BuildFile
in Resources */
,
52B7A0A425F722CF00CEDA09
/*
(null)
in Resources */
,
52FB2B09262400D400DD7983
/* BootSplash.storyboard in Resources */
,
);
runOnlyForDeploymentPostprocessing
=
0
;
...
...
@@ -912,7 +912,7 @@
);
INFOPLIST_FILE
=
Invest/Info.plist
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
MARKETING_VERSION
=
2.
1
;
MARKETING_VERSION
=
2.
0
;
OTHER_LDFLAGS
=
(
"$(inherited)"
,
"-ObjC"
,
...
...
@@ -941,7 +941,7 @@
DEVELOPMENT_TEAM
=
MXZ24GRH48
;
INFOPLIST_FILE
=
Invest/Info.plist
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
MARKETING_VERSION
=
2.
1
;
MARKETING_VERSION
=
2.
0
;
OTHER_LDFLAGS
=
(
"$(inherited)"
,
"-ObjC"
,
...
...
package.json
View file @
7fad8041
...
...
@@ -24,6 +24,7 @@
"
async
"
:
"^3.2.0"
,
"
axios
"
:
"^0.21.1"
,
"
dateformat
"
:
"^4.5.1"
,
"
jsencrypt
"
:
"^3.2.0"
,
"
lodash
"
:
"^4.17.20"
,
"
moment
"
:
"^2.29.1"
,
"
react
"
:
"16.11.0"
,
...
...
src/Config/Functions.js
View file @
7fad8041
...
...
@@ -15,6 +15,24 @@ import AsyncStorage from '@react-native-community/async-storage';
import
{
DETAILNEW
,
TABNAVIGATOR
,
AUTHEN
}
from
'../routers/ScreenNames'
;
import
R
from
'../assets/R'
;
import
{
isTablet
}
from
'react-native-device-info'
;
import
{
RSA_KEY
,
MY_RSA_KEY
}
from
'./constants'
;
import
JSEncrypt
from
'jsencrypt'
;
export
const
encryptRSAString
=
(
val
)
=>
{
var
encrypt
=
new
JSEncrypt
();
encrypt
.
setPublicKey
(
MY_RSA_KEY
.
publicKey
);
var
encrypted
=
encrypt
.
encrypt
(
val
);
console
.
log
(
'Ma hoa'
,
encrypted
);
return
encrypted
;
};
export
const
decryptRSAString
=
(
val
)
=>
{
var
decrypt
=
new
JSEncrypt
();
decrypt
.
setPrivateKey
(
RSA_KEY
.
privateKey
);
var
uncrypted
=
decrypt
.
decrypt
(
val
);
console
.
log
(
'giai hoa'
,
uncrypted
);
return
uncrypted
;
};
export
const
logout
=
(
navigation
)
=>
{
AsyncStorage
.
clear
();
...
...
src/Config/constants.js
View file @
7fad8041
...
...
@@ -10,4 +10,81 @@ export const RadioBuySaleEN = [
export
const
OTP_TYPE
=
{
CUSTOMER_REQUEST_DEPOSIT
:
'CUSTOMER_REQUEST_DEPOSIT'
,
REQUEST_WITHDRAW
:
'REQUEST_WITHDRAW'
,
}
};
export
const
RSA_KEY
=
{
privateKey
:
`-----BEGIN RSA PRIVATE KEY-----
MIIEpQI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q2MuEq
kWw0KjzD2u5p227gM+eVj0/8n7ZEsY70qlxY5HNl4q0IO9FRxDAW1vGNIvdDTnCs
HuSbBB5kDy/nL0ucVW+wJFPj2OlbN0v0HrbLYhqZBkEsKQEXq6331W5tJVg7RJxc
p6TR2khuON4CRrmgL1dpK14hAoGBAJvb4EQKQEo0R+DgYPoB7bbjGL46FIyzkQS9
j7LFoSt3Qk5On6yU0YexzrayHUs3C+zx1nhnPSXCRdyyIkg1ivyxnIx7vcPNFn10
6dIhENRJZCw+5WPqFkIGHbJQThoADP/T4avs5LjYtmLWrY/e9ZKwJyC714gLNZZi
qnfOsSUJAoGAX9CAHHCz/X3GJ+HGYm5mu3ks2hCw9umJZkabpKxnWWhpgPrqysHF
wkSh32IW6zQqgN/H7Q2sndqb5NM88rHowxPyIL1sSnmpXPNmjUhjxP74stu0EcSM
KYdYznyvql2HvuWSfOHzOdbA2umFaL09lNSDBdGiaK4ji8oleyhlWPU=
-----END RSA PRIVATE KEY-----`
,
publicKey
:
`-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAriPaOfp9zSDIsde2OJPU
3GKlV2EXqhEGxnmO6NHnz3SCJiTAcTMIbckGKYsmsPoZyAmdP4irA+zMUA16vixX
c1+R4whR1qVcXRQ2ZL/QOAtlgBUu9rF3/+dexv3PW/2Di1uBdGn7khj3Mrs1PKWY
9FEtb+NdgTF61RKWnhE6ktoKgukI1XN5Xvt+5QqwOpPnDcByWyrw7J5N8Jc9bsP+
GC7SzURE00nuw1uazrBvVpgcgyiAyHj3SFJIF89MZYuulJxi9GYjv6ov3kcW5o14
kNPExNEgPtlTVyoe1qub/xknSm12GOTd5V8yvjgJ8ipjHxC7CvEEhG7AT5sJ/3pO
ywIDAQAB
-----END PUBLIC KEY-----`
,
};
export
const
MY_RSA_KEY
=
{
privateKey
:
`-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQBof1CpRwpsn3Nk6a831N2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qZ2sbwBdzf
0x154grClW9i1JyA303OvuDzf9ZNRV1MqirwCVBfacp1Uc08d02LkI/ycRZI//Eb
z5YkxIdDy0NApPLXvN9IkpPt9sXC7+banA/Ras4pU5o/HH5L2xgh4lhl1fJiC9eI
LcEKr8f/xg0j4uZ75+B3AoGAbzGoK7wSCPP7FgDZfZZmtL99LzqIbyqcy7JZWjRP
F/49XNE0AV/C+sudt4YcqG9imToFVMZG8BVduf4Ql5pNQhSHHzqqgbjafAAgeJjK
YNPJkqnv3prCb75w1FtLbC+wXShdtarMBMehiZRGFxZnkfS6xYH4qDDXe+k3HVZI
HyECgYEAlRxGofeb/68W1XEK1rDtFtMHaQCTaKLb+vcLy/1FaHUtnFao4N393Ho8
KCJPQ/nJpO/Jz0ukvH5PKif0E3b6yaFrt94eqI7ezfxnjzJpEbh2Q8DeIRvpNWgC
lKn8Fz6kDKkofF7T5y98BqgnRSihewuhvgNM4yS6e9cU1cXesjs=
-----END RSA PRIVATE KEY-----`
,
publicKey
:
`-----BEGIN PUBLIC KEY-----
MIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQBof1CpRwpsn3Nk6a831N2w
c9S7Vx0hKUeiXX8yOYjBptFIEuJlssff7B6rRLKj/7oYKAzpXtNrNC4qqkReRLOj
FQ4/gvln2h6eFRleZS0jAyYh8ukN+yMIyT8c0YJb4jjzAjwQ7T62t8SyIVHKiMRQ
0bZJAeXGvrx1t8Jwj0H+M5tu/gdt5yvj+lMqRxxyl56WCFER3sKo/eB5dj+in31c
KSdU2VW+xjXQM1jcL3k7KTfnhpq2rIkbeYUs3qAoZ4Xn+6w1ZSf8Y2GONpnrOnQt
1uF/A5ZNV3IHgwa/Y4jxF+KHcvlvAyyOiDTVZAqn2/+JC+3z219OZCNet+VTmozz
AgMBAAE=
-----END PUBLIC KEY-----`
,
};
src/Config/private.key
0 → 100644
View file @
7fad8041
-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQBof1CpRwpsn3Nk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QMWjKqZ2sbwBdzf
0x154grClW9i1JyA303OvuDzf9ZNRV1MqirwCVBfacp1Uc08d02LkI/ycRZI//Eb
z5YkxIdDy0NApPLXvN9IkpPt9sXC7+banA/Ras4pU5o/HH5L2xgh4lhl1fJiC9eI
LcEKr8f/xg0j4uZ75+B3AoGAbzGoK7wSCPP7FgDZfZZmtL99LzqIbyqcy7JZWjRP
F/49XNE0AV/C+sudt4YcqG9imToFVMZG8BVduf4Ql5pNQhSHHzqqgbjafAAgeJjK
YNPJkqnv3prCb75w1FtLbC+wXShdtarMBMehiZRGFxZnkfS6xYH4qDDXe+k3HVZI
HyECgYEAlRxGofeb/68W1XEK1rDtFtMHaQCTaKLb+vcLy/1FaHUtnFao4N393Ho8
KCJPQ/nJpO/Jz0ukvH5PKif0E3b6yaFrt94eqI7ezfxnjzJpEbh2Q8DeIRvpNWgC
lKn8Fz6kDKkofF7T5y98BqgnRSihewuhvgNM4yS6e9cU1cXesjs=
-----END RSA PRIVATE KEY-----
\ No newline at end of file
src/Config/public.key
0 → 100644
View file @
7fad8041
-----BEGIN PUBLIC KEY-----
MIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQBof1CpRwpsn3Nk6a831N2w
c9S7Vx0hKUeiXX8yOYjBptFIEuJlssff7B6rRLKj/7oYKAzpXtNrNC4qqkReRLOj
FQ4/gvln2h6eFRleZS0jAyYh8ukN+yMIyT8c0YJb4jjzAjwQ7T62t8SyIVHKiMRQ
0bZJAeXGvrx1t8Jwj0H+M5tu/gdt5yvj+lMqRxxyl56WCFER3sKo/eB5dj+in31c
KSdU2VW+xjXQM1jcL3k7KTfnhpq2rIkbeYUs3qAoZ4Xn+6w1ZSf8Y2GONpnrOnQt
1uF/A5ZNV3IHgwa/Y4jxF+KHcvlvAyyOiDTVZAqn2/+JC+3z219OZCNet+VTmozz
AgMBAAE=
-----END PUBLIC KEY-----
\ No newline at end of file
src/RootView.js
View file @
7fad8041
import
React
,
{
useEffect
,
useRef
}
from
'react'
;
import
{
View
}
from
'react-native'
;
import
{
Alert
,
View
}
from
'react-native'
;
import
{
connect
}
from
'react-redux'
;
import
StackNavigation
from
'./routers/StackNavigation'
;
...
...
@@ -10,12 +10,14 @@ import NoInternetComponent from './components/NoInternet';
import
DropdownAlert
from
'react-native-dropdownalert'
;
import
DeviceInfo
from
'react-native-device-info'
;
import
R
from
'./assets/R'
;
import
{
WIDTHXD
,
HEIGHTXD
}
from
'./Config/Functions'
;
import
{
WIDTHXD
,
HEIGHTXD
,
decryptRSAString
}
from
'./Config/Functions'
;
import
DropdownManager
from
'./components/DropdownAlert/DropdownManager'
;
import
AsyncStorage
from
'@react-native-community/async-storage'
;
import
KEY
from
'./assets/AsynStorage'
;
import
I18n
,
{
setLocation
}
from
'./helper/i18/i18n'
;
import
{
changeLanguage
}
from
'./actions/language'
;
import
{
RSA_KEY
,
MY_RSA_KEY
}
from
'./Config/constants'
;
import
JSEncrypt
from
'jsencrypt'
;
enableScreens
();
...
...
@@ -25,6 +27,7 @@ const RootView = (props) => {
dropDownAlertRef
.
current
,
dropDownAlertLongTimeRef
.
current
,
);
setInitLanguage
();
},
[]);
...
...
@@ -35,6 +38,7 @@ const RootView = (props) => {
if
(
laguage
)
props
.
changeLanguage
(
laguage
);
setLocation
(
I18n
,
laguage
);
};
return
(
<>
<
View
style
=
{{
flex
:
1
}}
>
...
...
src/Screens/SmartOTP/ChangeSmartOTP/ChangeSmartOTP.js
View file @
7fad8041
...
...
@@ -36,6 +36,10 @@ const EnterPasswordSmartOTP = (props) => {
const
onCheckPINSmartOTPPin
=
async
()
=>
{
let
pinCode
=
`
${
firstNumber
}${
secondsNumber
}${
thirdNumber
}${
fourNumber
}
`
;
setFirstNumber
(
null
);
setSecondsNumber
(
null
);
setThirdNumber
(
null
);
setFourNumber
(
null
);
navigation
.
navigate
(
CONFIRMCHANGESMARTOTP
,
{
pre_otp
:
pinCode
,
old_password
:
props
.
route
.
params
.
old_password
,
...
...
src/Screens/SmartOTP/ChangeSmartOTP/ConfirmChangeSmartOTP.js
View file @
7fad8041
...
...
@@ -47,10 +47,7 @@ const ConfirmChangeSmartOTP = (props) => {
setSecondsNumber
(
null
);
setThirdNumber
(
null
);
setFourNumber
(
null
);
navigation
.
reset
({
index
:
1
,
routes
:
[{
name
:
TABNAVIGATOR
},
{
name
:
SMARTOTPCONFIG
}],
});
navigation
.
navigate
(
SMARTOTPCONFIG
);
}
else
{
showAlert
(
TYPE
.
ERROR
,
I18n
.
t
(
'Notification'
),
res
.
data
.
message
);
setFirstNumber
(
null
);
...
...
yarn.lock
View file @
7fad8041
...
...
@@ -5197,6 +5197,11 @@ jsdom@^16.4.0:
ws "^7.2.3"
xml-name-validator "^3.0.0"
jsencrypt@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/jsencrypt/-/jsencrypt-3.2.0.tgz#09242aabf1984165dcd7698fe6ed163be77c05f8"
integrity sha512-Y/WBrCYRP1A2I1OEXxqurO+W3AC5uXhiArprpYQ0Y8/1Dc3NaiINAyCLx7HzXGwN7xvW3s5xpeOTdwD7lD1SQQ==
jsesc@^2.5.1:
version "2.5.2"
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz"
...
...
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