I'd like to suggest using Broadcast Channel for handling the client-server communication during Apple Sign-In authentication, rather than the current approach which requires setting up intents and server-side URL binding.
Current Implementation:
The existing solution requires:
- Setting up intent handling in Android
- Configuring server-side URL binding
- Managing the redirect flow between client and server
Proposed Change:
Using Broadcast Channel could offer several benefits:
- Simpler communication pattern between client and server
- No need for complex URL binding configuration
- More straightforward implementation for developers
- Potentially more reliable message passing
Implementation notes:
- Broadcast Channel API is well-supported across modern platforms
- Would reduce the setup complexity for developers integrating the authentication
- Could make the codebase more maintainable
Happy to hear your thoughts on this approach! 💭
I'd like to suggest using Broadcast Channel for handling the client-server communication during Apple Sign-In authentication, rather than the current approach which requires setting up intents and server-side URL binding.
Current Implementation:
The existing solution requires:
Proposed Change:
Using Broadcast Channel could offer several benefits:
Implementation notes:
Happy to hear your thoughts on this approach! 💭