-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: delete old app architecture Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> * refactor: delete old app architecture Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> * feat: new app setup Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> --------- Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>
- Loading branch information
Showing
554 changed files
with
34,220 additions
and
94,168 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
BUNDLE_PATH: "vendor/bundle" | ||
BUNDLE_FORCE_RUBY_PLATFORM: 1 |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
MEDIATOR_URL= |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
node_modules | ||
__tests__ | ||
__mocks__ | ||
ios | ||
android | ||
build |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,5 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npm run pre-commit-lint | ||
npm run typecheck | ||
npx lint-staged |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"**/*.{js,jsx,ts,tsx}": ["yarn lint -- --fix", "npx prettier --write"] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package-lock.json | ||
app.json | ||
ios/ | ||
android/ | ||
node_modules/ |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module.exports = { | ||
arrowParens: 'avoid', | ||
bracketSameLine: true, | ||
bracketSpacing: true, | ||
singleQuote: true, | ||
trailingComma: 'all', | ||
semi: false, | ||
printWidth: 120, | ||
} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
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 |
---|---|---|
@@ -0,0 +1,71 @@ | ||
import AgentProvider from '@aries-framework/react-hooks' | ||
import * as React from 'react' | ||
import { useEffect, useMemo } from 'react' | ||
import { StatusBar } from 'react-native' | ||
import SplashScreen from 'react-native-splash-screen' | ||
import Toast from 'react-native-toast-message' | ||
|
||
import { animatedComponents } from './app/animated-components' | ||
import ErrorModal from './app/components/modals/ErrorModal' | ||
import NetInfo from './app/components/network/NetInfo' | ||
import toastConfig from './app/components/toast/ToastConfig' | ||
import { homeTourSteps } from './app/components/tour/HomeTourSteps' | ||
import { AnimatedComponentsProvider } from './app/contexts/animated-components' | ||
import { AuthProvider } from './app/contexts/auth' | ||
import { CommonUtilProvider } from './app/contexts/commons' | ||
import { ConfigurationProvider } from './app/contexts/configuration' | ||
import { NetworkProvider } from './app/contexts/network' | ||
import { StoreProvider } from './app/contexts/store' | ||
import { ThemeProvider } from './app/contexts/theme' | ||
import { TourProvider } from './app/contexts/tour/tour-provider' | ||
import { defaultConfiguration } from './app/defaultConfiguration' | ||
import { initLanguages, initStoredLanguage, translationResources } from './app/localization' | ||
import RootStack from './app/navigators/RootStack' | ||
import { theme } from './app/theme' | ||
|
||
initLanguages(translationResources) | ||
|
||
const App = () => { | ||
useMemo(() => { | ||
initStoredLanguage().then() | ||
}, []) | ||
|
||
useEffect(() => { | ||
// Hide the native splash / loading screen so that our | ||
// RN version can be displayed. | ||
SplashScreen.hide() | ||
}, []) | ||
|
||
return ( | ||
<StoreProvider> | ||
<AgentProvider> | ||
<ThemeProvider value={theme}> | ||
<AnimatedComponentsProvider value={animatedComponents}> | ||
<ConfigurationProvider value={defaultConfiguration}> | ||
<CommonUtilProvider> | ||
<AuthProvider> | ||
<NetworkProvider> | ||
<StatusBar | ||
hidden={false} | ||
barStyle="light-content" | ||
backgroundColor={theme.ColorPallet.brand.primary} | ||
translucent={false} | ||
/> | ||
<NetInfo /> | ||
<ErrorModal /> | ||
<TourProvider steps={homeTourSteps} overlayColor={'gray'} overlayOpacity={0.7}> | ||
<RootStack /> | ||
</TourProvider> | ||
<Toast topOffset={15} config={toastConfig} /> | ||
</NetworkProvider> | ||
</AuthProvider> | ||
</CommonUtilProvider> | ||
</ConfigurationProvider> | ||
</AnimatedComponentsProvider> | ||
</ThemeProvider> | ||
</AgentProvider> | ||
</StoreProvider> | ||
) | ||
} | ||
|
||
export default App |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.