Joe Masilotti

Joe Masilotti

@joemasilotti.com

I help Rails businesses ship iOS and Android apps. I've shipped 25+, wrote the book, and trained hundreds of devs. Strategy, building, or teaching: let's ship! https://masilotti.com

1K followers44 following85 posts

First customer app is LIVE IN THE APP STORE!! All powered by Ruby Native, a Rails website, and some YAML. Try it here: rubynative.com

Ender Ahmet Yurt@enderahmetyurt.com

Published my web application to App Store finally 🎉 I did it with Ruby Native without open xcode and writing any Swift code. Just Ruby, Yaml, and HTML/CSS thank you @joemasilotti.com apps.apple.com/tr/app/foxan...

Joe Masilotti reposted

In the last few weeks, I've realized I'm not as freaked out about AI as I was at the beginning of the year. I've been throwing myself into the tools and using them extensively in all my projects. And after some time getting acclimated, I feel mostly settled about the following things...

Adding in-app purchases to a Hotwire Native app is painful. StoreKit. Play Billing. Two platforms, two languages, two approaches. Then webhooks from both stores. Different formats, different signing. 😫 So I fixed it.

View full thread

Here's how it works: 📱 Native bridge components handle StoreKit and Play Billing 🔀 Apple and Google webhooks are normalized to 4 events 💎 It works with the Pay gem or your own models 🛤️ And your subscription logic and records stay in Rails

Adding in-app purchases to a Hotwire Native app is painful. StoreKit. Play Billing. Two platforms, two languages, two approaches. Then webhooks from both stores. Different formats, different signing. 😫 So I fixed it.

Coming tomorrow: my most in-depth article yet. 2,000+ words on handling Hotwire Native authentication across web, iOS, & Android. All without writing tons of native code or adding new API endpoints. Launches tomorrow to paid subscribers. Full code, too. open.substack.com/pub/joemasil...

open.substack.comHotwire Native deep dive: AuthenticationHow to handle authentication across web, iOS, and Android. All without writing tons of native code or adding new API endpoints.

Celebrate 200+ stars, I'm excited to share my new library. 📲 Bridge Components for Hotwire Native apps • 13+ components • iOS and Android support • Example iOS, Android, and Rails apps • Full source code Copy-paste into your app and wire up the HTML! github.com/joemasilotti...

I woke up this morning to 600+ emails to be screened in and a notification from my bank that I was locked out of my account. Not entirely sure what's going on yet. But it doesn't seem good.

Joe Masilotti reposted

A lot of folks have been asking me what exactly they’ll learn in my new book, Hotwire Native for Rails Developers. So here’s a quick chapter-by-chapter rundown of what’s inside. 👇

View full thread

What’s next? Two more chapters are still in the works: • Deploy to physical devices with TestFlight and internal testing • Send push notifications with APNS and FCM

A lot of folks have been asking me what exactly they’ll learn in my new book, Hotwire Native for Rails Developers. So here’s a quick chapter-by-chapter rundown of what’s inside. 👇

View full thread

Chs 5 + 6 - Render native screens with SwiftUI and Jetpack Compose These chapters show you how to build fully native screens powered by SwiftUI and Jetpack Compose. You’ll be able to integrate virtually any native experience into your Hotwire Native apps.

Chs 7 + 8 - Build bridge components with Swift and Kotlin Bridge components — previously "Strada" — are tiny enhancements that blend web and native functionality. By the end of these chapters, you’ll know how to build dynamic, native components controlled by HTML and JavaScript.

A lot of folks have been asking me what exactly they’ll learn in my new book, Hotwire Native for Rails Developers. So here’s a quick chapter-by-chapter rundown of what’s inside. 👇

View full thread

Ch 3 - Navigate gracefully with path configuration Path configuration is one of the most powerful—and sometimes confusing—features of Hotwire Native. This chapter demystifies it, showing you how to use it to present forms as modal screens (sliding in from the bottom).

Ch 4 - Add a native tab bar Tab bars are a staple of native apps. In this chapter, you’ll learn how to add them to your Hotwire Native apps, connecting each tab to its own web view instance. Plus, you’ll ensure your server isn’t overloaded when the app starts.

A lot of folks have been asking me what exactly they’ll learn in my new book, Hotwire Native for Rails Developers. So here’s a quick chapter-by-chapter rundown of what’s inside. 👇

View full thread

Ch 1 - Build your first Hotwire Native apps This chapter introduces Hotwire Native and helps you set up your local development environment. By the end, you’ll have basic hybrid apps running on iOS and Android, powered by your Rails backend.

Ch 2 - Control your apps with Rails Learn how to drive your mobile apps entirely through Rails code without touching native code. You’ll customize the native title bar, apply conditional styles, and keep users signed in seamlessly.

A lot of folks have been asking me what exactly they’ll learn in my new book, Hotwire Native for Rails Developers. So here’s a quick chapter-by-chapter rundown of what’s inside. 👇

The book guides you through building iOS and Android apps powered by your Rails server using Hotwire Native. The app we’ll build helps you track your favorite hikes with each chapter adding new features to make the app feel more native while leveraging Swift and Kotlin APIs.

There are a few more chapters to write, along with lots of editing and layout work. If you buy the beta version, you’ll automatically get the final version when it’s released (expected in a few months) and email notifications every two weeks as updates are published.

Seeing this book go live feels like a dream come true. I couldn’t have done it without the support of so many people along the way. Thank you to everyone who helped me get here. ❤️ Here's that link again to grab your copy today. I can't wait to hear what you think! pragprog.com/titles/jmnat...

pragprog.comHotwire Native for Rails DevelopersLeverage your existing Rails codebase to build iOS and Android apps with Hotwire Native – no Swift or Kotlin experience necessary.

Avoid Hotwire Native pitfalls and gotchas Hybrid still has some trade-offs. Readers will learn where it falls short and what to watch out for when building their apps.

The book isn’t finished (yet!). This is your chance to get early access and help shape the final version. While the book is in beta, you can help improve it! Found a mistake? You’ll find a “Report Erratum” link at the bottom of every page in the PDF.

Understand the benefits of native vs. web Building and maintaining native screens and components requires a lot of effort. But sometimes the additional fidelity is worth it. Readers will learn when and why it makes sense to upgrade to native.

Build for any SDK and any API Readers will learn the patterns to follow and best practices for working with Swift, Kotlin, Rails, and Hotwire Native to develop their own native features so they can interact with any native interface, current or future.

Work with confidence across multiple platforms Hybrid apps are most impactful when launched across multiple platforms. Readers will learn how to build for the web, iOS, and Android with confidence.

Cultivate the Hotwire Native mindset Building effective Hotwire Native apps means leaving as much business logic as possible on the server. Readers will learn how to cultivate this mindset and how this creates low-maintenance, server-driven apps.

This book has been a labor of love. I started working on it in 2023, and since then I’ve put in hundreds of hours of work. In January 2024, I signed with my publisher, Pragmatic Bookshelf, turning a dream into reality. It will teach you how to: