How to make the cancel button work in a linked sdk call in android web browser?

I work with related in and sdk Facebook in my Android application. I get related information and Facebook login information to enter my application. While the webview is loading the login page, a cancel button appears. I want the user to click this button, the webview should close or redirect to another webpage. Same thing with Facebook Sdk. I need help. enter image description here

enter image description here

+6
source share
1 answer

I have an answer. In fact, while we are creating the application page on Linked in, it will be possible to specify a redirect URL. There we must provide. After that, if the cancel button is pressed, it is redirected to this URL and closes the dialog

+4
source

Source: https://habr.com/ru/post/976007/


All Articles