Releases: lupidan/apple-signin-unity
1.5.0
CHANGELOG
Breaking ⚠️ ⚠️ ⚠️
- GitHub import URL updated. The package must now be imported using a
?path=SourceURL suffix, and tags no longer include avprefix. This is a breaking change for users importing directly from GitHub.
Previous GitHub import (before 1.5.0):
Updated GitHub import (starting from 1.5.0):
"dependencies": {
"com.lupidan.apple-signin-unity": "https://github.com/lupidan/apple-signin-unity.git?path=Source#1.5.0"
}Changed
- Fixed issue with native files not being included in visionOS builds.
- Fixed issue with header files not being included in tvOS builds.
- Reworked package structure and folders to more closely follow Unity's package layout guidelines.
- Updated macOS helper method in
AppleAuthMacosPostprocessorHelper.FixManagerBundleIdentifierto better locate the.appor.xcodeprojbundle.
Removed
- Removed unnecessary
.metafiles inside theMacOSAppleAuthManager.bundleto avoid unintended asset import or warnings in Unity.
v1.4.4
Changed
- Updates
AddSignInWithAppleWithCompatibilityto support new public constructor forPBXCapabilityTypeintroduced in Unity 6000.0.23f1 - Updates
AddSignInWithAppleWithCompatibilityto automatically handle the target to add the compatibility and add the framework. It´s no longer required to provide manually the Unity Framework target. - Added basic support for visionOS
- Increased minimum Unity Version to 2020.3.48f1
v1.4.3
v1.4.2
Changed
- Handles empty
NSPersonNameComponentssent by Apple when not requesting a name, to benilnatively. - Updated
MacOSAppleAuthManager.bundlewith the updated native code
Removed
- Removes
FixSerializationForFullPersonNameand any usage of it when deserializing to avoid NRE
v1.4.1
v1.4.0
Added
- Adds static class
AppleAuthMacosPostprocessorHelper, so now there should always be an AppleAuth.Editor namespace independent of the current platform. - Adds static method to
AppleAuthMacosPostprocessorHelper,FixManagerBundleIdentifieris a method to change the plugin's bundle identifier to a custom one based on the current project's application identifier. This should avoid CFBundleIdentifier collision errors when uploading to the MacOS App Store. - Adds enum value for
LoginOptionsto not request full name or email,LoginOptions.None.
Changed
- Updates sample code Postprocessor script to support the new recommended post processing for macOS builds
v1.3.0
Added
- Adds support to set the
Statewhen making a Login or a Quick Login request to sign in with Apple. - Improves deserialization for the data.
Changed
- Makes the parsed classes
internalto force the usage of the interfaces. - Minor changes for lower C# compatibility
GetAuthorizationErrorCodeno longer returns a nullable reference type. If the error can't be obtained, it returnsUnknowninstead.
v1.2.0
MIGRATION GUIDES
https://github.com/lupidan/apple-signin-unity/wiki/Migration-guides
Added
- Updates native code to support macOS, including NSPersonNameComponents support.
- Adds Xcode project
MacOSAppleAuthManager/MacOSAppleAuthManager.xcodeprojto generateMacOSAppleAuthManager.bundlereusing existing iOS objective-c files. Bundle identifier iscom.lupidan.MacOSAppleAuthManager. Minimum macOS version supported is 10.9. - Makes it so compiling the Xcode project automatically updates the
MacOSAppleAuthManager.bundleinsideAppleAuth/Native/macOS - Adds unsigned precompiled
MacOSAppleAuthManager.bundle. - Adds
LandscapeSampleScene.unityscene for a Landscape version to use on macOS builds. - Adds
macOS_NOTES.mdreadme dedicated to macOS codesigning. - Adds details to install the plugin with
in
README.md
Changed
- Fixes PostProcessing for Unity 2019.3
- Renamed plugin´s extension method for
ProjectCapabilityManagerto avoid conflicts with the method added in Unity 2019.3. New method name isAddSignInWithAppleWithCompatibility. - Namespace
AppleAuth.IOS.NativeMessagesbecomesAppleAuth.NativeMessages - Modified slightly implementation for Person name formatting
- Modified native implementation of AppleAuthManager to support macOS
v1.1.0
MIGRATION GUIDE 1.0.0 to 1.1.0
https://github.com/lupidan/apple-signin-unity/wiki/Migration-guides
Added
- Adds a CHANGELOG.md file
- Adds support for tvOS (Experimental)
- Adds new v2 diagram files (
.drawioand.png) - Adds
AppleAuthQuickLoginArgsstruct containing arguments for Quick Login. (With optionalNonce) - Adds
AppleAuthLoginArgsstructure containing arguments for Normal Login likeLoginOptions. (With optionalNonce) - Adds support in native code to receive and set a
Noncefor the Authorization Requests in both Quick Login and Sign in With Apple - Adds
Updatemethod toIAppleAuthManagerto update pending callbacks - Better API version handling in native objective-c code
Changed
-
Namespace
AppleAuth.IOSbecomesAppleAuth -
Namespace
AppleAuth.IOS.EnumsbecomesAppleAuth.Enums -
Namespace
AppleAuth.IOS.ExtensionsbecomesAppleAuth.Extensions -
Namespace
AppleAuth.IOS.InterfacesbecomesAppleAuth.Interfaces -
Namespace
AppleAuth.IOS.InterfacesbecomesAppleAuth.Interfaces -
QuickLoginnow requires aAppleAuthQuickLoginArgsto perform the call. OtherQuickLoginmethod marked as obsolete. -
LoginWithAppleIdnow requires aAppleAuthLoginArgsto perform the call. OtherLoginWithAppleIdmethod marked as obsolete. -
AppleAuthManagerno longer requires a Scheduler, the scheduling is built in the manager instance with the methodUpdate -
When receiving a completely empty
FullPersonName, the instance is cleared after deserialization. -
Fixes bug when setting credentials revoked callback between multiple instances of
AppleAuthManager -
Updates main package file to include both
CHANGELOG.mdandCHANGELOG.md.meta files -
Updates the sample project to better resemble the expected Apple flow
-
Updates README.md with up to date documentation
Removed
- Removes Schedulers to simplify the callback handling.
Updatecall was moved toIAppleAuthManager.