Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v10.06 #2779

Merged
merged 2 commits into from
Nov 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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