Home / Articles / Blog

Still, more to go for the react-native future
React NativeMobile App DevelopmentConceptsReactjsExpo

Still, more to go for the react-native future

My pissed-off story of mobile app development in react-native

Mobile AppShrey Vijayvargiya

The future of React Native: is it still worth it?

The story begins as you can know that I am working with a web3 and AI-based startup. My job is to develop a mobile application and the tech I’ve chosen is react-native.

React Native is already new in the web2 domain and so forget about web3, will the community ever bring something to the table for the web3 domain?

What Piss me OFF?

Every time, I mean every time, I pick react native project I face some difficulties and most of the time it’s related to the following things

  • Gradle version or plugin issues
  • JDK location or not installed issues
  • React Native compatible version issues
  • SDK location or not found issues
  • Java version issues

These are not so-important things for mobile app developers to learn or master but they tend to disturb a lot of development time.

Most of the time react-native projects build and work successfully in one github branch but not in the other branches.

Sometimes even installing one npm module in react-native breaks the entire APK building process.

This seems to be not so important but it literally becomes the bottleneck problem when it comes to developing applications fast.

No reuse concepts in React Native

Yeah, that’s my equation, if I’ve already done one thing why redo it?

Why can’t I reuse it, just like React components?

I am a big fan of reusing things but this react-native thing is not allowing for reusing much of the things.

I mean even the installation of the new npm module has the tendency to disturb the entire repository APK building process or let’s say the development process so we have to be a little bit cautious while doing so.

I have this gradle version issue in my web3 react-native wallet app. So I googled and ask Chat GPT the ways around to solve the problem.

But seems like nothing works after 3/4 hours of struggle and in the end I’ve to choose another branch of the same repository and then install the same packages to make the app work.

This pisses me off, as the same code repository with 2 branches and one branch is working fine and the other wasn’t.

I don’t want to go into details but these gradle problems, JDK and SDK issues have been encountered earlier also.

I still remember that react-native-firebase installation was the most frustrating thing I’ve ever worked in react-native.

I don’t know the exact reason behind such a bad experience with react-native packages but most of the time was wasted on unnecessary things that usually make no sense.

Installing third-party packages should be easy and a cakewalk and most of the time it should be one command-line installation.

Will React Native have a future?

Of course, we just need to find a way to remove these unnecessary time-consuming things.

Gradle to JDK to Java version to SDK issues should not take more than expected time.

In the world of AI, we should not waste time on such stuff that makes no sense instead we should go for the reuse concept.

My eyes are on Expo to be honest as we develop IOS and Android easily and test them using their live snack bar.

This is an interesting fun and loving thing to do in mobile app development. Expo make things a cakewalk but it’s still new so using it with web3 apps was the question.

But Expo provides a way to eject it completely, but I have tried it, so I am not sure or trust it 100%.

Expo

I am in touch with the Expo team to discuss my non-custodial wallet app development process using Expo along with bottlenecks in future.

So here I am going deeper and deeper into react-native. I also want to remove Android and IOS folder issues in react-native, it should act as the node_modules instead but not sure how to achieve it.

Conclusion: React Native is still evolving

  • React Native is still new and version 1 hasn’t been released yet.
  • Gradle to JDK to SDK issues are always been encountered and
  • Building APK for release and debug and production level wasn’t a cakewalk.

But what’s promising is that we have a lot of applications coming out in react-native instead of Swift and Java.

In addition, the javascript community is huge and the support will keep on coming so react-native still holds the future.

See you in the next one

Shrey

External Links (1)

Explore topics

More in

Weekly letter

Subscribe to iHateReading

Our once-a-week newsletter on programming, jobs, AI, and building products online.

Our once a week newsletter on Programming, Jobs, AI, and Business