Skip to content

Commit

Permalink
Merge pull request #2779 from ozdemir08/master
Browse files Browse the repository at this point in the history
Release v10.06
  • Loading branch information
olehkuznetsov authored Nov 8, 2019
2 parents 873b57b + 1a1dc88 commit 4b93bd5
Show file tree
Hide file tree
Showing 19 changed files with 40 additions and 12 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
Version 0.10.06
Bug fixes:
* #2776 Crashes due to uninstalled Play Games App.
* #2766, #2772 Android SDK path detection in versions older than 2019.x.

Version 0.10.05
Bug fixes:
* #2753 VersionHandlerImpl.UpdateVersionedAssets not found.
* Fixed the issues caused by Nearby and RTMP callbacks not being on the main thread.
* Fixed detecting AndroidSdkRoot when unity embedded is used.

Version 0.10.04
Bug fixes:
* Updated the way of handling requests to prevent them being processed twice.
Expand Down
Binary file not shown.
Binary file not shown.
Binary file modified samples/CubicPilot/CubicPilot.unitypackage
Binary file not shown.
Binary file modified samples/Minimal/Minimal.unitypackage
Binary file not shown.
Binary file modified samples/NearbyDroids/NearbyDroids.unitypackage
Binary file not shown.
Binary file modified samples/QuizRacer/QuizRacer.unitypackage
Binary file not shown.
Binary file modified samples/SmokeTest/SmokeTest.unitypackage
Binary file not shown.
Binary file modified samples/TicTacToe/TicTacToe.unitypackage
Binary file not shown.
6 changes: 3 additions & 3 deletions source/PluginDev/Assets/GooglePlayGames/PluginVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ namespace GooglePlayGames
public class PluginVersion
{
// Current Version.
public const int VersionInt = 0x01005;
public const string VersionString = "0.10.05";
public const string VersionKey = "01005";
public const int VersionInt = 0x01006;
public const string VersionString = "0.10.06";
public const string VersionKey = "01006";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void process(final HelperFragment helperFragment) {
new OnSuccessListener<Intent>() {
@Override
public void onSuccess(Intent intent) {
helperFragment.startActivityForResult(intent, HelperFragment.RC_SELECT_OPPONENTS_UI);
Utils.startActivityForResult(helperFragment, intent, HelperFragment.RC_SELECT_OPPONENTS_UI);
}
})
.addOnFailureListener(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void process(final HelperFragment helperFragment) {
new OnSuccessListener<Intent>() {
@Override
public void onSuccess(Intent intent) {
helperFragment.startActivityForResult(intent, HelperFragment.RC_CAPTURE_OVERLAY_UI);
Utils.startActivityForResult(helperFragment, intent, HelperFragment.RC_CAPTURE_OVERLAY_UI);
helperFragment.finishRequest(CaptureOverlayUiRequest.this);
}
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void process(final HelperFragment helperFragment) {
new OnSuccessListener<Intent>() {
@Override
public void onSuccess(Intent intent) {
helperFragment.startActivityForResult(intent, HelperFragment.RC_INBOX_UI);
Utils.startActivityForResult(helperFragment, intent, HelperFragment.RC_INBOX_UI);
}
})
.addOnFailureListener(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void process(final HelperFragment helperFragment) {
new OnSuccessListener<Intent>() {
@Override
public void onSuccess(Intent intent) {
helperFragment.startActivityForResult(intent, HelperFragment.RC_SELECT_SNAPSHOT_UI);
Utils.startActivityForResult(helperFragment, intent, HelperFragment.RC_SELECT_SNAPSHOT_UI);
}
})
.addOnFailureListener(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void process(final HelperFragment helperFragment) {
new OnSuccessListener<Intent>() {
@Override
public void onSuccess(Intent intent) {
helperFragment.startActivityForResult(intent, HelperFragment.RC_SHOW_INVITATION_INBOX_UI);
Utils.startActivityForResult(helperFragment, intent, HelperFragment.RC_SHOW_INVITATION_INBOX_UI);
}
})
.addOnFailureListener(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void process(final HelperFragment helperFragment) {
new OnSuccessListener<Intent>() {
@Override
public void onSuccess(Intent intent) {
helperFragment.startActivityForResult(intent, HelperFragment.RC_SHOW_WAITING_ROOM_UI);
Utils.startActivityForResult(helperFragment, intent, HelperFragment.RC_SHOW_WAITING_ROOM_UI);
}
})
.addOnFailureListener(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void process(final HelperFragment helperFragment) {
new OnSuccessListener<Intent>() {
@Override
public void onSuccess(Intent intent) {
helperFragment.startActivityForResult(intent, HelperFragment.RC_SIMPLE_UI);
Utils.startActivityForResult(helperFragment, intent, HelperFragment.RC_SIMPLE_UI);
}
})
.addOnFailureListener(
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package com.google.games.bridge;

import android.app.Fragment;
import android.content.ActivityNotFoundException;
import android.content.Intent;
import android.util.Log;

/**
* Utility functions
*/
public final class Utils {

private static final String TAG = "Utils";

private Utils() {}

public static void startActivityForResult(Fragment fragment, Intent intent, int requestCode) {
try {
fragment.startActivityForResult(intent, requestCode);
} catch (ActivityNotFoundException e) {
Log.e(TAG,"Activity not found. Please install Play Games App.");
}
}
}
2 changes: 1 addition & 1 deletion source/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ project.ext {
samplesBuildSrc = file('build/sampleSrc').absolutePath
exportPath = file('build/plugin.unitypackage').absolutePath
currentPluginPath = file('../current-build').absolutePath
currentPluginVersion = "0.10.05"
currentPluginVersion = "0.10.06"
currentPluginBasename = 'GooglePlayGamesPlugin'
currentPluginName = "${currentPluginBasename}-${currentPluginVersion}.unitypackage"
resolverDir = new File('build/jarresolver').absolutePath
Expand Down

0 comments on commit 4b93bd5

Please sign in to comment.