소스 검색

rn: drop support for no longer supported deployments

master
Saúl Ibarra Corretgé 6 년 전
부모
커밋
342718f673
4개의 변경된 파일1개의 추가작업 그리고 58개의 파일을 삭제
  1. 0
    4
      android/app/src/main/AndroidManifest.xml
  2. 0
    4
      ios/app/app.entitlements
  3. 0
    4
      react/features/base/known-domains/reducer.js
  4. 1
    46
      react/features/base/util/uri.js

+ 0
- 4
android/app/src/main/AndroidManifest.xml 파일 보기

23
         <action android:name="android.intent.action.VIEW" />
23
         <action android:name="android.intent.action.VIEW" />
24
         <category android:name="android.intent.category.BROWSABLE" />
24
         <category android:name="android.intent.category.BROWSABLE" />
25
         <category android:name="android.intent.category.DEFAULT" />
25
         <category android:name="android.intent.category.DEFAULT" />
26
-        <data android:host="beta.hipchat.me" android:scheme="https" />
27
         <data android:host="beta.meet.jit.si" android:scheme="https" />
26
         <data android:host="beta.meet.jit.si" android:scheme="https" />
28
-        <data android:host="chaos.hipchat.me" android:scheme="https" />
29
-        <data android:host="enso.me" android:scheme="https" />
30
-        <data android:host="hipchat.me" android:scheme="https" />
31
         <data android:host="meet.jit.si" android:scheme="https" />
27
         <data android:host="meet.jit.si" android:scheme="https" />
32
       </intent-filter>
28
       </intent-filter>
33
       <intent-filter>
29
       <intent-filter>

+ 0
- 4
ios/app/app.entitlements 파일 보기

5
 	<key>com.apple.developer.associated-domains</key>
5
 	<key>com.apple.developer.associated-domains</key>
6
 	<array>
6
 	<array>
7
 		<string>applinks:beta.meet.jit.si</string>
7
 		<string>applinks:beta.meet.jit.si</string>
8
-		<string>applinks:beta.hipchat.me</string>
9
-		<string>applinks:chaos.hipchat.me</string>
10
-		<string>applinks:enso.me</string>
11
-		<string>applinks:hipchat.me</string>
12
 		<string>applinks:meet.jit.si</string>
8
 		<string>applinks:meet.jit.si</string>
13
 	</array>
9
 	</array>
14
 </dict>
10
 </dict>

+ 0
- 4
react/features/base/known-domains/reducer.js 파일 보기

17
  * out of the Andorid manifest.
17
  * out of the Andorid manifest.
18
  */
18
  */
19
 export const DEFAULT_STATE = [
19
 export const DEFAULT_STATE = [
20
-    'beta.hipchat.me',
21
     'beta.meet.jit.si',
20
     'beta.meet.jit.si',
22
-    'chaos.hipchat.me',
23
-    'enso.me',
24
-    'hipchat.me',
25
     'meet.jit.si'
21
     'meet.jit.si'
26
 ];
22
 ];
27
 
23
 

+ 1
- 46
react/features/base/util/uri.js 파일 보기

57
         : room;
57
         : room;
58
 }
58
 }
59
 
59
 
60
-/**
61
- * Fixes the hier-part of a specific URI (string) so that the URI is well-known.
62
- * For example, certain Jitsi Meet deployments are not conventional but it is
63
- * possible to translate their URLs into conventional.
64
- *
65
- * @param {string} uri - The URI (string) to fix the hier-part of.
66
- * @private
67
- * @returns {string}
68
- */
69
-function _fixURIStringHierPart(uri) {
70
-    // Rewrite the specified URL in order to handle special cases such as
71
-    // hipchat.com and enso.me which do not follow the common pattern of most
72
-    // Jitsi Meet deployments.
73
-
74
-    // hipchat.com
75
-    let regex
76
-        = new RegExp(
77
-            `^${URI_PROTOCOL_PATTERN}//hipchat\\.com/video/call/`,
78
-            'gi');
79
-    let match: Array<string> | null = regex.exec(uri);
80
-
81
-    if (!match) {
82
-        // enso.me
83
-        regex
84
-            = new RegExp(
85
-                `^${URI_PROTOCOL_PATTERN}//enso\\.me/(?:call|meeting)/`,
86
-                'gi');
87
-        match = regex.exec(uri);
88
-    }
89
-    if (match) {
90
-        /* eslint-disable no-param-reassign, prefer-template */
91
-
92
-        uri
93
-            = match[1] /* protocol */
94
-                + '//enso.hipchat.me/'
95
-                + uri.substring(regex.lastIndex); /* room (name) */
96
-
97
-        /* eslint-enable no-param-reassign, prefer-template */
98
-    }
99
-
100
-    return uri;
101
-}
102
-
103
 /**
60
 /**
104
  * Fixes the scheme part of a specific URI (string) so that it contains a
61
  * Fixes the scheme part of a specific URI (string) so that it contains a
105
  * well-known scheme such as HTTP(S). For example, the mobile app implements an
62
  * well-known scheme such as HTTP(S). For example, the mobile app implements an
316
         return undefined;
273
         return undefined;
317
     }
274
     }
318
 
275
 
319
-    const obj
320
-        = parseStandardURIString(
321
-            _fixURIStringHierPart(_fixURIStringScheme(uri)));
276
+    const obj = parseStandardURIString(_fixURIStringScheme(uri));
322
 
277
 
323
     // Add the properties that are specific to a Jitsi Meet resource (location)
278
     // Add the properties that are specific to a Jitsi Meet resource (location)
324
     // such as contextRoot, room:
279
     // such as contextRoot, room:

Loading…
취소
저장