Setting up Android like product flavors in React Nativeby@rohanx96
10,927 reads
10,927 reads

Setting up Android like product flavors in React Native

by Rohan Agarwal4mJuly 28th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

If you come from native development background, you might be aware of a feature that both Android Studio and XCode provide to create different applications from the same code. These are known as flavors in Android Studio and targets in XCode. The idea is to create different packages with same core functionality but with minor difference in features. This can include different color schemes, branding or some functionalities unique to a package. A common example is creating a free and paid version of a same application, wherein the paid version has same core functionality as the free version with some added functionalities and features. Since the major functionality is the same there is no need to create different projects, but handle flavor/target specific changes at run-time. I hope you get the idea. If not follow these links to learn more.

People Mentioned

Mention Thumbnail

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Setting up Android like product flavors in React Native
Rohan Agarwal HackerNoon profile picture
Rohan Agarwal

Rohan Agarwal

@rohanx96

L O A D I N G
. . . comments & more!

About Author

Rohan Agarwal HackerNoon profile picture
Rohan Agarwal@rohanx96

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite