Working with Hotwire Native # 3
Conditional Hotwire Tabs
I wrote an override for HotwireTabController so that I can do a quick session check to determine which tabs should be showed.
This seems to be working well enough that I might be able to get away with not needing OAuth for now.
This means that authentication is being handled completely by the server, which then sets a webview session cookie on the iOS device, which is what the HotwireTabController override checks for in order to determine which tabs should be displayed.
Showing/not-showing tabs doesn't represent any security implications since the page itself is authenticated server-side by, so I'm not seeing any immediate issues with this approach.
Still testing it out in daily use, but so far so good!