by TekMol · 2y ago · 0 comments
Some years ago, I tried to build an Android app. It required an insane amount of tooling. Hundreds and hundreds of megabytes of stuff. GUI applications you have to use etc. I didn't even try to build an iOS app because that probably means you have to own a mac.
Is this still the same?
Or are there some linux command line tools these days I can use to convert a web app into an app that I can put on the Android/iOS app stores?
It is also possible to deploy to Apple with things like Github Actions without personally owning a Mac (and it can publish to Google too, naturally), but then testing is not trivial.
I know 90% of HN will disagree but there is a market opportunity here to make this better.
The web and app stores are littered with the corpses of failed, poorly-ported iOS and macOS utilities written by developers who didn’t fully understand that those systems have their own design language, cultural norms, and feature sets. They chew through battery, perform poorly, confuse users, look like shit, and feel completely alien.
Should that totally stop you from porting some useful tool? Maybe not. But the chance that it will see any sort of use outside of an extremely niche set of users is slim and it’s worth accepting that upfront if you’re going to spend your time and effort on it.
I have an iPhone, and even though the number of non-default apps I use is quite small, I get the feeling that every other app is just a web view wrapper or whatever that just doesn't care about iOS standards. The examples that come to mind are: Uber, Teams and Philips Hue. The latter is a laggy mess for some reason, that behaves the same on an iphone 14 pro as on a 7. Teams also is a shitshow, but who does that actually surprise?
Goes to show that experience doesn’t always generalize, and I’m curious what’s different in our cases to cause that (since I’m also using on a iPhone 14 Pro).
I heard it works wonderful if you use Microsoft Surface Duo devices
Say there exists a single-page, single-view form-based web utility (e.g. a tax calculator for some niche.) Does the job. Efficient UX. Solves a need rather than a want, so it doesn't need to be pretty.
Only problem is that it's hosted on some old website, meaning:
1. you have to bookmark it (and the bookmark probably doesn't come with a nice icon, and you could lose track of it in the future because it's not part of some "store download history" list);
2. you can't access the calculator when offline;
3. the site's server could go down tomorrow, and then "your" calculator wouldn't be there any more.
AFAICT, from the perspective of a mobile user, the only thing that could possibly be improved about this experience, would be the very fact of it being hosted on the web. As long as it's made into a client-local installable package, registered in an app store with a name and icon, all the above problems are solved. And you get those key advantages, just by saving the webpage .html to a file, wrapping it in Cordova or whatever, and submitting that as your app.
(You also get almost these advantages using Progressive Web Apps that use offline capabilities — all except for discoverability and esp. re-discoverability through a unified app-store UX. If the app stores allowed the submission of PWAs, such that they appeared in the store listings and download history right alongside native apps, I think a lot of use-cases for Cordova et al would be moot.)
In practice, poorly ported web apps often fail in various ways. Things like content covered by the keyboard, or the layout breaking when you rotate the device, or random other stuff that results from a lack of testing. It's what happens when developers don't use the device they're targeting.
Applications (not games) developed and published for macOS and iOS by lone developers with little to no experience on those platforms is overwhelmingly unlikely to be used by enough people to reasonably justify its development.
There are exceptions to this for specific niche use-cases. There are situations where this has not ended up being true. There are times where one might want to write such an application to scratch their own itches with no real need or desire to gain a critical mass of users. None of these invalidates my general point.
"Compelling" software in the one you are compelled to use, for example you go to a techy-utopia-restaurant and want to order order your food, but then are compelled to install their app because their system is automated /s
confuse users, look like shit, and feel completely alien.
Developers eyes glaze over when you start talking about users.The app of my Bank (Commerzbank) looks the same in both platforms (despite being native, last time I asked), and IMO provides a much better experience than lots of native Apple or Google tools. And IMO a better UI/UX too. Same with Monobank from Ukraine, astonishing app that doesn't really care about the platform and gets things done in IMO a better way than native-inspired apps.
I would prefer for most apps to move into the Commerzbank direction than in the... I don't know, Pixelmator? Which is 100% native but still feels very unintuitive sometimes ("Save as" for example) despite being my daily pic editor for 15 years...
I don't understand this fundamentally epistemological point. I thought in some part my skill as a programmer is being able make things not necessarily for me. Or at least, as a (maybe kind of niche) frontend dev, I don't think I would have ever gotten a job without some semblance of that skill.
I feel like if I relied on my own experience instead of agreed upon standards I would be much more a designer who makes bad code than a coder who maybe just needs a little design/ux direction.
ps: Is this not a sufficient resource?
https://developer.apple.com/design/human-interface-guideline...
It’d be like trying to learn a foreign language entirely off something like Duolingo. At some point the only way for you to communicate like a native is going to be to embed yourself in the language and culture, otherwise you’ll never quite express things like a native.
I've set up a custom flow with Fastlane with React Native. Works pretty well, but Major Version, OS and architecture update are a huge pain.
Debug in Android Studio, connect phone on USB, enable USB debugging, hit play button
Debug in Xcode, connect iphone (wireless), hit play button
Tutorial here: https://developers.google.com/codelabs/pwa-in-play
I did end up installing Android Studio for the sdk and virtual machine installation, but I'd assume it could be done on the command line as well.
Why can it not be like other Gradle dependencies, where Gradle will just download the files automatically?
i'm not doing that.
so i just dont want to support their web browser or their platform in general. as a personal choice.
i build some tools for work colleagues using web extensions and i refused to port it to safari. someone else can take that task if they wish.
FPGA developers snicker under their breath, but if you look closely you can see the tears welling up in their eyes...
There are tools like that for iOS too, but you absolutely have to have a Mac.
PWAs are still a little tougher on Apple since Apple holds the reins to their platform very tightly and doesn't want apps getting to users without going through "curation," so if iOS is an important market for you and your users will find you through the app store (rather than looking for you in the app store after finding you elsewhere), then a PWA may not be the best choice.
If you use server-side rendering, then it will of course be more work, but I'd still probably go the PWA route and write it in React or Vue. You already know JS so there's much less learning, and it's the most "write once run anywhere" that there is. You'll likely have to buy a mac though, although there are services you can "rent" one for building/signing/submitting to Apple.
React Native can be a good option as well, especially if you need to call native APIs or must be in the Apple store (Google Play Store can take you as a PWA). Most of your code can be js/ts so less learning curve, and you can generate a submittable app package that can go in the Apple store (and of course Google).
If you need to make extensive use of native APIs though, then a real native app may be better, though of course you will need a separate one for ios and android, and there's a lot of learning to do. And you'll definitely have to buy a mac.
tldr: a PWA is (probably) the way to go
Likely not in this case.
That's a good sign that it's getting some momentum outside fo Google.
(I agree with you, though. Sadly, the Flutter management team seems to be where Google sends shitty managers for punishment.)
Largest e-commerce service in France.
The all the extra tooling makes it easier to make Android apps. Nothing is stopping you from downloading the Java JDK and Android SDK and running javac, d8, aapt2, zipalign, and apksigner yourself.
That is the tooling that OP is talking about.
The horror.