Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Commit

Permalink
Finally: RN Redux Boilerplate is working again 🥳
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathChaos committed Mar 24, 2020
1 parent 35bcbb2 commit 5790755
Show file tree
Hide file tree
Showing 12 changed files with 2,250 additions and 2,604 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,17 @@ You can simply clone the project and start with your barebone project
git clone git@github.com:WrathChaos/react-native-redux-boilerplate.git
```

# What's Included?
# What's Included?

- Redux
- Redux Services
- Ready to use Styles
- NavigationService
- API Usage Service
- Ready to use Styles
- React Navigation v4
- React Navigation Helpers
- HTTP Network Management (Axios)
- Built-in EventEmitter (EventBus)
- Generic React Hooks API Request Service
- Babel Plugin Module Resolver to fix the relative path problem (visit .babelrc)

Expand All @@ -49,7 +51,6 @@ git clone git@github.com:WrathChaos/react-native-redux-boilerplate.git
- theme
- font-size


## Imports

```js
Expand All @@ -75,7 +76,7 @@ import theme from "theme";
if you want to call them all at once

```js
import {colors, theme, spacing, fontSize, spacing, fonts } from "shared-styles/index";
import { theme, fonts, colors, spacing, fontSize } from "shared-styles/index";
```

### Future Plans
Expand Down
1 change: 1 addition & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ android {
}

dependencies {
implementation project(':react-native-reanimated')
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.facebook.react:react-native:+" // From node_modules

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import android.content.Context;
import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.swmansion.reanimated.ReanimatedPackage;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.soloader.SoLoader;
Expand Down
2 changes: 2 additions & 0 deletions android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
rootProject.name = 'RNBoilerplate'
include ':react-native-reanimated'
project(':react-native-reanimated').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-reanimated/android')
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app'
20 changes: 10 additions & 10 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -217,13 +217,13 @@ PODS:
- React-cxxreact (= 0.61.5)
- React-jsi (= 0.61.5)
- ReactCommon/jscallinvoker (= 0.61.5)
- RNCAsyncStorage (1.6.3):
- RNCAsyncStorage (1.8.1):
- React
- RNGestureHandler (1.5.1):
- RNGestureHandler (1.6.1):
- React
- RNReanimated (1.4.0):
- RNReanimated (1.7.1):
- React
- RNScreens (2.0.0-alpha.12):
- RNScreens (2.4.0):
- React
- Yoga (1.14.0)

Expand Down Expand Up @@ -262,7 +262,7 @@ DEPENDENCIES:
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)

SPEC REPOS:
https://github.com/cocoapods/specs.git:
https://github.com/CocoaPods/Specs.git:
- boost-for-react-native

EXTERNAL SOURCES:
Expand Down Expand Up @@ -351,12 +351,12 @@ SPEC CHECKSUMS:
React-RCTText: 9ccc88273e9a3aacff5094d2175a605efa854dbe
React-RCTVibration: a49a1f42bf8f5acf1c3e297097517c6b3af377ad
ReactCommon: 198c7c8d3591f975e5431bec1b0b3b581aa1c5dd
RNCAsyncStorage: 6b57de0f6cb0dcfd17521af1681fa39001d3efff
RNGestureHandler: 7add966bb5d90ee8cf38d4341f87814474357972
RNReanimated: b2ab0b693dddd2339bd2f300e770f6302d2e960c
RNScreens: 254da4b84f25971cbb30ed3ddc84131f23cac812
RNCAsyncStorage: 00bdf63f7f1e0f11d3323533dba4f222e58bf092
RNGestureHandler: 8f09cd560f8d533eb36da5a6c5a843af9f056b38
RNReanimated: 4e102df74a9674fa943e05f97f3362b6e44d0b48
RNScreens: b5c0e1b2b04512919e78bd3898e144a157ce2363
Yoga: f2a7cd4280bfe2cca5a7aed98ba0eb3d1310f18b

PODFILE CHECKSUM: 9773a931102b66b4a484daf87d1359a24f125b05

COCOAPODS: 1.7.4
COCOAPODS: 1.9.0
Loading

0 comments on commit 5790755

Please sign in to comment.