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

Commit 5790755

Browse files
committed
Finally: RN Redux Boilerplate is working again 🥳
1 parent 35bcbb2 commit 5790755

12 files changed

Lines changed: 2250 additions & 2604 deletions

File tree

‎README.md‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,17 @@ You can simply clone the project and start with your barebone project
2323
git clone git@github.com:WrathChaos/react-native-redux-boilerplate.git
2424
```
2525

26-
# What's Included?
26+
# What's Included?
2727

2828
- Redux
2929
- Redux Services
30-
- Ready to use Styles
3130
- NavigationService
31+
- API Usage Service
32+
- Ready to use Styles
3233
- React Navigation v4
3334
- React Navigation Helpers
3435
- HTTP Network Management (Axios)
36+
- Built-in EventEmitter (EventBus)
3537
- Generic React Hooks API Request Service
3638
- Babel Plugin Module Resolver to fix the relative path problem (visit .babelrc)
3739

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

52-
5354
## Imports
5455

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

7778
```js
78-
import {colors, theme, spacing, fontSize, spacing, fonts } from "shared-styles/index";
79+
import { theme, fonts, colors, spacing, fontSize } from "shared-styles/index";
7980
```
8081

8182
### Future Plans

‎android/app/build.gradle‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ android {
179179
}
180180

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

‎android/app/src/main/java/com/rnboilerplate/MainApplication.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import android.content.Context;
55
import com.facebook.react.PackageList;
66
import com.facebook.react.ReactApplication;
7+
import com.swmansion.reanimated.ReanimatedPackage;
78
import com.facebook.react.ReactNativeHost;
89
import com.facebook.react.ReactPackage;
910
import com.facebook.soloader.SoLoader;

‎android/settings.gradle‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
rootProject.name = 'RNBoilerplate'
2+
include ':react-native-reanimated'
3+
project(':react-native-reanimated').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-reanimated/android')
24
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
35
include ':app'

‎ios/Podfile.lock‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -217,13 +217,13 @@ PODS:
217217
- React-cxxreact (= 0.61.5)
218218
- React-jsi (= 0.61.5)
219219
- ReactCommon/jscallinvoker (= 0.61.5)
220-
- RNCAsyncStorage (1.6.3):
220+
- RNCAsyncStorage (1.8.1):
221221
- React
222-
- RNGestureHandler (1.5.1):
222+
- RNGestureHandler (1.6.1):
223223
- React
224-
- RNReanimated (1.4.0):
224+
- RNReanimated (1.7.1):
225225
- React
226-
- RNScreens (2.0.0-alpha.12):
226+
- RNScreens (2.4.0):
227227
- React
228228
- Yoga (1.14.0)
229229

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

264264
SPEC REPOS:
265-
https://github.com/cocoapods/specs.git:
265+
https://github.com/CocoaPods/Specs.git:
266266
- boost-for-react-native
267267

268268
EXTERNAL SOURCES:
@@ -351,12 +351,12 @@ SPEC CHECKSUMS:
351351
React-RCTText: 9ccc88273e9a3aacff5094d2175a605efa854dbe
352352
React-RCTVibration: a49a1f42bf8f5acf1c3e297097517c6b3af377ad
353353
ReactCommon: 198c7c8d3591f975e5431bec1b0b3b581aa1c5dd
354-
RNCAsyncStorage: 6b57de0f6cb0dcfd17521af1681fa39001d3efff
355-
RNGestureHandler: 7add966bb5d90ee8cf38d4341f87814474357972
356-
RNReanimated: b2ab0b693dddd2339bd2f300e770f6302d2e960c
357-
RNScreens: 254da4b84f25971cbb30ed3ddc84131f23cac812
354+
RNCAsyncStorage: 00bdf63f7f1e0f11d3323533dba4f222e58bf092
355+
RNGestureHandler: 8f09cd560f8d533eb36da5a6c5a843af9f056b38
356+
RNReanimated: 4e102df74a9674fa943e05f97f3362b6e44d0b48
357+
RNScreens: b5c0e1b2b04512919e78bd3898e144a157ce2363
358358
Yoga: f2a7cd4280bfe2cca5a7aed98ba0eb3d1310f18b
359359

360360
PODFILE CHECKSUM: 9773a931102b66b4a484daf87d1359a24f125b05
361361

362-
COCOAPODS: 1.7.4
362+
COCOAPODS: 1.9.0

0 commit comments

Comments
 (0)