Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
#118 App Crash
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Oct 14, 2015
1 parent 62b690a commit 3ae2d02
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/android/GooglePlus.java
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,9 @@ public void onConnectionFailed(ConnectionResult result) {
@Override
public void onActivityResult(int requestCode, final int resultCode, final Intent intent) {
super.onActivityResult(requestCode, resultCode, intent);
if (mGoogleApiClient == null) {
buildGoogleApiClient();
}
if (!mGoogleApiClient.isConnected() && resultCode == Activity.RESULT_OK) {
mGoogleApiClient.connect();
} else if (resultCode == Activity.RESULT_OK) {
Expand Down

0 comments on commit 3ae2d02

Please sign in to comment.