Qiita Viewer - React Native
Android | iOS |
---|---|
![]() | ![]() |
Name | Description |
---|---|
React Native | Build Native Mobile Apps using JavaScript and React. |
React-Navigation | Routing and navigation for React Native apps. |
Redux | Predictable state container for JavaScript apps. |
Redux-Saga | Middleware for Redux. |
Clone this repo
$ git clone git@github.com:yuki2/qiitaapp.git $ cd qiitaapp $ npm install
Create .env
file in your root directory and add the following
CLIENT_ID=your_client_id_here CLIENT_SECRET=your_client_secret_here SCHEMA=your_defined_schema
Change intent-filter schema at android/app/AndroidManifest.xml
<intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="your_defined_schema" /> </intent-filter>
For the above parameters, you need to set up here
$ react-native run-android $ react-native run-ios