Explorar el Código

[RN] Rename jitsi-meet-react to jitsi-meet

j8
Saúl Ibarra Corretgé hace 8 años
padre
commit
bac191f96c

+ 1
- 1
android/settings.gradle Ver fichero

@@ -1,4 +1,4 @@
1
-rootProject.name = 'jitsi-meet-react'
1
+rootProject.name = 'jitsi-meet'
2 2
 
3 3
 include ':app'
4 4
 include ':react-native-background-timer'

+ 1
- 1
doc/coding-style.md Ver fichero

@@ -76,7 +76,7 @@
76 76
   projects. For example:
77 77
 
78 78
   * The instance of lib-jitsi-meet's `JitsiConnection` type should be named
79
-    `connection` or `jitsiConnection` in jitsi-meet-react, not `client`.
79
+    `connection` or `jitsiConnection` in jitsi-meet, not `client`.
80 80
 
81 81
   * The class `ReducerRegistry` should be defined in ReducerRegistry.js and its
82 82
     imports in other files should use the same name. Don't define the class

+ 2
- 2
doc/mobile.md Ver fichero

@@ -43,8 +43,8 @@ work properly with the native plugins we require.
43 43
 
44 44
     Using Xcode
45 45
 
46
-    - Open **ios/jitsi-meet-react.xcworkspace** in Xcode. Make sure it's the
47
-      workspace file!
46
+    - Open **ios/jitsi-meet.xcworkspace** in Xcode. Make sure it's the workspace
47
+      file!
48 48
 
49 49
     - Select your device from the top bar and hit the "play" button.
50 50
 

ios/jitsi-meet-react.entitlements → ios/jitsi-meet.entitlements Ver fichero


ios/jitsi-meet-react.xcodeproj/project.pbxproj → ios/jitsi-meet.xcodeproj/project.pbxproj Ver fichero

@@ -285,7 +285,7 @@
285 285
 		0EA8C046B2BF46279796F07D /* libKCKeepAwake.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libKCKeepAwake.a; sourceTree = "<group>"; };
286 286
 		139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = "<group>"; };
287 287
 		139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = "<group>"; };
288
-		13B07F961A680F5B00A75B9A /* jitsi-meet-react.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "jitsi-meet-react.app"; sourceTree = BUILT_PRODUCTS_DIR; };
288
+		13B07F961A680F5B00A75B9A /* jitsi-meet.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "jitsi-meet.app"; sourceTree = BUILT_PRODUCTS_DIR; };
289 289
 		13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = app/AppDelegate.h; sourceTree = "<group>"; };
290 290
 		13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = app/AppDelegate.m; sourceTree = "<group>"; };
291 291
 		13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
@@ -303,7 +303,7 @@
303 303
 		832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = "<group>"; };
304 304
 		B30EF2301DC0ED7C00690F45 /* WebRTC.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebRTC.framework; path = "../node_modules/react-native-webrtc/ios/WebRTC.framework"; sourceTree = "<group>"; };
305 305
 		B3A9D0241E0481E10009343D /* POSIX.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = POSIX.m; path = app/POSIX.m; sourceTree = "<group>"; };
306
-		B3B083EB1D4955FF0069CEE7 /* jitsi-meet-react.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = "jitsi-meet-react.entitlements"; sourceTree = "<group>"; };
306
+		B3B083EB1D4955FF0069CEE7 /* jitsi-meet.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "jitsi-meet.entitlements"; sourceTree = "<group>"; };
307 307
 		B96AF9B6FBC0453798399985 /* FontAwesome.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = "<group>"; };
308 308
 		BF9643811C34FBB300B0BBDF /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; };
309 309
 		BF9643831C34FBBB00B0BBDF /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
@@ -530,7 +530,7 @@
530 530
 			children = (
531 531
 				13B07FAE1A68108700A75B9A /* app */,
532 532
 				B3BA19B71DC6B02F00BCD481 /* Frameworks */,
533
-				B3B083EB1D4955FF0069CEE7 /* jitsi-meet-react.entitlements */,
533
+				B3B083EB1D4955FF0069CEE7 /* jitsi-meet.entitlements */,
534 534
 				832341AE1AAA6A7D00B99B32 /* Libraries */,
535 535
 				83CBBA001A601CBA00E9B192 /* Products */,
536 536
 				6956B374CC3C453DB7B8E82D /* Resources */,
