Reputation: 1577
I'm building an app with login function. The login can accept username+password, which I've already implemented. But it also need OAuth as alternative way of authentication too, and I'm struggled with this.
When I try to login with OAuth, my app switching to web browser to auth the request then switch back the my app. Here's the problem: when it switching back to my app, it lost connection with Metro. So I cannot easily debug it further.
How to stay connect with Metro?
My environment is React Native on Windows, testing on Android emulator.
Upvotes: 0
Views: 34