ios: re-enable live streaming on iOS 10

There was a missing delegate method call into RNGoogleSignIn, which fixed this.
This commit is contained in:
Saúl Ibarra Corretgé 2019-01-24 15:41:55 +01:00 committed by Saúl Ibarra Corretgé
parent 37d3625210
commit 8e58ce7500
1 changed files with 1 additions and 13 deletions

View File

@ -1,7 +1,7 @@
// @flow
import React, { Component } from 'react';
import { Platform, Text, View } from 'react-native';
import { Text, View } from 'react-native';
import { connect } from 'react-redux';
import { translate } from '../../../../base/i18n';
@ -74,18 +74,6 @@ class GoogleSigninForm extends Component<Props> {
* @inheritdoc
*/
componentDidMount() {
if (Platform.OS === 'ios') {
const majorVersionIOS = parseInt(Platform.Version, 10);
if (majorVersionIOS <= 10) {
// Disable it on iOS 10 and earlier, since it doesn't work
// properly.
this._setApiState(GOOGLE_API_STATES.NOT_AVAILABLE);
return;
}
}
googleApi.hasPlayServices()
.then(() => {
googleApi.configure({