I were looking at Vue NativeScript. Anybody on why should I not?
Ask HN: How are you building cross-platform (mobile and browser) apps?
51–60 of 84 posts
Re: Ask HN: How are you building cross-platform (mobile and browser) apps?
#52I use React + React Native for https://www.jqbx.fm . As a 1 man project it seemed like the only sensible way to build mobile (android/iOS) and browser versions. I can share almost all of the code (where applicable) so one can move a lot faster and have a lot less mental overhead. That being said React Native has stability and performance issues that are tricky and can hold up your app for a non-trivial amount of time…
Looks nice! What are you using for the backend?
Re: Ask HN: How are you building cross-platform (mobile and browser) apps?
#53Depending on your needs, using something like Turbolinks [1] may be a great fit. There are iOS and Android libraries that can make your web app talk to your native app so it can do things like trigger screen transitions, populate native menu or tab controls, etc. We're using a similar idea at my company and so far it's been very successful for us. [1]: https://github.com/turbolinks/turbolinks/#readme
The web, iOS, and Android devices utilize all of the same server generated HTML + JS google maps et al. 0 to completed for both Android and iOS in maybe 30 hours because of the native API stuff I had to learn. If you don't need those native API's or know Swift/Java better, that time could be trimmed down considerably.
Re: Ask HN: How are you building cross-platform (mobile and browser) apps?
#54Re: Ask HN: How are you building cross-platform (mobile and browser) apps?
#55I use React + React Native for https://www.jqbx.fm . As a 1 man project it seemed like the only sensible way to build mobile (android/iOS) and browser versions. I can share almost all of the code (where applicable) so one can move a lot faster and have a lot less mental overhead. That being said React Native has stability and performance issues that are tricky and can hold up your app for a non-trivial amount of time…
Wow that app is exactly what me & my friends have been looking for. They even started hacking together an Android version of this. Looks really well done! One question: Do you plan on writing a native desktop solution? I'm not a fan of having to keep my browser open just to run a single app.
Just checked it out. This is really well executed! Definitely doesn't look like a one man operation. Congrats!
Re: Ask HN: How are you building cross-platform (mobile and browser) apps?
#56Earlier quoted context omitted.
Wow that app is exactly what me & my friends have been looking for. They even started hacking together an Android version of this. Looks really well done! One question: Do you plan on writing a native desktop solution? I'm not a fan of having to keep my browser open just to run a single app.
Hehe.. turntable.fm v2.0 :-) https://en.wikipedia.org/wiki/Turntable.fm Just checked it out. This is really well executed! Definitely doesn't look like a one man operation. Congrats!
Re: Ask HN: How are you building cross-platform (mobile and browser) apps?
#57I use React + React Native for https://www.jqbx.fm . As a 1 man project it seemed like the only sensible way to build mobile (android/iOS) and browser versions. I can share almost all of the code (where applicable) so one can move a lot faster and have a lot less mental overhead. That being said React Native has stability and performance issues that are tricky and can hold up your app for a non-trivial amount of time…
Re: Ask HN: How are you building cross-platform (mobile and browser) apps?
#58Pure html+css with as little js as possible... eg: websites/single page webapps over native ios/android apps
Re: Ask HN: How are you building cross-platform (mobile and browser) apps?
#59Earlier quoted context omitted.
Hehe.. turntable.fm v2.0 :-) https://en.wikipedia.org/wiki/Turntable.fm Just checked it out. This is really well executed! Definitely doesn't look like a one man operation. Congrats!
Thanks! And yeah heavily inspired by tt.fm (RIP). Hopefully the community keeps growing and can bring some of that 2011 internet magic back.
(BTW it just pinned a Google chrome helper on my machine so I had to kill it. Not sure if you know anything about perf. with your app yet. Just FYI)
Re: Ask HN: How are you building cross-platform (mobile and browser) apps?
#60I had to use a lot of platform-specific imports (eg: `index.ios.tsx`/`index.web.tsx`) to replace anything mobile-specific, and there are some cases where you need platform-specific UI components as well to make everything look nice on larger screens.
My only complaint is it gets a bit messy having all these different entry points and platform-specific modules and whatnot. Overall, it's probably the best you can hope for to write an app for mobile + web with ~80-90% _actual_ code sharing.