Hotwire Native for Rails Developers (Pragmatic Bookshelf)

PragmaticBookshelf
Leverage your existing Rails codebase to build iOS and Android apps with Hotwire Native – no Swift or Kotlin experience necessary.

Joe Masilotti @joemasilotti

edited by Nicole Taché @ntache

Create intuitive and maintainable mobile apps powered by the technology you already know, Ruby on Rails. Add Hotwire Native to your new or existing Rails app and start creating native iOS and Android applications. You’ll learn how to enhance your apps, progressively adding native components and screens. Bring your existing or new web apps to a much wider mobile audience, and make the app look and feel native to their platform.

You know how to create a great web app using Rails. But how do you also create native apps for iOS and Android when you don’t want to reimplement everything in Swift and Kotlin? Fully native iOS and Android apps are expensive to build and even more expensive to maintain. And, of course, you have to deal with the app stores.

Hotwire Native builds hybrid mobile apps by rendering HTML directly from your Rails server. Build your screens once and deploy across web, iOS, and Android simultaneously. No repackaging apps or resubmitting to app stores.

You’ll build a hiking tracker app on iOS and Android. Start by creating a bare-bones app and build new features into it with each new chapter. Set up remote path configuration to navigate gracefully and route forms efficiently. Determine when it makes sense to upgrade your screens to native. Build native components and screens to enhance the apps progressively, with full access to iOS and Android SDKs and APIs, such as push notifications and native maps. And deploy to physical devices for beta testing.

You’ll drive the content and behavior of your apps directly from the server, without changing any native code. And you’ll keep your business logic in one place, making your apps more resilient to future changes and easier to maintain. Along the way, you’ll learn just enough Swift and Kotlin to confidently build functional, user-friendly mobile apps.


Joe Masilotti is a Hotwire Native developer and consultant who is on a mission to make mobile app development easier for Rails developers. He’s been working with Hotwire Native since 2016 and is a maintainer of the library. Since then, he’s helped dozens of businesses bring their Rails apps to the app stores.


Don’t forget you can get 35% off with your Devtalk discount! Just use the coupon code “devtalk.com" at checkout :+1:

Latest Threads About This Book Top

ingilniero
The first time the navigatorHostId is set it uses the value R.id.main_nav_host supposedly added to to activity_main.xml in previous step...
New
bunnahabhain
@joemasilotti ch02_12 code shows the link_to for “Sign out” to be above the link_to for “Add a hike” on page 44, which would put the “Sig...
New
jmann99999
@joemasilotti In Chapter 1, Initiate the Visit Section, it says: let baseURL = URL(string: “http://localhost:3000”)! This doesn’t work ...
New
PragmaticBookshelf
Leverage your existing Rails codebase to build iOS and Android apps with Hotwire Native – no Swift or Kotlin experience necessary. J...
New

Most Active This Week Top

ingilniero
The first time the navigatorHostId is set it uses the value R.id.main_nav_host supposedly added to to activity_main.xml in previous step...
New

Most Active This Month Top

Most Active This Year Top

PragmaticBookshelf
Leverage your existing Rails codebase to build iOS and Android apps with Hotwire Native – no Swift or Kotlin experience necessary. J...
New
jmann99999
@joemasilotti In Chapter 1, Initiate the Visit Section, it says: let baseURL = URL(string: “http://localhost:3000”)! This doesn’t work ...
New
bunnahabhain
@joemasilotti ch02_12 code shows the link_to for “Sign out” to be above the link_to for “Add a hike” on page 44, which would put the “Sig...
New

Most Active Last Three Years Top

Most Active Over Three Years Top

Book Info

Publisher: Pragmatic Bookshelf

Are you this book's author? To be notified of all posts made about it, sign up an account then click here, then select 'watching' from the bell icon in the top right corner.

Get money off!

The Pragmatic Bookshelf

35% off any eBook

Simply use coupon code "devtalk.com" at checkout. See full details here.