Comments (1)
Environment
- npm version: 6.13.4
- react-native-cli version: 2.0.1
- react-native version: 0.63.2
- Platform tested: Android
현재 안전하게 토큰을 저장하기 위해 키체인을 사용하려 했음
사용하기 위해선 npm >= 0.60 부턴 오토링크가 필요함
오토링크 메뉴얼에서 하라는대로 했는데 빌드 문제인지 왜 인지 모르겠음현재는 react-native에서 지원하는 곧 사라질 AsyncStorage를 쓰는중
import {AsyncStorage} from 'react-native'; //곧 사라짐. 임시방편으로 쓰는중 import AsyncStorage from '@react-native-community/async-storage'; //안전하지않아서 안쓸거임 import * as Keychain from 'react-native-keychain'; //오토링크문제 해결되면 적용Warning: AsyncStorage has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/async-storage' instead of 'react-native' See https://github.com/react-native-community/async-storage사라지기 전에 해결해야 함. 아니면 리덕스에 저장해야될듯
해결 : VSC에서 android 디렉토리를 건들면 동기화가 안되는거같음(추측). 안드로이드 스튜디오에서 수정하고 빌드시키고 줄줄이 나오는 오류들을 구글링으로 해결. react-native run-android
로 재빌드 하고 구글링하면서 좀 더 수정했음. 키체인은 나중에 적용 할 예정
( + 이전에 에뮬레이터에서는 오토링크 적용되는데 로컬에서는 적용안됐었음. 디바이스 연결하고 react-native run-android
하면 react-native start --reset-cache
에서도 잘 되는듯 )
from client.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from client.