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
- Then
react-native link react-native-vector-icons
- copy
src/config/magento-sample.js
tosrc/config/magento.js
- set Magento base url to url param in
magento.js
- set Access Token from Integration you created to
access_token
param 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
Content
section (config sample) - save your block and put it's
ID
insrc/config/magento.js
tohome_cms_block_id
param
I open to any discussion. I have Slack workspace so ping me via email if you want to join.
MIT License Copyright (c) 2017-2018 Dmytro Portenko.