From d7ecfc3ac6276b5c23ecd89349100195a8944025 Mon Sep 17 00:00:00 2001 From: Jordi Ramon Date: Thu, 16 Feb 2023 09:06:03 -0800 Subject: [PATCH] Bumping Unity SDK version to 16.0.0 Summary: Bumped Unity SDK and native SDKs to 16.0.0 Also, bumped Graph API to 16.0 Reviewed By: SergioGuerreroFB Differential Revision: D43346951 fbshipit-source-id: 9b28f814d413acafc1735607dc85f6b976b7c6c6 --- CHANGELOG.md | 15 ++++++++++---- .../Properties/AssemblyInfo.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- Facebook.Unity.IOS/Properties/AssemblyInfo.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- Facebook.Unity/Constants.cs | 2 +- Facebook.Unity/FacebookSdkVersion.cs | 2 +- Facebook.Unity/Properties/AssemblyInfo.cs | 2 +- .../Plugins/Editor/Dependencies.xml | 20 +++++++++---------- facebook-android-wrapper/build.gradle | 4 ++-- scripts/build.properties | 4 ++-- 16 files changed, 37 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6cc4f0c1..b9773081 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,21 +5,27 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [15.2.0] +## [16.0.0] ### Added - Windows platform methods - FB.Windows.CreateReferral - FB.Windows.GetDataReferral += Android Cloud + - Android Cloud Unity example + - Subscriptions payments methods ### Fixed - Payments price convertion to double -- Improved mobile orientation enum for unity example +- Improved mobile orientation enum for Unity example - Improved mobile Tournaments example ### Changed +- Bumped SDK to 16.0.0 +- Bumped Android SDK versions to 16.0.0 +- Bumped iOS SDK versions to 16.0.0 +- Bumped Graph API version to 16.0 - Updated Windows SDK Dlls -- Bumped android SDK versions to 15.2 ## [15.1.0] @@ -304,7 +310,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Facebook Developer Docs: [Changelog v7.x](https://developers.facebook.com/docs/unity/change-log) -[15.1.0]: https://github.com/facebook/facebook-sdk-for-unity/compare/sdk-version-14.1.0...HEAD +[16.0.0]: https://github.com/facebook/facebook-sdk-for-unity/compare/sdk-version-15.1.0...HEAD +[15.1.0]: https://github.com/facebook/facebook-sdk-for-unity/compare/sdk-version-15.0.0...sdk-version-15.1.0 [15.0.0]: https://github.com/facebook/facebook-sdk-for-unity/compare/sdk-version-14.1.0...sdk-version-15.0.0 [14.1.0]: https://github.com/facebook/facebook-sdk-for-unity/compare/sdk-version-14.0.0...sdk-version-14.1.0 [14.0.0]: https://github.com/facebook/facebook-sdk-for-unity/compare/sdk-version-13.2.0...sdk-version-14.0.0 diff --git a/Facebook.Unity.Android.StrippingHack/Properties/AssemblyInfo.cs b/Facebook.Unity.Android.StrippingHack/Properties/AssemblyInfo.cs index 78a8d382..ca236523 100644 --- a/Facebook.Unity.Android.StrippingHack/Properties/AssemblyInfo.cs +++ b/Facebook.Unity.Android.StrippingHack/Properties/AssemblyInfo.cs @@ -21,4 +21,4 @@ using System.Reflection; using System.Runtime.CompilerServices; -[assembly: AssemblyVersion("15.2.0")] +[assembly: AssemblyVersion("16.0.0")] diff --git a/Facebook.Unity.Android/Properties/AssemblyInfo.cs b/Facebook.Unity.Android/Properties/AssemblyInfo.cs index 78a8d382..ca236523 100644 --- a/Facebook.Unity.Android/Properties/AssemblyInfo.cs +++ b/Facebook.Unity.Android/Properties/AssemblyInfo.cs @@ -21,4 +21,4 @@ using System.Reflection; using System.Runtime.CompilerServices; -[assembly: AssemblyVersion("15.2.0")] +[assembly: AssemblyVersion("16.0.0")] diff --git a/Facebook.Unity.Canvas/Properties/AssemblyInfo.cs b/Facebook.Unity.Canvas/Properties/AssemblyInfo.cs index 78a8d382..ca236523 100644 --- a/Facebook.Unity.Canvas/Properties/AssemblyInfo.cs +++ b/Facebook.Unity.Canvas/Properties/AssemblyInfo.cs @@ -21,4 +21,4 @@ using System.Reflection; using System.Runtime.CompilerServices; -[assembly: AssemblyVersion("15.2.0")] +[assembly: AssemblyVersion("16.0.0")] diff --git a/Facebook.Unity.Editor/Properties/AssemblyInfo.cs b/Facebook.Unity.Editor/Properties/AssemblyInfo.cs index 78a8d382..ca236523 100644 --- a/Facebook.Unity.Editor/Properties/AssemblyInfo.cs +++ b/Facebook.Unity.Editor/Properties/AssemblyInfo.cs @@ -21,4 +21,4 @@ using System.Reflection; using System.Runtime.CompilerServices; -[assembly: AssemblyVersion("15.2.0")] +[assembly: AssemblyVersion("16.0.0")] diff --git a/Facebook.Unity.IOS.StrippingHack/Properties/AssemblyInfo.cs b/Facebook.Unity.IOS.StrippingHack/Properties/AssemblyInfo.cs index 78a8d382..ca236523 100644 --- a/Facebook.Unity.IOS.StrippingHack/Properties/AssemblyInfo.cs +++ b/Facebook.Unity.IOS.StrippingHack/Properties/AssemblyInfo.cs @@ -21,4 +21,4 @@ using System.Reflection; using System.Runtime.CompilerServices; -[assembly: AssemblyVersion("15.2.0")] +[assembly: AssemblyVersion("16.0.0")] diff --git a/Facebook.Unity.IOS/Properties/AssemblyInfo.cs b/Facebook.Unity.IOS/Properties/AssemblyInfo.cs index 78a8d382..ca236523 100644 --- a/Facebook.Unity.IOS/Properties/AssemblyInfo.cs +++ b/Facebook.Unity.IOS/Properties/AssemblyInfo.cs @@ -21,4 +21,4 @@ using System.Reflection; using System.Runtime.CompilerServices; -[assembly: AssemblyVersion("15.2.0")] +[assembly: AssemblyVersion("16.0.0")] diff --git a/Facebook.Unity.Settings/Properties/AssemblyInfo.cs b/Facebook.Unity.Settings/Properties/AssemblyInfo.cs index 78a8d382..ca236523 100644 --- a/Facebook.Unity.Settings/Properties/AssemblyInfo.cs +++ b/Facebook.Unity.Settings/Properties/AssemblyInfo.cs @@ -21,4 +21,4 @@ using System.Reflection; using System.Runtime.CompilerServices; -[assembly: AssemblyVersion("15.2.0")] +[assembly: AssemblyVersion("16.0.0")] diff --git a/Facebook.Unity.Tests/Properties/AssemblyInfo.cs b/Facebook.Unity.Tests/Properties/AssemblyInfo.cs index 78a8d382..ca236523 100644 --- a/Facebook.Unity.Tests/Properties/AssemblyInfo.cs +++ b/Facebook.Unity.Tests/Properties/AssemblyInfo.cs @@ -21,4 +21,4 @@ using System.Reflection; using System.Runtime.CompilerServices; -[assembly: AssemblyVersion("15.2.0")] +[assembly: AssemblyVersion("16.0.0")] diff --git a/Facebook.Unity.Windows/Properties/AssemblyInfo.cs b/Facebook.Unity.Windows/Properties/AssemblyInfo.cs index 78a8d382..ca236523 100644 --- a/Facebook.Unity.Windows/Properties/AssemblyInfo.cs +++ b/Facebook.Unity.Windows/Properties/AssemblyInfo.cs @@ -21,4 +21,4 @@ using System.Reflection; using System.Runtime.CompilerServices; -[assembly: AssemblyVersion("15.2.0")] +[assembly: AssemblyVersion("16.0.0")] diff --git a/Facebook.Unity/Constants.cs b/Facebook.Unity/Constants.cs index 4cea249f..05225465 100644 --- a/Facebook.Unity/Constants.cs +++ b/Facebook.Unity/Constants.cs @@ -45,7 +45,7 @@ internal static class Constants public const string OnGroupJoinCompleteMethodName = "OnJoinGroupComplete"; // Graph API - public const string GraphApiVersion = "v15.0"; + public const string GraphApiVersion = "v16.0"; public const string GraphUrlFormat = "https://graph.{0}/{1}/"; // Permission Strings diff --git a/Facebook.Unity/FacebookSdkVersion.cs b/Facebook.Unity/FacebookSdkVersion.cs index 16543000..da1f9328 100644 --- a/Facebook.Unity/FacebookSdkVersion.cs +++ b/Facebook.Unity/FacebookSdkVersion.cs @@ -33,7 +33,7 @@ public static string Build { get { - return "15.2.0"; + return "16.0.0"; } } } diff --git a/Facebook.Unity/Properties/AssemblyInfo.cs b/Facebook.Unity/Properties/AssemblyInfo.cs index 48cad3fb..5f1773fb 100644 --- a/Facebook.Unity/Properties/AssemblyInfo.cs +++ b/Facebook.Unity/Properties/AssemblyInfo.cs @@ -21,7 +21,7 @@ using System.Reflection; using System.Runtime.CompilerServices; -[assembly: AssemblyVersion("15.2.0")] +[assembly: AssemblyVersion("16.0.0")] [assembly: InternalsVisibleTo("Assembly-CSharp")] [assembly: InternalsVisibleTo("Facebook.Unity.Android")] [assembly: InternalsVisibleTo("Facebook.Unity.Canvas")] diff --git a/UnitySDK/Assets/FacebookSDK/Plugins/Editor/Dependencies.xml b/UnitySDK/Assets/FacebookSDK/Plugins/Editor/Dependencies.xml index 1171e611..ad27b63d 100644 --- a/UnitySDK/Assets/FacebookSDK/Plugins/Editor/Dependencies.xml +++ b/UnitySDK/Assets/FacebookSDK/Plugins/Editor/Dependencies.xml @@ -2,17 +2,17 @@ - - - - - + + + + + - - - - - + + + + + diff --git a/facebook-android-wrapper/build.gradle b/facebook-android-wrapper/build.gradle index 12a3c1ec..e192389b 100644 --- a/facebook-android-wrapper/build.gradle +++ b/facebook-android-wrapper/build.gradle @@ -32,7 +32,7 @@ buildscript { } } -def fbSdkVersion = project.hasProperty("sdkVersion") ? sdkVersion : '15.2.0' +def fbSdkVersion = project.hasProperty("sdkVersion") ? sdkVersion : '16.0.0' repositories { // use skycastle custom repo @@ -54,7 +54,7 @@ repositories { } dependencies { - implementation 'com.facebook.android:facebook-android-sdk:[15.2.0,16)' + implementation 'com.facebook.android:facebook-android-sdk:[16.0.0,17)' // enable local testing if (project.hasProperty("localRepo")) { diff --git a/scripts/build.properties b/scripts/build.properties index 023e2f33..a7158db5 100644 --- a/scripts/build.properties +++ b/scripts/build.properties @@ -15,9 +15,9 @@ # COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -UNITY_SDK_BUILD_VERSION='15.2.0' +UNITY_SDK_BUILD_VERSION='16.0.0' -FB_ANDROID_SDK_VERSION='15.2.0' +FB_ANDROID_SDK_VERSION='16.0.0' FB_ANDROID_SDK_PATH=~/fbsource/fbandroid/first-party/java/androidsdk FB_IOS_SDK_PATH=~/fbsource/fbobjc/ios-sdk/build