-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Bugfix FXIOS-9906 - Send ok response to can_link_account channel message #21877
Conversation
cc: @LZoog as an FxA reviewer. |
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.
Thanks, Jonathan. Just noting that I didn't test this locally but the web channel message name matches FxA and this looks like exactly what we want for now so I'll r+ this from the FxA side. 🎉
I'm checking to see if we have any existing unit tests that could be useful references, you could also try asking in the ios dev channel (someone there might know). |
@mattreaganmozilla what can I do next to get this landed (based on cyndi's comment in the other PR)? |
The build fails with a swiftlint violation. Once fixed we should be able to get it merged. |
be16e47
to
4b60ea4
Compare
Thanks for catching, done! |
@jonalmeida can you rebase this with latest main? Seeing some issues in our CI / CD that should be resolve by getting the latest changes. Let me know and can re-run bitrise again. Thanks! |
4b60ea4
to
40ce954
Compare
Done! |
Client.app: Coverage: 30.11
Generated by 🚫 Danger Swift against 40ce954 |
📜 Tickets
Jira ticket
Github issue
💡 Description
Responds to FxA's
can_link_account
WebChannel message with an{ "ok": true }
as a placeholder until #21873 is fixed.Tested this against a local FxA server by removing this line in the sign-in flow, and using this patch in iOS to make the WKWebView inspectable from Safari Desktop:
No unit tests added for now. Would like some examples that I could follow, thanks!
📝 Checklist
You have to check all boxes before merging
@Mergifyio backport release/v120
)