This PR renames the turbo_native_app? helper to hotwire_native_app? and changes the user agent check to look for "Hotwire Native".
It is backwards compatible with existing Turbo Native apps by aliasing the turbo_native_app? helper and also checking for "Turbo Native" in the user agent.
This PR renames the
turbo_native_app?
helper tohotwire_native_app?
and changes the user agent check to look for "Hotwire Native".It is backwards compatible with existing Turbo Native apps by aliasing the
turbo_native_app?
helper and also checking for "Turbo Native" in the user agent.