Hi, I have developed an app which utilizes OAuth module for both web browser and mobile hybrid app. For the hybrid app, I have used an implementation based on my previous forum post: https://forum.mendixcloud.com/link/questions/86570 Basically, I have created a widget which executes the line below:
window.location.href = this.urlRedirect; This works as intended to open the OAuth page of the provider inside the hybrid app. But I have noticed that doing this, it no longer uses the Hybrid phone app online navigation profile, instead, it switches to Phone browser. Is there a way to ensure that the app does not switch to Phone browser navigation profile, or to switch back to Hybrid phone app online navigation profile? The purpose of two different navigation profile is that the Hybrid phone app online navigation profile is used for the mobile app usage which requires certain plugins. The Phone browser is used solely to show a page that provides a link to the App store in case a user uses a mobile browser such as Chrome to use the app.
↧