From 83be7ba839ab786a80429b2eb9da62c36e1247f3 Mon Sep 17 00:00:00 2001 From: feruz Date: Thu, 2 Jan 2020 14:59:19 +0200 Subject: [PATCH] asyncstorage change --- ios/Podfile.lock | 6 ++++++ ios/eSteem.xcodeproj/project.pbxproj | 2 +- .../UserInterfaceState.xcuserstate | Bin 30546 -> 30411 bytes package.json | 1 + src/realm/realm.js | 2 +- src/redux/store/store.js | 2 +- .../editor/container/editorContainer.js | 3 ++- yarn.lock | 5 +++++ 8 files changed, 17 insertions(+), 4 deletions(-) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 0db82c495..c4d0f4854 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -287,6 +287,8 @@ PODS: - React - rn-fetch-blob (0.12.0): - React-Core + - RNCAsyncStorage (1.7.1): + - React - RNGestureHandler (1.5.2): - React - RNIap (3.4.15): @@ -354,6 +356,7 @@ DEPENDENCIES: - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) - ReactNativeDarkMode (from `../node_modules/react-native-dark-mode`) - rn-fetch-blob (from `../node_modules/rn-fetch-blob`) + - "RNCAsyncStorage (from `../node_modules/@react-native-community/async-storage`)" - RNGestureHandler (from `../node_modules/react-native-gesture-handler`) - RNIap (from `../node_modules/react-native-iap`) - RNImageCropPicker (from `../node_modules/react-native-image-crop-picker`) @@ -455,6 +458,8 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native-dark-mode" rn-fetch-blob: :path: "../node_modules/rn-fetch-blob" + RNCAsyncStorage: + :path: "../node_modules/@react-native-community/async-storage" RNGestureHandler: :path: "../node_modules/react-native-gesture-handler" RNIap: @@ -517,6 +522,7 @@ SPEC CHECKSUMS: ReactCommon: 198c7c8d3591f975e5431bec1b0b3b581aa1c5dd ReactNativeDarkMode: bac355fdddfc07de71ceef6a324b99481eb3f1f4 rn-fetch-blob: f065bb7ab7fb48dd002629f8bdcb0336602d3cba + RNCAsyncStorage: 44395cb9c7c1523104c2b499eb426ef7aff82bca RNGestureHandler: 946a7691e41df61e2c4b1884deab41a4cdc3afff RNIap: b4c77c8bc4501203f4b743126a05da23f10f40b4 RNImageCropPicker: e1d8c3381e5b05a1bdcd13ea57a4f1c020a09cef diff --git a/ios/eSteem.xcodeproj/project.pbxproj b/ios/eSteem.xcodeproj/project.pbxproj index 8f735a976..055d1b6ba 100644 --- a/ios/eSteem.xcodeproj/project.pbxproj +++ b/ios/eSteem.xcodeproj/project.pbxproj @@ -238,7 +238,6 @@ A387923BE57BA7D0C6C1FACF /* Pods-eSteemTests.debug.xcconfig */, 3FCD2A7E1617723964A992ED /* Pods-eSteemTests.release.xcconfig */, ); - name = Pods; path = Pods; sourceTree = ""; }; @@ -299,6 +298,7 @@ 5898D06F234E104B00E9EE62 /* Recovered References */ = { isa = PBXGroup; children = ( + C97456BE898C00B5EDA21C2E /* libPods-eSteemTests.a */, ); name = "Recovered References"; sourceTree = ""; diff --git a/ios/eSteem.xcworkspace/xcuserdata/f.xcuserdatad/UserInterfaceState.xcuserstate b/ios/eSteem.xcworkspace/xcuserdata/f.xcuserdatad/UserInterfaceState.xcuserstate index 308f90105ef1b72900c9209ce894a7dc4b99613d..ad673b25647b56336deb925bb56c64f745d93427 100644 GIT binary patch delta 10845 zcmZuX2V7Iv*YDmCf-;go5=a7s3?O7d!k*caB%-*ebsz*qSpu%snj1%3Yn{((wXF&` z>ZrDkx<_lZb=5j+)mm$(bIzyLBJ2MVABDlbR}89)s*AQNPPY>)@?K@rdbGq3(Y0fWFWFdWo@ zde8tG!C3GbcpXdzZ-TeLG%y{k1M9&Cun~L?Hi6Ax3)l*_f$d-i*a>!l-QWxGCD;S@ zg9G3Q_yL>&XTfjackl=J6Z{3d*T5}s4?G6{Kne_jQIHN9kO|q43lm@>6hQ@4LJiD= z`LG!3p#j>U9lBt5*dGpn1K}W83F~14Y=lj41RM>=!0~V*oCc@E8E`&a06&0>;0m}B zu7a!KC-5`45$=Wi;bHg-{1yHNe}{jp=fJfveFtqPZ5M4n?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r=#BSzGIkUq+^T&JH|T3J61bRJN|ISIOWcC zXMwZWX?C`8Rycb(9nKo(U}wE^h;yuSf^(8{igTKChI78vxyZTLxx~53x!Sqbxy^ap udD3~>+3dXFyyU#>yyCp(yy?8{yyJZ0{LT6Ms}czE!GOq?+J_H1pZ_0i$Dp+U diff --git a/package.json b/package.json index 794b6b050..268557539 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "@esteemapp/react-native-multi-slider": "^1.1.0", "@esteemapp/react-native-render-html": "^4.1.5", "@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", "appcenter": "^2.6.0", diff --git a/src/realm/realm.js b/src/realm/realm.js index 8b5713ade..c31cbdeeb 100644 --- a/src/realm/realm.js +++ b/src/realm/realm.js @@ -1,5 +1,5 @@ import sha256 from 'crypto-js/sha256'; -import { AsyncStorage } from 'react-native'; +import { AsyncStorage } from '@react-native-community/async-storage'; // CONSTANTS const USER_SCHEMA = 'user'; diff --git a/src/redux/store/store.js b/src/redux/store/store.js index b15047a7f..37505d0d6 100644 --- a/src/redux/store/store.js +++ b/src/redux/store/store.js @@ -2,7 +2,7 @@ import { createStore, applyMiddleware } from 'redux'; import logger from 'redux-logger'; import thunk from 'redux-thunk'; import { persistStore, persistReducer } from 'redux-persist'; -import { AsyncStorage } from 'react-native'; +import { AsyncStorage } from '@react-native-community/async-storage'; import reducer from '../reducers'; diff --git a/src/screens/editor/container/editorContainer.js b/src/screens/editor/container/editorContainer.js index 3fb07d47f..65622ce67 100644 --- a/src/screens/editor/container/editorContainer.js +++ b/src/screens/editor/container/editorContainer.js @@ -1,9 +1,10 @@ import React, { Component } from 'react'; import { connect } from 'react-redux'; import { injectIntl } from 'react-intl'; -import { Alert, AsyncStorage } from 'react-native'; +import { Alert } from 'react-native'; import ImagePicker from 'react-native-image-crop-picker'; import get from 'lodash/get'; +import { AsyncStorage } from '@react-native-community/async-storage'; // Services and Actions import { Buffer } from 'buffer'; diff --git a/yarn.lock b/yarn.lock index 16a842ec4..ce64fd2a8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1366,6 +1366,11 @@ "@types/istanbul-reports" "^1.1.1" "@types/yargs" "^13.0.0" +"@react-native-community/async-storage@^1.7.1": + version "1.7.1" + resolved "https://registry.yarnpkg.com/@react-native-community/async-storage/-/async-storage-1.7.1.tgz#ef2104d865de61ad91bba66613e57e689ff4e6a1" + integrity sha512-/oX/x+EU4xNaqIaC/epVKzO8XghzImPA7l8cLz3USEFmtFiXFjBbTeeIFjjEm/u4/cv38Wi1xMEa10PHIWygRg== + "@react-native-community/cameraroll@^1.3.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@react-native-community/cameraroll/-/cameraroll-1.3.0.tgz#a340334440f4d08280da839130ef51c931b07483"