mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-26 23:05:00 +03:00
netinfo and bugsnag update, appstate timeout remove
This commit is contained in:
parent
ea47f8dbfe
commit
4ff10ba48b
@ -30,14 +30,14 @@
|
||||
"@esteemapp/react-native-slider": "^0.12.0",
|
||||
"@react-native-community/async-storage": "^1.7.1",
|
||||
"@react-native-community/cameraroll": "^1.3.0",
|
||||
"@react-native-community/netinfo": "^4.1.3",
|
||||
"@react-native-community/netinfo": "^5.3.2",
|
||||
"appcenter": "^2.6.0",
|
||||
"appcenter-analytics": "^2.6.0",
|
||||
"appcenter-crashes": "^2.6.0",
|
||||
"appcenter-push": "^2.6.0",
|
||||
"axios": "^0.18.0",
|
||||
"buffer": "^5.2.1",
|
||||
"bugsnag-react-native": "^2.23.3",
|
||||
"bugsnag-react-native": "^2.23.4",
|
||||
"core-js": "^2.6.0",
|
||||
"crypto-js": "^3.1.9-1",
|
||||
"currency-symbol-map": "^4.0.4",
|
||||
|
@ -77,10 +77,12 @@ import lightTheme from '../../../themes/lightTheme';
|
||||
// Workaround
|
||||
let previousAppState = 'background';
|
||||
export const setPreviousAppState = () => {
|
||||
const appStateTimeout = setTimeout(() => {
|
||||
previousAppState = AppState.currentState;
|
||||
/*const appStateTimeout = setTimeout(() => {
|
||||
console.log('current appstate timeout', AppState.currentState);
|
||||
previousAppState = AppState.currentState;
|
||||
clearTimeout(appStateTimeout);
|
||||
}, 2000);
|
||||
}, 2000);*/
|
||||
};
|
||||
|
||||
class ApplicationContainer extends Component {
|
||||
|
16
yarn.lock
16
yarn.lock
@ -1482,10 +1482,10 @@
|
||||
eslint-plugin-react-native "3.6.0"
|
||||
prettier "1.16.4"
|
||||
|
||||
"@react-native-community/netinfo@^4.1.3":
|
||||
version "4.7.0"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/netinfo/-/netinfo-4.7.0.tgz#7482d36836cac69d0a0ae25581f65bc472639930"
|
||||
integrity sha512-a/sDB+AsLEUNmhAUlAaTYeXKyQdFGBUfatqKkX5jluBo2CB3OAuTHfm7rSjcaLB9EmG5iSq3fOTpync2E7EYTA==
|
||||
"@react-native-community/netinfo@^5.3.2":
|
||||
version "5.3.2"
|
||||
resolved "https://registry.yarnpkg.com/@react-native-community/netinfo/-/netinfo-5.3.2.tgz#7b6ee417c2a905663e10de176c00eeab09bdd14c"
|
||||
integrity sha512-npNcLAz6iWzwRNh+0tSFMlR+xkpSz9NWzX+5AxW40KE6qEZGWdE3dtGBKsezMdWD2Fh+6Je6P6hgUEF8xuZrbA==
|
||||
|
||||
"@react-native-community/viewpager@^2.0.1":
|
||||
version "2.0.2"
|
||||
@ -2477,10 +2477,10 @@ buffer@^5.2.1:
|
||||
base64-js "^1.0.2"
|
||||
ieee754 "^1.1.4"
|
||||
|
||||
bugsnag-react-native@^2.23.3:
|
||||
version "2.23.3"
|
||||
resolved "https://registry.yarnpkg.com/bugsnag-react-native/-/bugsnag-react-native-2.23.3.tgz#c4116d85b7ed921f59ea395521577f0d60280805"
|
||||
integrity sha512-SPchJq+V0Pwl1PhLlEltyP+5mNzwPomTOJPAaMINiDyg9RsuCPK8onzetJj0PlP5gfULHrjEU7ZRhARh1eMKvw==
|
||||
bugsnag-react-native@^2.23.4:
|
||||
version "2.23.4"
|
||||
resolved "https://registry.yarnpkg.com/bugsnag-react-native/-/bugsnag-react-native-2.23.4.tgz#4ea9e877a86488b0c6212b2ee756c597b7194878"
|
||||
integrity sha512-If8gkcQdLCtOppWViF8rN+Ylr3cloLf5kk+hG0cF7uTxYp7O63dd6J5jGIGnMCW/7IKfqcwn4t6sb/WJl6uM7A==
|
||||
dependencies:
|
||||
iserror "^0.0.2"
|
||||
promise "^7"
|
||||
|
Loading…
Reference in New Issue
Block a user