violet_rails icon indicating copy to clipboard operation
violet_rails copied to clipboard

Violet Rails iOS support

Open donrestarone opened this issue 3 years ago • 1 comments
trafficstars

Violet Rails harmonized apps (web and native)

Client detection

As of Version 0.9.5 (https://github.com/restarone/violet_rails/releases/tag/0.9.5) the only officially recognized mobile client is iOS (VioletRailsiOS). Clients that set the user agent VioletRailsiOS are detected under the mobile? flag.

Conditional rendering

For native clients web navbar and footer are hidden in favour of native navigation (currently WIP (https://github.com/restarone/violet_rails_ios_client/issues/1) to dynamically set tab navigation / other navigational elements from Violet Rails API Namespace)

known issues

  1. Forum login is not seamless (view is broken until the forum view is revisited due to turbo / http request change)
  2. Forum images/assets not loading (perhaps due to strict HTTPS rules?)
  3. 2FA screen not working

Pull request that made Violet Mobile Native aware: https://github.com/restarone/violet_rails/pull/819

iOS client repo: https://github.com/restarone/violet_rails_ios_client

donrestarone avatar Jun 26 '22 18:06 donrestarone

App Store review:

Screen Shot 2023-04-21 at 3 32 13 PM

donrestarone avatar Apr 21 '23 19:04 donrestarone