On a more technical note - I'm exploring React Native (having significant experience shipping native iOS Apps) and while on the face of it React Native looks amazing, as I go deeper into building something production quality, I've hit roadblocks with doing simple (natively) things like scrolling a scroll view to focus on a text field that's partially visible and changing the offsets of a scroll view to prevent the ke…
Developing Our First iOS App with React Native
41–50 of 135 posts
Re: Developing Our First iOS App with React Native
#42Earlier quoted context omitted.
On my mobile I absolutely use and prefer native applications. I only use my mobile web browser for web browsing tasks. On my desktop, I only use my web browser for web browsing (searches, news, content, etc) and I hardly use any web applications. I don't feel like I'm unique in this. I think this "synthesis of both approaches" has merits.
There are times when the native app is great, but all the permissions that you have to give up have me fallback to the web version. There is a native phone app for a popular online course that has recently started asking for access to 'Phone Id/what not' on Android. Why? Just show me the videos of the courses I paid for. I refused to update and these days I just log in via Chrome and play the video on there. Not the…
Re: Developing Our First iOS App with React Native
#43> Learn once, write anywhere What's most amazing to me about React Native was how quickly we were able to go from idea to product (~3 months working only part-time) using our existing knowledge as web developers. We did have to write a few lines of Objective-C here and there, but for the most part all of the views and interactions fell together the same way a webapp would.
I've seen the Facebook post about developing Ads Manager (though it glosses over some details), but it would be interesting to hear other people's experiences.
https://code.facebook.com/posts/1189117404435352/react-nativ...
Re: Developing Our First iOS App with React Native
#44Earlier quoted context omitted.
Now that Chrome supports notifications (on Android) I was able to uninstall the native Facebook app and rely exclusively on the web version (which actually loads faster for my anyway). Still have the icon on my homescreen, still get the same notifications -- the main difference is how much better my battery life is now!
Not to mention you don't have to store a 100MB app.
Re: Developing Our First iOS App with React Native
#45Why is this on the top of HN ? Honestly, this is a bad thing, not a thing to show off. To quote the author: "We're web developers, not iOS developers." EXACTLY, don't bring your web tech into native platforms, learn to do it the right way or just hire someone who knows how to do it. Seeing things like that creeping into becoming a norm makes me cringe
This is on the top of HN because people, like me, are interested in it. You say learn to do it the "right way", by that logic we should have stuck to making desktop only apps instead of browser based web apps. I'm not saying this is better or worse. But I certainly think it's an approach worth considering.
Re: Developing Our First iOS App with React Native
#46Still, how do you get hired as a lead mobile dev without having and native platform skills? The entire development world has gone tits-up in the last 10 years. It's all about nonsense package management for JavaScript libraries (why can't I just include a .js off a cdn? npm? What the actual fuck?), and an endless stream of disparate components which are often ill-supported, or just plain ditched after they've had the…
Isn't the advancement of computer science towards further abstraction?
Re: Developing Our First iOS App with React Native
#47Re: Developing Our First iOS App with React Native
#48> Learn once, write anywhere What's most amazing to me about React Native was how quickly we were able to go from idea to product (~3 months working only part-time) using our existing knowledge as web developers. We did have to write a few lines of Objective-C here and there, but for the most part all of the views and interactions fell together the same way a webapp would.
As someone who is about to embark on a similar route, that's interesting and exciting to hear. Was it both Android and iOS? If so, how much of the codebase/time was spent on shared code versus needing to write platform-specific portions? I've seen the Facebook post about developing Ads Manager (though it glosses over some details), but it would be interesting to hear other people's experiences. https://code.facebook.…
Hard to say how much of it was platform-specific, since we only targeted 1 platform (for now). But the large majority of the code we wrote exists in React components or in related JS files, so porting it over to Android should be a matter of decoupling the parts of the code that rely on native features (i.e. camera, navigation, etc).
A lot of that work is already happening in the React Native community so I expect the cross-platform support will keep getting easier.
Re: Developing Our First iOS App with React Native
#49Still, how do you get hired as a lead mobile dev without having and native platform skills? The entire development world has gone tits-up in the last 10 years. It's all about nonsense package management for JavaScript libraries (why can't I just include a .js off a cdn? npm? What the actual fuck?), and an endless stream of disparate components which are often ill-supported, or just plain ditched after they've had the…
The world is changing. Our industry is changing every day, week, and year. Developers before you laughed at your high level C while they were using punch cards. The successful ones realize this and adapt.
Re: Developing Our First iOS App with React Native
#50On a more technical note - I'm exploring React Native (having significant experience shipping native iOS Apps) and while on the face of it React Native looks amazing, as I go deeper into building something production quality, I've hit roadblocks with doing simple (natively) things like scrolling a scroll view to focus on a text field that's partially visible and changing the offsets of a scroll view to prevent the ke…
I've implemented one solution to this in FB's Groups App. Try that experience out and let me know what you think. Also, Nick Lockwood should comment here.