@@ -542,7 +542,7 @@
542 542
 		83CBBA001A601CBA00E9B192 /* Products */ = {
543 543
 			isa = PBXGroup;
544 544
 			children = (
545
-				13B07F961A680F5B00A75B9A /* jitsi-meet-react.app */,
545
+				13B07F961A680F5B00A75B9A /* jitsi-meet.app */,
546 546
 			);
547 547
 			name = Products;
548 548
 			sourceTree = "<group>";
@@ -581,9 +581,9 @@
581 581
 /* End PBXGroup section */
582 582
 
583 583
 /* Begin PBXNativeTarget section */
584
-		13B07F861A680F5B00A75B9A /* jitsi-meet-react */ = {
584
+		13B07F861A680F5B00A75B9A /* jitsi-meet */ = {
585 585
 			isa = PBXNativeTarget;
586
-			buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "jitsi-meet-react" */;
586
+			buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "jitsi-meet" */;
587 587
 			buildPhases = (
588 588
 				13B07F871A680F5B00A75B9A /* Sources */,
589 589
 				13B07F8C1A680F5B00A75B9A /* Frameworks */,
@@ -596,9 +596,9 @@
596 596
 			);
597 597
 			dependencies = (
598 598
 			);
599
-			name = "jitsi-meet-react";
599
+			name = "jitsi-meet";
600 600
 			productName = "Hello World";
601
-			productReference = 13B07F961A680F5B00A75B9A /* jitsi-meet-react.app */;
601
+			productReference = 13B07F961A680F5B00A75B9A /* jitsi-meet.app */;
602 602
 			productType = "com.apple.product-type.application";
603 603
 		};
604 604
 /* End PBXNativeTarget section */
@@ -620,7 +620,7 @@
620 620
 					};
621 621
 				};
622 622
 			};
623
-			buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "jitsi-meet-react" */;
623
+			buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "jitsi-meet" */;
624 624
 			compatibilityVersion = "Xcode 3.2";
625 625
 			developmentRegion = English;
626 626
 			hasScannedForEncodings = 0;
@@ -695,7 +695,7 @@
695 695
 			);
696 696
 			projectRoot = "";
697 697
 			targets = (
698
-				13B07F861A680F5B00A75B9A /* jitsi-meet-react */,
698
+				13B07F861A680F5B00A75B9A /* jitsi-meet */,
699 699
 			);
700 700
 		};
701 701
 /* End PBXProject section */
@@ -989,7 +989,7 @@
989 989
 			isa = XCBuildConfiguration;
990 990
 			buildSettings = {
991 991
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
992
-				CODE_SIGN_ENTITLEMENTS = "jitsi-meet-react.entitlements";
992
+				CODE_SIGN_ENTITLEMENTS = "jitsi-meet.entitlements";
993 993
 				CURRENT_PROJECT_VERSION = 1;
994 994
 				DEAD_CODE_STRIPPING = NO;
995 995
 				ENABLE_BITCODE = NO;
@@ -1019,7 +1019,7 @@
1019 1019
 					"-lc++",
1020 1020
 				);
1021 1021
 				PRODUCT_BUNDLE_IDENTIFIER = org.jitsi.JitsiMeet.ios;
1022
-				PRODUCT_NAME = "jitsi-meet-react";
1022
+				PRODUCT_NAME = "jitsi-meet";
1023 1023
 				TARGETED_DEVICE_FAMILY = "1,2";
1024 1024
 			};
1025 1025
 			name = Debug;
@@ -1028,7 +1028,7 @@
1028 1028
 			isa = XCBuildConfiguration;
1029 1029
 			buildSettings = {
1030 1030
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1031
-				CODE_SIGN_ENTITLEMENTS = "jitsi-meet-react.entitlements";
1031
+				CODE_SIGN_ENTITLEMENTS = "jitsi-meet.entitlements";
1032 1032
 				CURRENT_PROJECT_VERSION = 1;
1033 1033
 				ENABLE_BITCODE = NO;
1034 1034
 				FRAMEWORK_SEARCH_PATHS = (
@@ -1057,7 +1057,7 @@
1057 1057
 					"-lc++",
1058 1058
 				);
1059 1059
 				PRODUCT_BUNDLE_IDENTIFIER = org.jitsi.JitsiMeet.ios;
1060
-				PRODUCT_NAME = "jitsi-meet-react";
1060
+				PRODUCT_NAME = "jitsi-meet";
1061 1061
 				TARGETED_DEVICE_FAMILY = "1,2";
1062 1062
 			};
1063 1063
 			name = Release;
@@ -1164,7 +1164,7 @@
1164 1164
 /* End XCBuildConfiguration section */
1165 1165
 
1166 1166
 /* Begin XCConfigurationList section */
1167
-		13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "jitsi-meet-react" */ = {
1167
+		13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "jitsi-meet" */ = {
1168 1168
 			isa = XCConfigurationList;
1169 1169
 			buildConfigurations = (
1170 1170
 				13B07F941A680F5B00A75B9A /* Debug */,
@@ -1173,7 +1173,7 @@
1173 1173
 			defaultConfigurationIsVisible = 0;
1174 1174
 			defaultConfigurationName = Release;
1175 1175
 		};
1176
-		83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "jitsi-meet-react" */ = {
1176
+		83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "jitsi-meet" */ = {
1177 1177
 			isa = XCConfigurationList;
1178 1178
 			buildConfigurations = (
1179 1179
 				83CBBA201A601CBA00E9B192 /* Debug */,

ios/jitsi-meet-react.xcodeproj/xcshareddata/xcschemes/jitsi-meet-react.xcscheme → ios/jitsi-meet.xcodeproj/xcshareddata/xcschemes/jitsi-meet.xcscheme Ver fichero

@@ -29,9 +29,9 @@
29 29
             <BuildableReference
30 30
                BuildableIdentifier = "primary"
31 31
                BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
32
-               BuildableName = "jitsi-meet-react.app"
33
-               BlueprintName = "jitsi-meet-react"
34
-               ReferencedContainer = "container:jitsi-meet-react.xcodeproj">
32
+               BuildableName = "jitsi-meet.app"
33
+               BlueprintName = "jitsi-meet"
34
+               ReferencedContainer = "container:jitsi-meet.xcodeproj">
35 35
             </BuildableReference>
36 36
          </BuildActionEntry>
37 37
       </BuildActionEntries>
@@ -47,9 +47,9 @@
47 47
          <BuildableReference
48 48
             BuildableIdentifier = "primary"
49 49
             BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
50
-            BuildableName = "jitsi-meet-react.app"
51
-            BlueprintName = "jitsi-meet-react"
52
-            ReferencedContainer = "container:jitsi-meet-react.xcodeproj">
50
+            BuildableName = "jitsi-meet.app"
51
+            BlueprintName = "jitsi-meet"
52
+            ReferencedContainer = "container:jitsi-meet.xcodeproj">
53 53
          </BuildableReference>
54 54
       </MacroExpansion>
55 55
       <AdditionalOptions>
@@ -70,9 +70,9 @@
70 70
          <BuildableReference
71 71
             BuildableIdentifier = "primary"
72 72
             BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
73
-            BuildableName = "jitsi-meet-react.app"
74
-            BlueprintName = "jitsi-meet-react"
75
-            ReferencedContainer = "container:jitsi-meet-react.xcodeproj">
73
+            BuildableName = "jitsi-meet.app"
74
+            BlueprintName = "jitsi-meet"
75
+            ReferencedContainer = "container:jitsi-meet.xcodeproj">
76 76
          </BuildableReference>
77 77
       </BuildableProductRunnable>
78 78
       <AdditionalOptions>
@@ -89,9 +89,9 @@
89 89
          <BuildableReference
90 90
             BuildableIdentifier = "primary"
91 91
             BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
92
-            BuildableName = "jitsi-meet-react.app"
93
-            BlueprintName = "jitsi-meet-react"
94
-            ReferencedContainer = "container:jitsi-meet-react.xcodeproj">
92
+            BuildableName = "jitsi-meet.app"
93
+            BlueprintName = "jitsi-meet"
94
+            ReferencedContainer = "container:jitsi-meet.xcodeproj">
95 95
          </BuildableReference>
96 96
       </BuildableProductRunnable>
97 97
    </ProfileAction>

ios/jitsi-meet-react.xcworkspace/contents.xcworkspacedata → ios/jitsi-meet.xcworkspace/contents.xcworkspacedata Ver fichero

@@ -2,6 +2,6 @@
2 2
 <Workspace
3 3
    version = "1.0">
4 4
    <FileRef
5
-      location = "group:jitsi-meet-react.xcodeproj">
5
+      location = "group:jitsi-meet.xcodeproj">
6 6
    </FileRef>
7 7
 </Workspace>

+ 6
- 6
react/features/base/lib-jitsi-meet/_.native.js Ver fichero

@@ -20,14 +20,14 @@ import './native';
20 20
 })(global || window || this); // eslint-disable-line no-invalid-this
21 21
 
22 22
 // Re-export JitsiMeetJS from the library lib-jitsi-meet to (the other features
23
-// of) the project jitsi-meet-react.
23
+// of) the project jitsi-meet.
24 24
 //
25 25
 // TODO The Web support implemented by the jitsi-meet project explicitly uses
26 26
 // the library lib-jitsi-meet as a binary and keeps it out of the application
27
-// bundle. The mobile support implemented by the jitsi-meet-react project did
28
-// not get to keeping the lib-jitsi-meet library out of the application bundle
29
-// and even used it from source. As an intermediate step, start using the
30
-// library lib-jitsi-meet as a binary on mobile at the time of this writing. In
31
-// the future, implement not packaging it in the application bundle.
27
+// bundle. The mobile support implemented by the jitsi-meet project did not get
28
+// to keeping the lib-jitsi-meet library out of the application bundle and even
29
+// used it from source. As an intermediate step, start using the library
30
+// lib-jitsi-meet as a binary on mobile at the time of this writing. In the
31
+// future, implement not packaging it in the application bundle.
32 32
 import JitsiMeetJS from 'lib-jitsi-meet/lib-jitsi-meet.min';
33 33
 export { JitsiMeetJS as default };

+ 1
- 1
react/features/base/lib-jitsi-meet/index.js Ver fichero

@@ -1,5 +1,5 @@
1 1
 // Re-export JitsiMeetJS from the library lib-jitsi-meet to (the other features
2
-// of) the project jitsi-meet-react.
2
+// of) the project jitsi-meet.
3 3
 import JitsiMeetJS from './_';
4 4
 export { JitsiMeetJS as default };
5 5
 

+ 7
- 9
react/features/base/tracks/actions.js Ver fichero

@@ -215,8 +215,7 @@ function _getLocalTrack(tracks, mediaType) {
215 215
         track.isLocal()
216 216
 
217 217
             // XXX JitsiTrack#getType() returns a MEDIA_TYPE value in the terms
218
-            // of lib-jitsi-meet while mediaType is in the terms of
219
-            // jitsi-meet-react.
218
+            // of lib-jitsi-meet while mediaType is in the terms of jitsi-meet.
220 219
             && track.getType() === mediaType);
221 220
 }
222 221
 
@@ -275,13 +274,12 @@ function _shouldMirror(track) {
275 274
             && track.isLocal()
276 275
             && track.isVideoTrack()
277 276
 
278
-            // XXX The type of the return value of
279
-            // JitsiLocalTrack's getCameraFacingMode happens to be named
280
-            // CAMERA_FACING_MODE as well, it's defined by lib-jitsi-meet. Note
281
-            // though that the type of the value on the right side of the
282
-            // equality check is defined by jitsi-meet-react. The type
283
-            // definitions are surely compatible today but that may not be the
284
-            // case tomorrow.
277
+            // XXX The type of the return value of JitsiLocalTrack's
278
+            // getCameraFacingMode happens to be named CAMERA_FACING_MODE as
279
+            // well, it's defined by lib-jitsi-meet. Note though that the type
280
+            // of the value on the right side of the equality check is defined
281
+            // by jitsi-meet. The type definitions are surely compatible today
282
+            // but that may not be the case tomorrow.
285 283
             && track.getCameraFacingMode() === CAMERA_FACING_MODE.USER
286 284
     );
287 285
 }

+ 1
- 1
react/features/base/tracks/middleware.js Ver fichero

@@ -156,7 +156,7 @@ function _trackUpdated(store, next, action) {
156 156
     if ('muted' in track) {
157 157
         // XXX The return value of JitsiTrack.getType() is of type MEDIA_TYPE
158 158
         // that happens to be compatible with the type MEDIA_TYPE defined by
159
-        // jitsi-meet-react.
159
+        // jitsi-meet.
160 160
         mediaType = track.jitsiTrack.getType();
161 161
 
162 162
         const localTrack = _getLocalTrack(store, mediaType);

Loading…
Cancelar
Guardar