|
@@ -1,8 +1,7 @@
|
1
|
1
|
import { Platform } from '../react';
|
2
|
2
|
|
3
|
3
|
import {
|
4
|
|
- MobileBrowserPage,
|
5
|
|
- UnsupportedBrowserPage
|
|
4
|
+ MobileBrowserPage
|
6
|
5
|
} from '../../unsupported-browser';
|
7
|
6
|
|
8
|
7
|
/**
|
|
@@ -33,19 +32,6 @@ const RULES = [
|
33
|
32
|
if ((OS === 'android' || OS === 'ios') && !mobileBrowserPageIsShown) {
|
34
|
33
|
return MobileBrowserPage;
|
35
|
34
|
}
|
36
|
|
- },
|
37
|
|
-
|
38
|
|
- /**
|
39
|
|
- * This rule describes case when user opens application using web browser
|
40
|
|
- * that doesn't support WebRTC or Temasys plugin should be installed.
|
41
|
|
- *
|
42
|
|
- * @returns {UnsupportedBrowserPage|void} If the rule is satisfied
|
43
|
|
- * then we should intercept existing component by UnsupportedBrowserPage.
|
44
|
|
- */
|
45
|
|
- () => {
|
46
|
|
- if (true) {
|
47
|
|
- return UnsupportedBrowserPage;
|
48
|
|
- }
|
49
|
35
|
}
|
50
|
36
|
];
|
51
|
37
|
|