Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
234 views
in Technique[技术] by (71.8m points)

React Native vs CRNA


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Hi I will also share some of my experience on the topic.

Since I have a front end background and was not familiar with XCode or Android Studio I've decided to start my native app developement from CRNA.

Indeed with just a text editor, purely with javascript and utilizing built-in expo SDK components I was quickly able to implement and publish to Play Store a fairly simple app. That I find truly amazing :)

However after publishing the app I realized there are some pitfalls that unable it to compete with similar rival Java apps:

The biggest IMO is the size of the apk generated with exp service. For the app with just 3 screens and not a lot business logic, 25 mb and about 60mb after install is really a lot. According to expo devs more complex apps will be approximately the same size or only slighty larger due to the bulk of the size being the native dependencies, and not actual javascript side. But this still is a big problem and I will probably have to anyway eject the app to optimze the build size

So in general CRNA is a great and fast way to start and have something working but still before publishing the app to the users you'll not avoid seting up your custom build and all the dependencies like Android Studio


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...