Magento Admin
- System > Intergrations > Add New Intergration
- Fill Name filed and password
- API > Resource Access select all (in production you can select only resources you really need)
- Save
- Acitvate your Integration
React Native Project setup
- Go to repository dir
- Run
npm install - copy
src/config/magento-sample.jstosrc/config/magento.js - set Magento base url to url param in
magento.js - set Access Token from Integration you created to
access_tokenparam inmagento.js react-native run-ios(for iOS) andreact-native run-android(for Android)
Home screen setup
- Go to Magento Admin
- Content > Blocks > Add New Block
- Put your config inside
Contentsection (config sample) - save your block and put it's
IDinsrc/config/magento.jstohome_cms_block_idparam
MageCart: Magento 2 React Native project - https://github.com/alexakasanjeev/magento_react_native
I open to any discussion. I have Slack workspace so ping me via email if you want to join.
MIT License Copyright (c) 2017-2019 Dmytro Portenko.

