0

Scenario: An Android user clicks a link on browser page that emits an intent url that starts my app.

Question: Is there a way to direct the user back to that same open browser tab, without closing the app? If I use the AS3 function navigateToURL there is always a new tab regardless of what the target is set to, because the flash app is not contained in a web page. Also, I'm trying to avoid using the StageWebView because when the user is authenticated from outside the app, there is an issue with cookie-management. Any ideas?

WeezyKrush
  • 109
  • 9

1 Answers1

0

You can try to open browser app with intent/parameters (Android, iOS), but for that you need to be sure browser app supports intent tabId (index or name) and pass and remember tabId via initial intent from Invoke event. Also user can close the tab meanwhile, so you will have lots of edge cases to handle.

Community
  • 1
  • 1
fsbmain
  • 5,237
  • 2
  • 14
  • 23
  • let's say the expected browser is Chrome, how would I send the intent including the tabId from actionscript? – WeezyKrush Aug 31 '16 at 13:05