Przeglądaj źródła

ios: re-enable live streaming on iOS 10

There was a missing delegate method call into RNGoogleSignIn, which fixed this.
master
Saúl Ibarra Corretgé 6 lat temu
rodzic
commit
8e58ce7500

+ 1
- 13
react/features/recording/components/LiveStream/native/GoogleSigninForm.js Wyświetl plik

@@ -1,7 +1,7 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { Platform, Text, View } from 'react-native';
4
+import { Text, View } from 'react-native';
5 5
 import { connect } from 'react-redux';
6 6
 
7 7
 import { translate } from '../../../../base/i18n';
@@ -74,18 +74,6 @@ class GoogleSigninForm extends Component<Props> {
74 74
      * @inheritdoc
75 75
      */
76 76
     componentDidMount() {
77
-        if (Platform.OS === 'ios') {
78
-            const majorVersionIOS = parseInt(Platform.Version, 10);
79
-
80
-            if (majorVersionIOS <= 10) {
81
-                // Disable it on iOS 10 and earlier, since it doesn't work
82
-                // properly.
83
-                this._setApiState(GOOGLE_API_STATES.NOT_AVAILABLE);
84
-
85
-                return;
86
-            }
87
-        }
88
-
89 77
         googleApi.hasPlayServices()
90 78
             .then(() => {
91 79
                 googleApi.configure({

Ładowanie…
Anuluj
Zapisz