Taking a look at React Natives built in components. A mobile app similar to Amazons wishlist.
Use the package manager npm to install native-shopify. It is installed with Node.js
Make sure react-native-cli is installed globally on your machine.
- On Mac run
sudo npm i -g react-native-cli- On Windows
- I first had to install chocolatey to run certain commands through the admin shell.
Run this command through the Admin Shell to install chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))run this to see if it installed correctly
choco- After Chocolatey is installed run this command in an Admin Shell as instructed in React Natives Documentation
choco install -y nodejs.install python2 jdk8- For addition information about adding Android studios SDK to the PATH as an Eviromental Variable & Adding the SDKs platform-tools to the PATH as an Enviromental variable.
- Click this link React Native Getting Started
git initgit clone https://github.com/johnbroaddusivccv/native-shopify.gitcd native-shopifycd shoppinglistnpm installDepending on your operating system.
- You can use this via Emulation one of a few ways.
- On Mac download Xcode and follow the Installation Wizard once complete run..
react-native run-ios- On Windows download Android Studios and follow the Installation Wizard once complete run..
react-native run-android