-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding Boston package, Creating new account * Fixing thenewboston, creating new account * making pop-up(account success page) * Connecting with bank in connect to the network * implement transactions view * Save storage for login info by using redux, update redux for login info * State management of app data (Redux) - Completed * Implement my Friends View * Implement Friends and Account Balances from Server * Implement Functions of Setting page * Implement sending coins * Fixing message ui view and implement exception in all pages * Implement functions of exit, copy, share, new icon, exception * Implement etc functions and all ui designs * Fixing function of create account and making select control in send coin page * only testing for create account * Fixing send coins and checking create account and fixing hide password design * Fixing create account function * Fixing in using lib newboston, and some account functions * QR code detect and fingerprint exception function * Making platform iOS and fixing boston lib in ios * Changing flow of create and sign account, adding ESP * fixing new account flow and sign page like diagram * changing cipher algorithm * update key gen and cipher * fixing refactoring / security * fixing cipher and making function of connecting via qrcode and fingerprint * changing Selecting From, To control as UI * Implement Ed25519 cipher algorithm * update Ios platform and fixing cipher * Building IOS version in newboston * Fixing Ed25519 cipher and building in iOS platform * Fixing Ed25519 by using Tweentnacl Lib * Fixing Carthage and building IOS * Completing Ed25519 cipher by using tweetnacl lib * Fixing QR code detection and running automatically by using deeplink * updating building android platform * Fixing QRcode and cleaning codes * Fixing some bugs and releasing apk * Fixing password and nickname * Fixing ip hard-coding, and cleaning code * commit all changes * Fixing "connect to the network screen only on first time" * Fixed #16, #17, #20, #21, #22, #23 * Fixing issue #18, #19 and readMe for android platform
- Loading branch information
1 parent
d2db30c
commit 827da98
Showing
19,597 changed files
with
63,016 additions
and
3,140,954 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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 |
---|---|---|
@@ -1,22 +1,41 @@ | ||
import * as React from "react"; | ||
import { View } from "react-native"; | ||
import React, { useEffect, useState } from "react"; | ||
import { Provider } from 'react-redux' | ||
import Navigator from "./Navigator"; | ||
import { PersistGate } from 'redux-persist/integration/react'; | ||
import EncryptedStorage from 'react-native-encrypted-storage'; | ||
import configureStore from './src/store/store'; | ||
import { persistStore, persistReducer } from 'redux-persist'; | ||
const store = configureStore(); | ||
import { persistStore, persistReducer } from 'redux-persist'; | ||
const store = configureStore(); | ||
const persistor = persistStore(store); | ||
|
||
const persistor = persistStore(store); | ||
|
||
const App = (props) => { | ||
const App = (props) => { | ||
const [connect, setConnect] = useState(false); | ||
const getConnectFlag = async () =>{ | ||
try { | ||
const connectInfo = await EncryptedStorage.getItem("connect"); | ||
if (connectInfo == "1") { | ||
setConnect(true); | ||
} | ||
|
||
} | ||
catch (error) { | ||
console.log(error); | ||
} | ||
} | ||
|
||
useEffect(() => { | ||
getConnectFlag(); | ||
}, []); | ||
|
||
|
||
return ( | ||
<Provider store={store}> | ||
<PersistGate loading={null} persistor={persistor}> | ||
<Navigator /> | ||
<Navigator isLogin={!connect}/> | ||
</PersistGate> | ||
</Provider> | ||
) | ||
}; | ||
}; | ||
|
||
export default App; |
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.