bashen1 / react-native-mbaichuan

React Native alibaichuan
MIT License
15 stars 6 forks source link

授权以后关闭窗体 并不会返回 请问如何知道关闭了弹出的网页窗体 #10

Closed hengkx closed 4 years ago

hengkx commented 4 years ago

https://github.com/bashen1/react-native-mbaichuan/blob/master/examples/App.js#L93

bashen1 commented 4 years ago

授权完成重定向一个网址,url带有关闭参数,然后在onStateChange监听url,进行关闭操作