Installation

Installation steps for Smart News Android App

Software Requirements

  1. Text Editor(Like as Visual Code)

    In this , Open React native code

  2. Android Studio

    In this , Open Android Folder

  3. Make sure you have Node - v10.16.0 react-native-cli: 2.0.1 react-native: 0.60.4

  4. Plugins Need to be install on your wordpress site Better REST API Featured Images https://wordpress.org/plugins/better-rest-api-featured-images/ WordPress REST API (Version 2) https://wordpress.org/plugins/rest-api/ REST API – Filter Fields https://wordpress.org/plugins/rest-api-filter-fields/

JSON API User https://wordpress.org/plugins/json-api-user/

Open existing React Native Project

  • Open the Terminal or cmd

  • set your project directory path in terminal

  • cd path/MyProjectFolder

  • Ex: cd Document/smartnews

or

  • Open project in Visual Studio and move to Terminal tab

  • After entering the following command in the terminal:

npm install -save
$ react-native link
$ react-native run-ios
        or
$ react-native run-android
$ react-native run-android

Note : Android required open :

  • Android Studio and

  • Open the AVD Manger

  • Connect your android phone USB cable with Computer in debugging mode to run it on device.

Last updated