Skip to content

Support WeChat Login in WebKitWebViewUIImplementation#362

Merged
tung2744 merged 13 commits intoauthgear:masterfrom
louischan-oursky:dev-2761-support-wechat-login-in-wkwebview
Jun 13, 2025
Merged

Support WeChat Login in WebKitWebViewUIImplementation#362
tung2744 merged 13 commits intoauthgear:masterfrom
louischan-oursky:dev-2761-support-wechat-login-in-wkwebview

Conversation

@louischan-oursky
Copy link
Contributor

ref DEV-2810

1. Add wechatRedirectURI to WebKitWebViewUIImplementation construction
   options.
2. (Implementation details) Use native events to forward the open wechat
   action.
3. Remove no-op application: ... calls in AppDelegate.mm
4. Fix wechat is not opened in main thread
@louischan-oursky louischan-oursky force-pushed the dev-2761-support-wechat-login-in-wkwebview branch from b05e7f1 to e71e5ef Compare June 12, 2025 11:33
@louischan-oursky louischan-oursky changed the title [WIP] Support WeChat Login in WebKitWebViewUIImplementation Support WeChat Login in WebKitWebViewUIImplementation Jun 12, 2025
Comment on lines +30 to +36
# NOTE(louis): The Authgear SDK is not compatible with the new arch.
# Use this property to enable support to the new architecture.
# This will allow you to use TurboModules and the Fabric render in
# your application. You should enable this flag either if you want
# to write custom TurboModules/Fabric components OR use libraries that
# are providing them.
newArchEnabled=true
newArchEnabled=false
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What will happen if we set true here?

Even our sdk is not using new arch, we might also want to ensure it can run in an app using new arch?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does not build at all. I did not spend time investigating why.

@tung2744 tung2744 merged commit 3e4f95c into authgear:master Jun 13, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants