Directing Turbo Native apps from the server
18-Dec-2022 982
When developing for the web, we can send the user to any location during a web request using an HTTP redirect (3xx status codes). Turbo Native effectively wraps the website within native navigation. This means a redirect may not always do the trick.Let's take an example. A Login screen is presented modally in the native apps. After a successful login, we want to redirect the user to the home page. In the app, we'd want to dismiss the modal to reveal the screen under it allowing the user to continue with whatever they were doing. A conventional redirect won't work, we need to tell the app to just dismiss the modal.
Directing Turbo Native apps from the server #ruby #rubydeveloper #rubyonrails #Directing #Turbo #Native #server #server #turbo https://rubyonrails.ba/link/directing-turbo-native-apps-from-the-server