Turn your existing Rails app into a native iOS and Android app with Ruby Native.
Repo ruby-native/gem, read from GitHub 1 h ago. ruby-native has not joined Take My Repo.
config.iap_enabled = true to RubyNative.configure if your app sells in-app purchases. Without it, purchases and Apple's subscription notifications stop reaching your app.native_navbar_tag with an empty or nil title now shows no title instead of the page's <title>. Leave the title out entirely, as in native_navbar_tag, to keep showing the page's <title>.chrome://inspect. Both platforms. Your own builds stay closed to inspectors.config.push_enabled = false in RubyNative.configure.native_navbar_tag(false). Also title={false} on the React and Vue NativeNavbar. Needs a new build.data: { native_navbar_logo: false } to a link to a page that hides it. Advanced Mode.data: { native_secure_session: true } and pass native_secure_session_completion_url(return_to:) as the completion URL. Needs a new build.data: { native_presentation: "modal" }, and add native_presentation_tag :modal to pages a form or redirect lands on. Needs a new build. Older builds push the page like any other link, and they read a marked link as the page's own presentation, so render native_presentation_tag :root above any marked link until your users update.native_presentation_tag :modal, dismissible: false makes a modal people can't close. Advanced Mode, needs a new build. Older builds ignore it and show a back button, so keep your server-side check until your users update.appearance.modal_dismiss_button, or dismiss_button: on native_presentation_tag for one page. Advanced Mode, needs a new build.appearance.android.navbar.title_alignment: center. Needs a new build.title:. Both platforms, both modes. Needs a new build, and older builds show the icon alone.native_navbar_tag "Settings", logo: false. That page shows its title, title menu, or segments instead, and every other page keeps the logo. Needs a new build, and older builds keep showing the logo.appearance.navbar.logo to { light:, dark: } and the app swaps them with the theme. Needs a new build, and older builds show the light image in both themes.appearance.splash.enabled: false. Needs a new build.ios.bundle_id in config/ruby_native.yml and a purchase, restore, or App Store notification made for any other app is rejected. It has to match the bundle ID in App Store Connect exactly, since a mismatch rejects every purchase. Without it purchases still work, and your server logs a warning.config/ruby_native.yml in the background, and restarts once if it changed. A server error or a bad config no longer puts people who already use the app on the error screen. Needs a new build.entry_path works on Android. The app opens there in both modes, and a single-tab Advanced Mode app opens on its tab's path, like iOS. Needs a new build.theme or status_bar, or a tab with no icon, no longer stops an iOS app from loading. It falls back to the default, like Android. Needs a new build, and older builds still stop.native_identity_tag. Needs a new build./tags/c%23 used to open /tags/c#, and a link with a mixed-case host was ignored. A trailing slash is now kept as written. Needs a new build.tab: true or tab: "New" to native_badge_tag. Needs a new build, and older builds show no badge.badge: true. native_badge_tag(tabs: { inbox: 3, whats_new: true }). Needs a new build. Older builds ignore tabs:, so keep badge: true and tab: until your users update.RubyNative.share() opens the native share sheet from your own buttons. Pass a URL, or leave it out to share the current page. Needs a new build.native-selectable class to text people should be able to copy.pull_to_refresh: false now turns off pull-to-refresh in Advanced Mode on iOS. Pages without a native navbar don't get it either. Needs a new build.ruby_native link --new --name="App name" --url=https://example.com, or let the ship prompt do it, instead of filling in Create your app.ruby_native preview and scanning.ruby_native preview offers to install cloudflared when it's missing. Needs Homebrew.<%= native_locale_tag %> to your layout and a language change inside your app retitles the tab bar right away, no restart needed. Both platforms, both modes. Needs a new build.image_url in config/ruby_native.yml no longer 500 on every page. It happened when assets:precompile runs on its own, as in a Kamal or Cloud Run Dockerfile.config/ruby_native.yml shows up on the first request instead of stopping your app from booting.