-
Notifications
You must be signed in to change notification settings - Fork 38
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
Initial change for Auth Google/IO changes to just fix the compiler error #680
Merged
chkuang-g
merged 3 commits into
feature/auth_unity_googleio_23
from
feature/auth_googleio_23_compiler_error
Apr 20, 2023
Merged
Initial change for Auth Google/IO changes to just fix the compiler error #680
chkuang-g
merged 3 commits into
feature/auth_unity_googleio_23
from
feature/auth_googleio_23_compiler_error
Apr 20, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If a function name ends with `_DEPRECATED` and returns a Task, append `Async_DEPRECATED` to the function name, instead of `_DEPRECATEDAsync`.
chkuang-g
changed the title
Feature/auth googleio 23 compiler error
Initial change for Auth Google/IO changes to just fix the compiler error
Apr 20, 2023
- Remove `PhoneAuthProvider.MaxTimeoutMs` - Wire the following function to new C++ impl - `Firebase.Auth.FirebaseAuth.CurrentUser` - `Firebase.Auth.FirebaseUser.ProviderData` - Deprecated the following function - Firebase.Auth.FirebaseAuth.SignInWithCustomTokenAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInWithCredentialAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInAndRetrieveDataWithCredentialAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInAnonymouslyAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInWithEmailAndPasswordAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.CreateUserWithEmailAndPasswordAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInWithProviderAsync_DEPRECATED - Firebase.Auth.FirebaseUser.ReauthenticateWithProviderAsync_DEPRECATED - Firebase.Auth.FirebaseUser.LinkWithProviderAsync_DEPRECATED - Added C# impl for new `PhoneAuthOptions` class - Placeholder impl for `PhoneAuthListenerImpl.OnVerificationCompleted(PhoneAuthCredential)`
chkuang-g
force-pushed
the
feature/auth_googleio_23_compiler_error
branch
from
April 20, 2023 20:19
e1d0fbb
to
9949c0c
Compare
DellaBitta
approved these changes
Apr 20, 2023
line = regexp.sub(r'\g<1>\g<2>Async\g<3>', line) | ||
if function_name.endswith('_DEPRECATED'): | ||
# Swap the location of 'Async' and '_DEPRECATED' | ||
line = line.replace('_DEPRECATEDAsync', 'Async_DEPRECATED') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ouch. :) Thanks for doing that!
chkuang-g
added a commit
that referenced
this pull request
Apr 29, 2023
…ror (#680) Initial change to make sure Unity SDK can compile against C++ Auth feature branch. Integration test is expected to be broken since it is pointing to C++ main and Unity integration test is not update. This change includes: - Update SWIG postprocess to rename deprecated functions which returns a `Task` - Remove `PhoneAuthProvider.MaxTimeoutMs` - Wire the following function to new C++ impl - `Firebase.Auth.FirebaseAuth.CurrentUser` - `Firebase.Auth.FirebaseUser.ProviderData` - Deprecated the following function - Firebase.Auth.FirebaseAuth.SignInWithCustomTokenAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInWithCredentialAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInAndRetrieveDataWithCredentialAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInAnonymouslyAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInWithEmailAndPasswordAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.CreateUserWithEmailAndPasswordAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInWithProviderAsync_DEPRECATED - Firebase.Auth.FirebaseUser.ReauthenticateWithProviderAsync_DEPRECATED - Firebase.Auth.FirebaseUser.LinkWithProviderAsync_DEPRECATED - Added C# impl for new `PhoneAuthOptions` class - Placeholder impl for `PhoneAuthListenerImpl.OnVerificationCompleted(PhoneAuthCredential)`
chkuang-g
added a commit
that referenced
this pull request
Apr 29, 2023
…ror (#680) Initial change to make sure Unity SDK can compile against C++ Auth feature branch. Integration test is expected to be broken since it is pointing to C++ main and Unity integration test is not update. This change includes: - Update SWIG postprocess to rename deprecated functions which returns a `Task` - Remove `PhoneAuthProvider.MaxTimeoutMs` - Wire the following function to new C++ impl - `Firebase.Auth.FirebaseAuth.CurrentUser` - `Firebase.Auth.FirebaseUser.ProviderData` - Deprecated the following function - Firebase.Auth.FirebaseAuth.SignInWithCustomTokenAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInWithCredentialAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInAndRetrieveDataWithCredentialAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInAnonymouslyAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInWithEmailAndPasswordAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.CreateUserWithEmailAndPasswordAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInWithProviderAsync_DEPRECATED - Firebase.Auth.FirebaseUser.ReauthenticateWithProviderAsync_DEPRECATED - Firebase.Auth.FirebaseUser.LinkWithProviderAsync_DEPRECATED - Added C# impl for new `PhoneAuthOptions` class - Placeholder impl for `PhoneAuthListenerImpl.OnVerificationCompleted(PhoneAuthCredential)`
chkuang-g
added a commit
that referenced
this pull request
May 3, 2023
…ror (#680) Initial change to make sure Unity SDK can compile against C++ Auth feature branch. Integration test is expected to be broken since it is pointing to C++ main and Unity integration test is not update. This change includes: - Update SWIG postprocess to rename deprecated functions which returns a `Task` - Remove `PhoneAuthProvider.MaxTimeoutMs` - Wire the following function to new C++ impl - `Firebase.Auth.FirebaseAuth.CurrentUser` - `Firebase.Auth.FirebaseUser.ProviderData` - Deprecated the following function - Firebase.Auth.FirebaseAuth.SignInWithCustomTokenAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInWithCredentialAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInAndRetrieveDataWithCredentialAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInAnonymouslyAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInWithEmailAndPasswordAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.CreateUserWithEmailAndPasswordAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInWithProviderAsync_DEPRECATED - Firebase.Auth.FirebaseUser.ReauthenticateWithProviderAsync_DEPRECATED - Firebase.Auth.FirebaseUser.LinkWithProviderAsync_DEPRECATED - Added C# impl for new `PhoneAuthOptions` class - Placeholder impl for `PhoneAuthListenerImpl.OnVerificationCompleted(PhoneAuthCredential)`
chkuang-g
added a commit
that referenced
this pull request
May 4, 2023
* Initial change for Auth Google/IO changes to just fix the compiler error (#680) Initial change to make sure Unity SDK can compile against C++ Auth feature branch. Integration test is expected to be broken since it is pointing to C++ main and Unity integration test is not update. This change includes: - Update SWIG postprocess to rename deprecated functions which returns a `Task` - Remove `PhoneAuthProvider.MaxTimeoutMs` - Wire the following function to new C++ impl - `Firebase.Auth.FirebaseAuth.CurrentUser` - `Firebase.Auth.FirebaseUser.ProviderData` - Deprecated the following function - Firebase.Auth.FirebaseAuth.SignInWithCustomTokenAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInWithCredentialAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInAndRetrieveDataWithCredentialAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInAnonymouslyAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInWithEmailAndPasswordAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.CreateUserWithEmailAndPasswordAsync_DEPRECATED - Firebase.Auth.FirebaseAuth.SignInWithProviderAsync_DEPRECATED - Firebase.Auth.FirebaseUser.ReauthenticateWithProviderAsync_DEPRECATED - Firebase.Auth.FirebaseUser.LinkWithProviderAsync_DEPRECATED - Added C# impl for new `PhoneAuthOptions` class - Placeholder impl for `PhoneAuthListenerImpl.OnVerificationCompleted(PhoneAuthCredential)` * Remaining Auth deprecated APIs for Google I/O (#684) Rename and deprecated the following methods - `FirebaseUser.LinkAndRetrieveDataWithCredentialAsync_DEPRECATED()` - `FirebaseUser.LinkWithCredentialAsync_DEPRECATED()` - `FirebaseUser.ReauthenticateAndRetrieveDataAsync_DEPRECATED()` - `FirebaseUser.UnlinkAsync_DEPRECATED()` - `FirebaseUser.UpdatePhoneNumberCredentialAsync_DEPRECATED()` - `PhoneAuthProvider.VerificationCompleted_DEPRECATED` - `PhoneAuthProvider.VerifyPhoneNumber()` - `PhoneAuthProvider.GetCredential_DEPRECATED()`
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Initial change to make sure Unity SDK can compile against C++ Auth feature branch.
Integration test is expected to be broken since it is pointing to C++ main and Unity integration test is not update.
This change includes:
Task
PhoneAuthProvider.MaxTimeoutMs
Firebase.Auth.FirebaseAuth.CurrentUser
Firebase.Auth.FirebaseUser.ProviderData
PhoneAuthOptions
classPhoneAuthListenerImpl.OnVerificationCompleted(PhoneAuthCredential)
Testing
Only build locally using
Type of Change
Place an
x
the applicable box: