@fadyshawky/react-native-magic 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -34,7 +34,7 @@ Then run:
34
34
 
35
35
  ```bash
36
36
  npm start
37
- npm run ios # or: npm run android
37
+ npm run ios # or an Android variant below
38
38
  ```
39
39
 
40
40
  ## First steps after creating your app
@@ -69,7 +69,12 @@ src/
69
69
  |---------|-------------|
70
70
  | `npm start` | Start Metro bundler |
71
71
  | `npm run ios` | Run on iOS |
72
- | `npm run android` | Run on Android |
72
+ | `npm run android:prod:debug` | Run Android (production, debug) |
73
+ | `npm run android:prod:release` | Run Android (production, release) |
74
+ | `npm run android:staging:debug` | Run Android (staging, debug) |
75
+ | `npm run android:staging:release` | Run Android (staging, release) |
76
+ | `npm run android:development:debug` | Run Android (development, debug) |
77
+ | `npm run android:development:release` | Run Android (development, release) |
73
78
  | `npm test` | Run tests |
74
79
  | `npm run lint` | Lint code |
75
80
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fadyshawky/react-native-magic",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Plug-and-play React Native template: TypeScript, Redux, React Navigation, scalable architecture. Init and start developing without hassle.",
5
5
  "keywords": [
6
6
  "react-native-magic",
@@ -15,6 +15,8 @@ buildscript {
15
15
  classpath("com.android.tools.build:gradle")
16
16
  classpath("com.facebook.react:react-native-gradle-plugin")
17
17
  classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
18
+ classpath 'com.google.gms:google-services:4.4.4'
19
+
18
20
  }
19
21
  }
20
22
 
@@ -3,67 +3,72 @@
3
3
  "version": "0.0.1",
4
4
  "private": true,
5
5
  "scripts": {
6
- "android": "react-native run-android",
6
+ "android:prod:debug": "react-native run-android --mode=productionDebug",
7
+ "android:prod:release": "react-native run-android --mode=productionRelease",
8
+ "android:staging:debug": "react-native run-android --mode=stagingDebug",
9
+ "android:staging:release": "react-native run-android --mode=stagingRelease",
10
+ "android:development:debug": "react-native run-android --mode=developmentDebug",
11
+ "android:development:release": "react-native run-android --mode=developmentRelease",
7
12
  "ios": "react-native run-ios",
8
13
  "lint": "eslint .",
9
14
  "start": "react-native start",
10
15
  "test": "jest"
11
16
  },
