[ https://issues.apache.org/jira/browse/CB-14055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16458504#comment-16458504 ]
Wojciech Trocki commented on CB-14055: -------------------------------------- [~SilviuIon] Thanks for posting your update. Wandering of the cordova land - you may check how your jquery mobile router is pushing things to history api. I think you may control that the way you need. I think this issue may be closed. > Opening a link in some third party apps merges the third party app with our > own > ------------------------------------------------------------------------------- > > Key: CB-14055 > URL: https://issues.apache.org/jira/browse/CB-14055 > Project: Apache Cordova > Issue Type: Bug > Environment: Confirmed on Android 6.0.1 and up. Cordova 6.4.0 (can't > update for other reasons). Cordova-plugin-inappbrowser 3.0.0 > Reporter: Silviu Ion > Priority: Blocker > Attachments: Screenshot_20180426-095002.png > > > We've run into a most interesting issue with the cordova-plugin-inappbrowser. > Normally, opening a link externally works fine. For example, opening a link > to our Facebook page in Chrome or the OS's native browser creates and > switches to an instance of that browser, completely separate from the > original app. > Opening a special link such as the fb://page/pageID will open the official > Facebook app, and it will be completely separate from the original app. So > far, so good. All the behaviour is as expected and desired. > The problems arise when we open a regular link > (https://www.facebook.com/pageName) in a third party Facebook client - > specifically the Friendly client for Facebook. The Friendly app will > seemingly open and display the correct content. However, once this third > party app is open, it is MERGED with the original app. > To clarify: We have our Cordova app (which we'll call SomeApp) which has a > button running this: > {code:javascript} > cordova.InAppBrowser.open('https://www.facebook.com/pageName', '_system', > 'location=no'); > {code} > You press the button, select the Friendly app, select 'Just Once', and the > Friendly app displays the correct page. Now, if you press the Back button > (physical or otherwise), the app doesn't switch back to SomeApp. > Worse still, if you press the 'recent apps' button on your phone, SomeApp > will be gone. What the recent apps screen will show is a tile where the name > of the app is SomeApp, but the content is actually the Friendly app. > If it's unclear, take a look at the attachment. That tile's logo and content > is the Friendly app, and the name is our own app. It is not possible to go > back to our app without first closing this broken setup. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org