We are trying to use Cobalt (20.stable) browser as the browser of our web SPA application. My requirement is to be able to change URL at runtime, what I was able to find in the code: Is:
starboard::shared::starboard::Application::Link(const char* link_data)
which ends up sending:
kSbEventTypeLink
Unfortunately this is not working, as code is ignoring the call; the handling reaches the point:
// TODO: Remove this when terminal application states are properly handled.
if (deep_link_event->IsH5vccLink()) {
browser_module_->Navigate(GURL(deep_link_event->link()));
}
In my case I m trying to change the URL to let say https://www.example.com. There should be a way to do that as when navigating we can always have a link that will cause the browser to go to some URL?