4 ms·
We went forward with this exact solution years ago at a company I worked for. In our case our mobile usage was actually really low compared to web. It just didn
by todd3834 4y ago
We went forward with this exact solution years ago at a company I worked for. In our case our mobile usage was actually really low compared to web. It just didn’t make sense to invest in native development. So we found React Native with web views to work pretty well. We also tried React Native Web, it was a lot newer and kind of an experiment back then. It was cool that we could get it to work but the web results were a little crazy when you care about semantic markup and SEO. It might have changed a lot since then.
More recently I worked on a team that wrote a lot of business logic in C++ to share across android and iOS. We ended up compiling it to WASM and we were able to build a web interface pretty quickly. A lot of languages are trying to make this easier. Kotlin standing out to me as an easy learning curve and prioritizing this. Challenge there is not using Java platform specific libraries on the shared stuff.
I do think there is something to be said for sharing pieces of the UI too.
I think the future looks bright for multi platform development. There is still some work to be done but it’s all heading in the right direction in my opinion.
I think you’ll have iOS, Android and Web specific code mixed with multi platform pieces. Both business logic and UI.
- todd3834 4y agoAs always it’s going to depend on the app. The Tesla mobile app in React Native works perfectly fine for me on iOS. At the same time web views for YouTube would probably suck. So many situations and so many options… again I’m very optimistic about the direction things are goin.
- wiseowise 4y ago> At the same time web views for YouTube would probably suck. That’s only the case because YouTube sucks to start with.