| ▲ | senordevnyc 2 hours ago | |
Ugh, I run a B2B SaaS app that's mobile friendly, but people keep asking for an app (and I really do need push notifications, I'm spending thousands per month on text messages right now), but I've been putting it off. Did the App Stores have issues with you publishing just a simple RN wrapper app? | ||
| ▲ | leros an hour ago | parent [-] | |
No issues at all. I have two tabs in the RN app. One tab is basically the entire app, which is just an embedded web view. The other tab is a basic account tab (sign in, log out, delete account, cancel plan). I also have native auth and native payments. I'm not 100% sure yet, but I might regret using React-Native over Capacitor. I have to bridge things like auth and payments between the web view and the native app. For example, the web app has a flow where you need to login, so it opens the login modal. If you're inside the mobile app, instead of doing that, it sends a message up to the native app to open the native app's login modal. Then once login is complete, the native app sends a message into the webview with the auth token. Similar thing for payments. That all works great, but occasionally I want to make a breaking change. Since it takes many weeks to get an update rolled out everyone, I have to keep the webapp backwards compatible for a long time. That slows down iterating on stuff like AB testing checkout flows. I don't think I'd have to worry about this if I was using Capacitor because the native functionality would be mostly driven from the webapp code. | ||