-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #582 from Peersyst/dev
v1.3.0
- Loading branch information
Showing
285 changed files
with
8,024 additions
and
5,130 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 |
---|---|---|
@@ -1,15 +1,3 @@ | ||
import Root from "./src"; | ||
import useCachedResources from "./src/module/common/hook/useCachedResources"; | ||
|
||
//Explanation link :https://github.com/facebook/react-native/issues/12981#issuecomment-652745831 | ||
import { LogBox } from "react-native"; | ||
|
||
const App = (): JSX.Element | null => { | ||
const isLoadingComplete = useCachedResources(); | ||
LogBox.ignoreLogs(["Setting a timer"]); | ||
LogBox.ignoreLogs(["Require cycles"]); | ||
LogBox.ignoreLogs(["Require cycle:"]); | ||
return isLoadingComplete ? <Root /> : null; | ||
}; | ||
import App from "./src"; | ||
|
||
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
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,4 +1,20 @@ | ||
// Learn more https://docs.expo.io/guides/customizing-metro | ||
const { getDefaultConfig } = require("expo/metro-config"); | ||
const path = require("path"); | ||
|
||
module.exports = getDefaultConfig(__dirname); | ||
const config = getDefaultConfig(__dirname); | ||
|
||
config.resolver = { | ||
extraNodeModules: { | ||
crypto: path.resolve(__dirname, "src/polyfills/Crypto"), | ||
fs: path.resolve(__dirname, "src/polyfills/FileSystem"), | ||
path: path.resolve(__dirname, "src/polyfills/Path"), | ||
stream: require.resolve("readable-stream"), | ||
http: path.resolve(__dirname, "src/polyfills/Http"), | ||
https: path.resolve(__dirname, "src/polyfills/Https"), | ||
zlib: path.resolve(__dirname, "src/polyfills/Zlib"), | ||
util: path.resolve(__dirname, "src/polyfills/Util"), | ||
}, | ||
}; | ||
|
||
module.exports = config; |
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 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 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.