/magento-react-native

React Native mobile app for Magento 2.x

Primary LanguageJavaScriptMIT LicenseMIT

Open source React Native mobile app for Magento 2

Logo

Setup

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 to src/config/magento.js
  • set Magento base url to url param in magento.js
  • set Access Token from Integration you created to access_token param in magento.js
  • react-native run-ios (for iOS) and react-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 in src/config/magento.js to home_cms_block_id param

Demo

Demo

You can contact me

I open to any discussion. I have Slack workspace so ping me via email if you want to join.

troublesohard@gmail.com

upwork

linkedin

License

MIT License Copyright (c) 2017-2018 Dmytro Portenko.