Awesome
GeoEncoding
A react-native example for ListView, MapView, ImageView, NavigationBar, react-redux which runs on both iOS and Android
#Features
- Listview
- Imageview
- Mapview
- Redux
- Router
- Jest tests
- Sqlite
- Tabbar
- CodePush
- Travis
- Video Player
- Network request
- Toast notification (When adding an address to Favourites)
- Custom splash screen
- Network download
- Network upload - Login / Account Manage feature
- Barcode scanner
- Location update (background)
- Push notification
- Expandable listview
- Thumbnail view with preview
- Sidebar drawer
- Performance testing for listview (load a few thousands record to our listview)
- 'Share' functionality
- Custom Video controls
- Whiteboard? - demonstrate touch tracking and graphics libraries
Install node modeules
npm install
CodePush
Now you can update your app remotely without going through app store using CodePush. It works with both iOS and Android.
To bundle
react-native bundle --platform ios --entry-file index.ios.js --bundle-output main.jsbundle --dev false
To release
code-push release GeoEncoding main.jsbundle 1.0.0 --deploymentName Production
Jest Tests
-
run the tests
- Run "npm test <test suit name>" to test a special suit;
- or simply run "npm test" to get through all test suits in verbose mode.
-
generate test coverage
- Run "npm run coverage" to generate both a simple coverage chart within console and html coverage report under /coverage/
#Screenshots