tutorial for api json call and local push notification (uses RN Local and Remote Notification, in 'Used/referenced' part.)
dev env is window 7(64bit. I know, it's old and annoying in dev apps.), atom editor, android avd.
리액트 네이티브 API 호출과 로컬 푸시알림 연습용 프로젝트입니다.
I use and referenced these APIs, sites. Very Useful.
사용한 툴이나 도움이 많이 된 사이트를 모았습니다.
- rnpm (react package manager), https://github.com/rnpm/rnpm
- React native, https://facebook.github.io/react-native/
- React tutorial korean, https://www.gitbook.com/book/g6ling/react-native-tutorial-korean
- React native router flux, https://github.com/aksonov/react-native-router-flux
- React Native Local and Remote Notification, https://github.com/zo0r/react-native-push-notification
- React Native Doc(0.19), fetching data, http://facebook.github.io/react-native/releases/0.19/docs/tutorial.html
- React Native Doc(0.40), Networking, http://facebook.github.io/react-native/releases/0.40/docs/network.html
- Ionic Ionicon, http://ionicframework.com/docs/v2/ionicons/
- Genymotion, https://www.genymotion.com/
looks like this. hmmmm..
I want 'fetchData' operates only when i clicked 'search' button, but it doesn't. it operates continuously. I fixed this issue by correcting arrow function ( () =>). I do not wrote onPress function with arrow function, that causes issue. i fixed it.
검색 버튼을 눌렀을때만 API를 fetch하려 했으나 안되었는데 그게 arrow function ( ()=> )을 깜박하고 안 넣어서 그런 거더라구요. 고쳤습니다.