Browse Source

[RN] Build react-native-locale-detector

Upstream lacked a CocoaPods podspec file, PR:
https://github.com/DylanVann/react-native-locale-detector/pull/3
master
Saúl Ibarra Corretgé 7 years ago
parent
commit
57206cc36a

+ 1
- 0
android/sdk/build.gradle View File

28
     compile project(':react-native-fetch-blob')
28
     compile project(':react-native-fetch-blob')
29
     compile project(':react-native-immersive')
29
     compile project(':react-native-immersive')
30
     compile project(':react-native-keep-awake')
30
     compile project(':react-native-keep-awake')
31
+    compile project(':react-native-locale-detector')
31
     compile project(':react-native-vector-icons')
32
     compile project(':react-native-vector-icons')
32
     compile project(':react-native-webrtc')
33
     compile project(':react-native-webrtc')
33
 }
34
 }

+ 1
- 0
android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetView.java View File

97
                 .setJSMainModulePath("index.android")
97
                 .setJSMainModulePath("index.android")
98
                 .addPackage(new com.corbt.keepawake.KCKeepAwakePackage())
98
                 .addPackage(new com.corbt.keepawake.KCKeepAwakePackage())
99
                 .addPackage(new com.facebook.react.shell.MainReactPackage())
99
                 .addPackage(new com.facebook.react.shell.MainReactPackage())
100
+                .addPackage(new com.i18n.reactnativei18n.ReactNativeI18n())
100
                 .addPackage(new com.oblador.vectoricons.VectorIconsPackage())
101
                 .addPackage(new com.oblador.vectoricons.VectorIconsPackage())
101
                 .addPackage(new com.ocetnik.timer.BackgroundTimerPackage())
102
                 .addPackage(new com.ocetnik.timer.BackgroundTimerPackage())
102
                 .addPackage(new com.oney.WebRTCModule.WebRTCModulePackage())
103
                 .addPackage(new com.oney.WebRTCModule.WebRTCModulePackage())

+ 2
- 0
android/settings.gradle View File

9
 project(':react-native-immersive').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-immersive/android')
9
 project(':react-native-immersive').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-immersive/android')
10
 include ':react-native-keep-awake'
10
 include ':react-native-keep-awake'
11
 project(':react-native-keep-awake').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-keep-awake/android')
11
 project(':react-native-keep-awake').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-keep-awake/android')
12
+include ':react-native-locale-detector'
13
+project(':react-native-locale-detector').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-locale-detector/android')
12
 include ':react-native-vector-icons'
14
 include ':react-native-vector-icons'
13
 project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android')
15
 project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android')
14
 include ':react-native-webrtc'
16
 include ':react-native-webrtc'

+ 2
- 0
ios/Podfile View File

25
     :path => '../node_modules/react-native-fetch-blob'
25
     :path => '../node_modules/react-native-fetch-blob'
26
   pod 'react-native-keep-awake',
26
   pod 'react-native-keep-awake',
27
     :path => '../node_modules/react-native-keep-awake'
27
     :path => '../node_modules/react-native-keep-awake'
28
+  pod 'react-native-locale-detector',
29
+    :path => '../node_modules/react-native-locale-detector'
28
   pod 'react-native-webrtc', :path => '../node_modules/react-native-webrtc'
30
   pod 'react-native-webrtc', :path => '../node_modules/react-native-webrtc'
29
   pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
31
   pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
30
 end
32
 end

+ 7
- 1
ios/Podfile.lock View File

7
     - React/Core
7
     - React/Core
8
   - react-native-keep-awake (2.0.6):
8
   - react-native-keep-awake (2.0.6):
9
     - React
9
     - React
10
+  - react-native-locale-detector (1.0.0):
11
+    - React
10
   - react-native-webrtc (1.58.2)
12
   - react-native-webrtc (1.58.2)
11
   - React/BatchedBridge (0.50.4):
13
   - React/BatchedBridge (0.50.4):
12
     - React/Core
14
     - React/Core
47
   - react-native-background-timer (from `../node_modules/react-native-background-timer`)
49
   - react-native-background-timer (from `../node_modules/react-native-background-timer`)
48
   - react-native-fetch-blob (from `../node_modules/react-native-fetch-blob`)
50
   - react-native-fetch-blob (from `../node_modules/react-native-fetch-blob`)
49
   - react-native-keep-awake (from `../node_modules/react-native-keep-awake`)
51
   - react-native-keep-awake (from `../node_modules/react-native-keep-awake`)
52
+  - react-native-locale-detector (from `../node_modules/react-native-locale-detector`)
50
   - react-native-webrtc (from `../node_modules/react-native-webrtc`)
53
   - react-native-webrtc (from `../node_modules/react-native-webrtc`)
51
   - React/BatchedBridge (from `../node_modules/react-native`)
