Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Magic login not working #45

Open
amcoderz opened this issue Aug 31, 2024 · 1 comment
Open

Magic login not working #45

amcoderz opened this issue Aug 31, 2024 · 1 comment
Assignees

Comments

@amcoderz
Copy link

Describe the bug
Integrated code but it's just showing SDK error and login screen is not appear.

Please help if any know about this solution, thanks in advance.

@pratikpatan
Copy link

Hi,

There is an issue with MagicLink SDK. I have spent almost 2 days behind this. It was working before, but after updating to latest version, login screen is not showing. It was presenting behind my active Window view controller.

To solve this, go to 'WebViewController' in MagicLink SDK.
Search for 'private func attachWebView() throws -> Void {' function.
Remove 'keyWindow.sendSubviewToBack(self.view)' line and replace it with 'keyWindow.bringSubviewToFront(self.view)'.
You are all done!!!

Run app again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants