I am faced with what could seem like a simple problem, but one I can’t manage to find a solution to.
When starting my mobile app, I need users to agree with our terms and conditions. Therefore I provide them with a link to the document, which is hosted on my website.
Using the “Open Web Page” block and the conditions’ URL, this opens up in a webview. However I can’t see any way for my users to close the webview and return to the app.
Alternatively, I have tried to set “Open in another window” to true, hoping that it would open up in the browser, but the behavior seems identical.
Therefore I have to questions:
How can I close the webview and return to the app ? Ideally, is there a way to add a “Close” or “x” button somewhere on top of the webview or above it ?
How can I open a URL in the mobile device’s browser instead of the webview ?
The answer to any of the two would solve my issue, but I would gladly learn to do both !
Thanks for your help.
Note : I am using the native mobile app shell provided by Backendless.
Hi @Nikita_Fedorishchev and thank you for alerting me.
I pulled the changes and am attempting to run a debug version of my app.
However, could you please describe how the changes you did materialize ?
Maybe everything is OK, but I don’t really know what I am looking for.
Did you go the “close webview” or the “open in browser” way ?
Okay, I think I have managed to see it : it looks like a banner on iOS only, right ? I don’t see anything on Android. And the back button is white on a very light green, so that’s not great. But I suppose I can find a way to change its color in Flutter, right ?
Just coming back to my initial question, though, is there a way to launch a page in the smartphone’s browser ? In the described use case, my issue is solved by the new implementation, but it’s just I would gladly learn how to do that for some other situations.