54
   - React/BatchedBridge (from `../node_modules/react-native`)
52
   - React/Core (from `../node_modules/react-native`)
55
   - React/Core (from `../node_modules/react-native`)
70
     :path: ../node_modules/react-native-fetch-blob
73
     :path: ../node_modules/react-native-fetch-blob
71
   react-native-keep-awake:
74
   react-native-keep-awake:
72
     :path: ../node_modules/react-native-keep-awake
75
     :path: ../node_modules/react-native-keep-awake
76
+  react-native-locale-detector:
77
+    :path: ../node_modules/react-native-locale-detector
73
   react-native-webrtc:
78
   react-native-webrtc:
74
     :path: ../node_modules/react-native-webrtc
79
     :path: ../node_modules/react-native-webrtc
75
   RNVectorIcons:
80
   RNVectorIcons:
82
   react-native-background-timer: 10063c04bf85d7f8811dff8c74399f0aa715245f
87
   react-native-background-timer: 10063c04bf85d7f8811dff8c74399f0aa715245f
83
   react-native-fetch-blob: 2bef9be702de8726f4d7bf58d2345579aaaee60d
88
   react-native-fetch-blob: 2bef9be702de8726f4d7bf58d2345579aaaee60d
84
   react-native-keep-awake: bb4dbb6fd21a7879432f9538b0b7d71398fe9f81
89
   react-native-keep-awake: bb4dbb6fd21a7879432f9538b0b7d71398fe9f81
90
+  react-native-locale-detector: bb60716189d4c69c459355d0a4804c9b13f65e84
85
   react-native-webrtc: 6fd0b3aa890d7a9b9b4d01d30f958d17ae88a785
91
   react-native-webrtc: 6fd0b3aa890d7a9b9b4d01d30f958d17ae88a785
86
   RNVectorIcons: c1821d56c775cc5a3bca66c77dfc8cb4a90d27e2
92
   RNVectorIcons: c1821d56c775cc5a3bca66c77dfc8cb4a90d27e2
87
   yoga: b9aebf996711e50fc31f5608c10aa108a5a0c29e
93
   yoga: b9aebf996711e50fc31f5608c10aa108a5a0c29e
88
 
94
 
89
-PODFILE CHECKSUM: a7cb8c7365f8cf9a01ee4eb78325139933776faf
95
+PODFILE CHECKSUM: fabd6b6c27f8e1849f0668db3f403bf536ac8903
90
 
96
 
91
 COCOAPODS: 1.3.1
97
 COCOAPODS: 1.3.1

+ 1
- 3
package-lock.json View File

9514
       "integrity": "sha512-ketZKC6G49W4iblKYCnIA5Tcx78Yu48n/K5XzZUnMm69wAnZxs1054Re2V5xpSwX5VZasOBjW1iI1cTjtB/H5g=="
9514
       "integrity": "sha512-ketZKC6G49W4iblKYCnIA5Tcx78Yu48n/K5XzZUnMm69wAnZxs1054Re2V5xpSwX5VZasOBjW1iI1cTjtB/H5g=="
9515
     },
9515
     },
9516
     "react-native-locale-detector": {
9516
     "react-native-locale-detector": {
9517
-      "version": "1.0.1",
9518
-      "resolved": "https://registry.npmjs.org/react-native-locale-detector/-/react-native-locale-detector-1.0.1.tgz",
9519
-      "integrity": "sha1-wAImHstgYZ5ZUiV8jH+jHCwV7TA="
9517
+      "version": "github:jitsi/react-native-locale-detector#cc76092fc4335488a28a9529c8b50afae2c3ecdc"
9520
     },
9518
     },
9521
     "react-native-prompt": {
9519
     "react-native-prompt": {
9522
       "version": "1.0.0",
9520
       "version": "1.0.0",

+ 1
- 1
package.json View File

59
     "react-native-img-cache": "1.5.2",
59
     "react-native-img-cache": "1.5.2",
60
     "react-native-immersive": "1.1.0",
60
     "react-native-immersive": "1.1.0",
61
     "react-native-keep-awake": "2.0.6",
61
     "react-native-keep-awake": "2.0.6",
62
-    "react-native-locale-detector": "1.0.1",
62
+    "react-native-locale-detector": "github:jitsi/react-native-locale-detector#cc76092",
63
     "react-native-prompt": "1.0.0",
63
     "react-native-prompt": "1.0.0",
64
     "react-native-vector-icons": "4.4.2",
64
     "react-native-vector-icons": "4.4.2",
65
     "react-native-webrtc": "github:jitsi/react-native-webrtc#7c6b167120d2224f62222037ff71deb8ff93bd38",
65
     "react-native-webrtc": "github:jitsi/react-native-webrtc#7c6b167120d2224f62222037ff71deb8ff93bd38",

Loading…
Cancel
Save