Skip to content

Commit

Permalink
ios: re-enable live streaming on iOS 10
Browse files Browse the repository at this point in the history
There was a missing delegate method call into RNGoogleSignIn, which fixed this.
  • Loading branch information
saghul committed Jan 25, 2019
1 parent 37d3625 commit 8e58ce7
Showing 1 changed file with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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({
Expand Down

0 comments on commit 8e58ce7

Please sign in to comment.