12
17
  "dependencies": {
13
- "@good-react-native/gradient-border": "^1.0.2",
14
- "@react-native-async-storage/async-storage": "^3.0.1",
15
- "@react-native-masked-view/masked-view": "^0.3.2",
16
- "@react-navigation/bottom-tabs": "^7.15.5",
17
- "@react-navigation/native": "^7.1.33",
18
- "@react-navigation/native-stack": "^7.14.4",
19
- "@reduxjs/toolkit": "^2.11.2",
20
- "axios": "^1.13.6",
21
- "babel-plugin-transform-remove-console": "^6.9.4",
22
- "dayjs": "^1.11.19",
23
- "intl": "^1.2.5",
24
- "lodash": "^4.17.23",
25
- "react": "^19.2.3",
26
- "react-dom": "^19.2.3",
27
- "react-native": "^0.84.1",
28
- "react-native-actions-sheet": "^10.1.2",
29
- "react-native-config": "^1.6.1",
30
- "react-native-device-info": "^15.0.2",
31
- "react-native-gesture-handler": "^2.30.0",
32
- "react-native-keyboard-aware-scroll-view": "^0.9.5",
33
- "react-native-linear-gradient": "^2.8.3",
34
- "react-native-localization": "^2.3.2",
35
- "react-native-reanimated": "^4.2.2",
36
- "react-native-restart": "^0.0.27",
37
- "react-native-safe-area-context": "^5.7.0",
38
- "react-native-screens": "^4.24.0",
39
- "react-native-sfsymbols": "^1.2.2",
40
- "react-native-snackbar": "^3.0.1",
41
- "react-native-vector-icons": "^10.3.0",
42
- "react-native-worklets": "^0.7.4",
43
- "react-redux": "^9.2.0",
44
- "redux": "^5.0.1",
45
- "redux-persist": "^6.0.0",
46
- "redux-persist-transform-filter": "^0.0.22"
18
+ "@good-react-native/gradient-border": "1.0.2",
19
+ "@react-native-async-storage/async-storage": "2.2.0",
20
+ "@react-native-masked-view/masked-view": "0.3.2",
21
+ "@react-navigation/bottom-tabs": "7.15.5",
22
+ "@react-navigation/native": "7.1.33",
23
+ "@react-navigation/native-stack": "7.14.4",
24
+ "@reduxjs/toolkit": "2.11.2",
25
+ "axios": "1.13.6",
26
+ "babel-plugin-transform-remove-console": "6.9.4",
27
+ "dayjs": "1.11.19",
28
+ "intl": "1.2.5",
29
+ "lodash": "4.17.23",
30
+ "react": "19.2.3",
31
+ "react-dom": "19.2.3",
32
+ "react-native": "0.84.1",
33
+ "react-native-actions-sheet": "10.1.2",
34
+ "react-native-config": "1.6.1",
35
+ "react-native-device-info": "15.0.2",
36
+ "react-native-gesture-handler": "2.30.0",
37
+ "react-native-keyboard-aware-scroll-view": "0.9.5",
38
+ "react-native-linear-gradient": "2.8.3",
39
+ "react-native-localization": "2.3.2",
40
+ "react-native-reanimated": "4.2.2",
41
+ "react-native-restart": "0.0.27",
42
+ "react-native-safe-area-context": "5.7.0",
43
+ "react-native-screens": "4.24.0",
44
+ "react-native-sfsymbols": "1.2.2",
45
+ "react-native-snackbar": "3.0.1",
46
+ "react-native-vector-icons": "10.3.0",
47
+ "react-native-worklets": "0.7.4",
48
+ "react-redux": "9.2.0",
49
+ "redux": "5.0.1",
50
+ "redux-persist": "6.0.0",
51
+ "redux-persist-transform-filter": "0.0.22"
47
52
  },
48
53
  "devDependencies": {
49
- "@babel/core": "^7.29.0",
50
- "@babel/preset-env": "^7.29.0",
51
- "@babel/runtime": "^7.28.6",
52
- "@react-native-community/cli": "^20.1.2",
53
- "@react-native-community/cli-platform-android": "^20.1.2",
54
- "@react-native-community/cli-platform-ios": "^20.1.2",
55
- "@react-native/babel-preset": "^0.84.1",
56
- "@react-native/eslint-config": "^0.84.1",
57
- "@react-native/metro-config": "^0.84.1",
58
- "@react-native/typescript-config": "^0.84.1",
59
- "@types/jest": "^30.0.0",
60
- "@types/react": "^19.2.14",
61
- "@types/react-test-renderer": "^19.1.0",
62
- "eslint": "^10.0.2",
63
- "jest": "^30.2.0",
64
- "prettier": "^3.8.1",
65
- "react-test-renderer": "^19.2.3",
66
- "typescript": "^5.9.3"
54
+ "@babel/core": "7.29.0",
55
+ "@babel/preset-env": "7.29.0",
56
+ "@babel/runtime": "7.28.6",
57
+ "@react-native-community/cli": "20.1.2",
58
+ "@react-native-community/cli-platform-android": "20.1.2",
59
+ "@react-native-community/cli-platform-ios": "20.1.2",
60
+ "@react-native/babel-preset": "0.84.1",
61
+ "@react-native/eslint-config": "0.84.1",
62
+ "@react-native/metro-config": "0.84.1",
63
+ "@react-native/typescript-config": "0.84.1",
64
+ "@types/jest": "30.0.0",
65
+ "@types/react": "19.2.14",
66
+ "@types/react-test-renderer": "19.1.0",
67
+ "eslint": "10.0.2",
68
+ "jest": "30.2.0",
69
+ "prettier": "3.8.1",
70
+ "react-test-renderer": "19.2.3",
71
+ "typescript": "5.9.3"
67
72
  },
68
73
  "engines": {
69
74
  "node": ">=20"