Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build mobile app from this web app (how?) #704

Open
ezwelty opened this issue Feb 25, 2025 · 0 comments
Open

Build mobile app from this web app (how?) #704

ezwelty opened this issue Feb 25, 2025 · 0 comments
Labels
epic Very important big issue help wanted Extra attention is needed mobile Specific to mobile layout refactoring Internal changes to code aesthetic or structure

Comments

@ezwelty
Copy link
Collaborator

ezwelty commented Feb 25, 2025

We have a mobile app for Android and iOS which has been downloaded a combined 45 000 times. These apps have tens of thousands of users, but they are buggy, use a legacy Rails API, and are no longer maintained. This repo introduces a new mobile-friendly website which hopefully can be leveraged to replace the aging mobile apps. The question is how?

Web

The legacy mobile app is a web app bundled as a mobile app using Apache Cordova. This tool is no longer maintained, but we could use its new descendent: Ionic Capacitor. My experience with Cordova suggests that this would be the easiest (if not the most performant) option, reusing nearly all the same code and requiring only a thin layer of platform-specific configuration.

My sense is that this is the only feasible option we have for quickly delivering mobile app users an updated experience.

Native

Since this web app is written in React, it is tempting to suggest React Native, but these are very different beasts. They could share logic if as much as possible was moved out of the view components (Redux store, custom hooks, basic functions, etc), but a migration is far from trivial. Something that could help is React Native for Web or the superset dev platform Expo. But evidently it would have been easier to build a React Native app that also works for web than the other way around.

The third option is to start from scratch. But this would require a mobile dev team with long-term commitment to the project, otherwise we end up in the same situation that we've tried to escape: too much code and too little time.

@ezwelty ezwelty added epic Very important big issue help wanted Extra attention is needed mobile Specific to mobile layout refactoring Internal changes to code aesthetic or structure labels Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic Very important big issue help wanted Extra attention is needed mobile Specific to mobile layout refactoring Internal changes to code aesthetic or structure
Projects
None yet
Development

No branches or pull requests

1 participant