<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Chetan Godiya on Medium]]></title>
        <description><![CDATA[Stories by Chetan Godiya on Medium]]></description>
        <link>https://medium.com/@chetangodiya?source=rss-6368c5a786be------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*KtB5seJDVok9e7HHLrPYow.jpeg</url>
            <title>Stories by Chetan Godiya on Medium</title>
            <link>https://medium.com/@chetangodiya?source=rss-6368c5a786be------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 20:51:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chetangodiya/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[White Labeling in React Native]]></title>
            <link>https://medium.com/simform-engineering/white-labeling-in-react-native-342346cc4f32?source=rss-6368c5a786be------2</link>
            <guid isPermaLink="false">https://medium.com/p/342346cc4f32</guid>
            <category><![CDATA[react-native-development]]></category>
            <category><![CDATA[white-label]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[rebranding]]></category>
            <category><![CDATA[white-label-solutions]]></category>
            <dc:creator><![CDATA[Chetan Godiya]]></dc:creator>
            <pubDate>Mon, 05 May 2025 10:39:05 GMT</pubDate>
            <atom:updated>2025-05-05T10:39:05.857Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>Rebrand and Resell: Powering Business Growth with React Native White Labelling</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lM3VcdNzCVK3bOdFxepd1A.gif" /></figure><p>In this blog post, we will discuss the basics of white-labeling a React Native app, including what it is, why one might want to do it, and how to get started. We will also provide some examples of white-labeled React Native apps and share tips to help one get the most out of the process.</p><h3><strong>What is white labeling?</strong></h3><p>White labeling your application means tailoring and rebranding your app to meet the unique needs of your clients or customers. You basically modify essential elements like themes, app icons, and API endpoints to cater to specific regions or countries.</p><h3>Why should you white-label a React Native app?</h3><p>First, it allows you to create a personalized user experience, which can increase user engagement and satisfaction.</p><p>Second, if you plan on releasing your application in multiple countries, you may need different API endpoints and might want to incorporate different color schemes, logos, and branding to adapt to cultural nuances, target demographics, or align with specific needs.</p><h3><strong>How to white-label a React native app</strong></h3><p>To get started, you will need to create a custom theme for your app. This involves setting colors, fonts, images, and other visual elements used throughout the app.</p><p>Next, you will need to customize the code. This involves changing the code to make the app look and feel how you want it to. This can include adding new features, modifying existing features, or customizing existing components.</p><h3>Why this approach?</h3><p>In my experience, flavors/targets are the most efficient and effective way to create a white-label application.</p><p>Using flavors and targets, you can customize multiple aspects of your application without changing the core codebase.</p><h3>Let’s create</h3><p>In our project, we are customizing the native side of our React Native app using a native module. We need to declare some target/flavor types and send them to our React Native side for further use. There are many steps to creating a native module. In this blog, I tried my best to explain how you can do it usin<a href="https://medium.com/simform-engineering/how-to-set-up-different-environments-in-react-native-9f7902ebf282">g</a> preprocessor macros to differentiate between the targets for iOS.</p><h4><strong>iOS steps</strong></h4><p>First, let&#39;s duplicate our target from the General tab with a different name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vnt4lBLxuoNPEHaQjALtJg.png" /><figcaption>Targets in Xcode</figcaption></figure><p>Now, let’s create two directories for our target. In this example, I have created two directories and used two separate assets and info.plist file as below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/1*Gwm5jHmsujael54MsRy-vw.png" /><figcaption>Folder structure of two target’s folder</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SfRoYqghM4yFmExPJ22h-A.png" /><figcaption>Icons for targets</figcaption></figure><p>Let’s now create our magical preprocessor macros and use them in our module to differentiate between our targets. You can read my blog for preprocessor macros, which I mentioned earlier.</p><p>Now, we add the macros specific to our targets. Click on the target you wish to add macros to, navigate to the build settings tab, and then search for the <strong>preprocessor macros</strong>. Now what is that? It is simply a text substitution tool that guides the compiler to perform necessary pre-processing before the actual compilation process.</p><p>In our project, we use macros because we require specific values to differentiate our targets. These values can later be used to send different data based on each target, helping us create more efficient and customizable code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M0zx2aZ__MM_092aTKAfBw.png" /><figcaption>Add preprocessor</figcaption></figure><p>You have to follow the same steps for every target. Now, create a module that takes those macros and gives us target-specific values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mdCVC_TJU3IYWcoxw287AA.png" /><figcaption>Create a native module file</figcaption></figure><p>You might be facing some issues with the pod file because now you have multiple targets; you have to update your pod file as well.</p><p>Here is how the Podfile will look:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UyRhOW9-_2mLsaoK-9TmmA.png" /><figcaption>Pod files for multiple targets</figcaption></figure><blockquote><strong>Note: </strong>If you prefer not to use macros, there is an alternative approach. Instead of using macros, you can create separate module files that are specific to each target where they are used.</blockquote><p>We have completed the iOS part. Now let’s jump into the Android part and see what we could do to achieve the same result as in iOS.</p><h4>Android steps</h4><p>Here, I have implemented a separate folder structure-based approach. If anyone finds a better way, please let me know so I can explore it.</p><p>First, select your app-level gradle file and add your flavor for this approach. I’ve added two flavors:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*95vWJfL2rmypsC4-eZpsIQ.png" /><figcaption>Product Flavors</figcaption></figure><p>Now open up your project in Android Studio and manage our directories.<br>Select the src folder, then select New -&gt; Folder -&gt; Java Folder. The window will open as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FS3wIVGbPzgqB-Jrk2tmNw.png" /><figcaption>Assets target selection</figcaption></figure><p>Select the flavor you want to create. Now, create a package folder using the same steps. Click on the Java folder from the newly created folder, select New -&gt; Package, and use the same name as the original. In this case, you can use <strong>com.demoappuk</strong> and create <strong>RNWLConfig.java</strong> file and add the below code.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1b36caeabf267d74d06a83f452156e27/href">https://medium.com/media/1b36caeabf267d74d06a83f452156e27/href</a></iframe><p>Now, you can create resources, such as icons and other things. Right-click on the folder of your flavor and select the New -&gt; image assets option. This will open the icon popup, where you can select the icons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BNx5arvyVTu46LY5O2SJ6A.png" /><figcaption>Image assets</figcaption></figure><p>Then click on the next button, which will redirect you to the screen below. Here, you must specify for which target you want to create these assets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*exej-ErIow43hQ5dKNxWvQ.png" /><figcaption>Image assets</figcaption></figure><p>Now, since we are using the flavor-based folder structure, we have only one package containing files, which is:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ff4b2a369bf81817e210ed5f32e1511b/href">https://medium.com/media/ff4b2a369bf81817e210ed5f32e1511b/href</a></iframe><p>Then we have the following folder structure:</p><figure><img alt="Folder structure" src="https://cdn-images-1.medium.com/max/662/1*QolLiVnwAzeZ_LYP-84E6g.png" /><figcaption>Folder structure</figcaption></figure><p>Let’s now focus on the React Native part:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cJffJvbQz4DnOmYbPwR1qA.png" /><figcaption>Accessing values from the native module</figcaption></figure><p>Simply use the <strong>NativeModule</strong> from React Native with our module name, <strong>RNWLConfig</strong>, and call the default method, <strong>getContants()</strong>, to retrieve the values from our native module.</p><p><strong>Output</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*S-Rqz03GLDaq_RTbB0blaA.gif" /><figcaption>White labeling of the application in Android and iOS</figcaption></figure><p>For iOS, you need to select the <strong>target</strong>, and for Android, you need to select the flavor from the <strong>Build Variant</strong>.</p><blockquote><strong>Note</strong>: We have also passed the target and apiurl params from the native side, so we can do more dynamic stuff using these params. Some targets won’t require a login module, so you can render accordingly.</blockquote><h3>Tips for White Labeling a React Native App</h3><p>White labeling a React Native app can be a daunting task. Here are some tips to help you get the most out of the process:</p><ul><li>Start by creating a custom theme. This will serve as the foundation for your app and will make it easier to customize the code.</li><li>Prioritize crafting a distinctive user experience. This will set your app apart and leave a lasting impression on your audience.</li><li>Test your app before launching. This will help to ensure that it works as expected and looks the way you want it to.</li></ul><h3>Conclusion</h3><p>White labeling in React Native opens the door to building scalable, customizable apps that can serve multiple brands or clients with a single codebase. It’s a powerful approach for businesses aiming to expand their product offerings quickly while maintaining consistency and reducing development costs.</p><p>With the right strategy, React Native becomes not just a tool for app development but a gateway to building flexible, brand-ready solutions that grow with your business.</p><blockquote><strong>For more updates on the latest tools and technologies, follow the </strong><a href="https://medium.com/simform-engineering"><strong>Simform Engineering</strong></a><strong> blog.</strong></blockquote><blockquote><strong>Follow Us: </strong><a href="https://twitter.com/simform"><strong>X</strong></a><strong> | </strong><a href="https://www.linkedin.com/company/simform/"><strong>LinkedIn</strong></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=342346cc4f32" width="1" height="1" alt=""><hr><p><a href="https://medium.com/simform-engineering/white-labeling-in-react-native-342346cc4f32">White Labeling in React Native</a> was originally published in <a href="https://medium.com/simform-engineering">Simform Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Set-up Different Environments in React Native]]></title>
            <link>https://medium.com/simform-engineering/how-to-set-up-different-environments-in-react-native-9f7902ebf282?source=rss-6368c5a786be------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f7902ebf282</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Chetan Godiya]]></dc:creator>
            <pubDate>Mon, 19 Jul 2021 15:17:23 GMT</pubDate>
            <atom:updated>2021-07-19T15:17:23.880Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vPd_xMRrUjjOBwCPvtyCoA.png" /></figure><p>In app development sometimes you need to build multiple builds for development, staging, and production or sometimes even more. But unfortunately react-native doesn’t come with the solution right now out of the box.</p><p>So, you need to do it by yourself, for the simple solutions you might want to use <a href="https://docs.expo.io/distribution/release-channels/">Expo’s Release Channels</a> or check the <a href="https://github.com/luggit/react-native-config">react-native-config</a>. It gives you the step-by-step guide to setup an environment for your multiple versions of your app, but in the complex scenario where you want more control on API URLs and app name etc, then we need to do it more manually, So let’s setup the different environment by ourselves but before going to do please be with me because this is going to a bit difficult if you are not familiar to native code before</p><p>Here we’re going to create three different environments like</p><p><strong><em>Development, Staging and Production</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lnSv5F-h-xAlAViwM0Be1w.png" /></figure><p>We’ll first set up with android (because it is a lot easier than iOS and you don’t need to open the Android Studio for this) and later for the iOS part before then please be sure that your yarn or npm iOS/android working so it will help you to don’t panic yourself thinking why this is not working and blame me for this 😅</p><p>First of all, Let’s create the different app names for the different environments Like <br>- <em>MyApp for production environment<br>- MyApp Stage for staging environment<br>- MyApp Dev for development environment</em></p><p>For this let’s first of all comment out the default app name in <strong>strings.xml</strong></p><p>As shown in the below image</p><blockquote><strong>Note: </strong>you can found this file under android-&gt;app-&gt;src-&gt;main-&gt;res-&gt;values-&gt;strings.xml</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*uuQYnp0hhWoEqu32OoQHjw.png" /></figure><p>Now open your app level’s <strong>build.gradle </strong>file, as we have to create three configuration called <strong>flavors, </strong>and <strong>gradle</strong> will mix and match it for you, so we have to separate the app name and the package name for our environment like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0UhZl_uHu5jNIl02MQDKVQ.png" /></figure><p>And that’s it, you just need to run it with tag — <strong>variant </strong>with react-native</p><blockquote><strong>Note</strong>: below commands are for the debug variants if you are targeting the release variants just change <strong>Debug </strong>to <strong>Release</strong></blockquote><blockquote>- react-native run-android <strong>–variant=devDebug </strong>for debug environment<br>- react-native run-android –<strong>variant</strong>=<strong>stagDebug </strong>for stag environment<br>- react-native run-android –<strong>variant</strong>=<strong>prodDebug </strong>for prod environment</blockquote><p>Each flavor will create its own app as shown below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/155/1*DN5u-I_pAZalmgn23MkriQ.png" /></figure><p>We’ve done with the app names based on the app environments, now we need to check in which environment the app is running on. So that we later use the API endpoints and the Keys accordingly based on the environment. For this we need to create a native module to get the environment details the app currently running on, you can read more about the Native Modules in android <a href="https://reactnative.dev/docs/native-modules-android">here</a></p><p>First, we need to create a package file later we can register it to the main application As shown in the below file</p><h4>RNConfigModule</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/15ff1dbb05deb70ed63565baaa71f362/href">https://medium.com/media/15ff1dbb05deb70ed63565baaa71f362/href</a></iframe><p>The above file will only return the current flavor the app is running on, in this file we just simply returns the flavor using <strong>BuildConfig.FLAVOR</strong>, you can see this at the line number 23 to get and 24 and return it as a variable called <strong>“env” </strong>which we’re going to use in our react-native project</p><h4><strong>RNConfigPackage</strong></h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b7b29f7d62ade9f23e1e3e87233092c0/href">https://medium.com/media/b7b29f7d62ade9f23e1e3e87233092c0/href</a></iframe><p>This is the simple file for just adding your module, later we have to link this package into our MainApplication.java file describe as below</p><h4>MainApplication</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r294ks4n2pkp-lMSBx7H0w.png" /></figure><p>You just have to add <strong>RNConfigPackage</strong> in this file like i did at line 27 and don’t forget to import that package as in line 12.</p><p>We’ve just created a native module and that would return the environment on which the app is running And that would help us to use the environment specific API URLs and Keys.</p><p>Now you can use this as shown below</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/89535f8baaa0080d890e13ce6afb52c7/href">https://medium.com/media/89535f8baaa0080d890e13ce6afb52c7/href</a></iframe><blockquote><strong>Note:</strong> As you can see we first import our NativeModules from the react-native itself later we have to use our native module which we just created called RNConfig module to access our app information like,</blockquote><blockquote>const <strong>env</strong> = NativeModules.RNConfig.env;</blockquote><blockquote>it will give you the current flavor the app is running on</blockquote><h4>Output</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/438/1*2A6Fkye4ZNSAzAvqc1UWMQ.png" /></figure><p>We can use the different URLs based on the <strong>env</strong>, for this we can have a config in which we can define the <strong>env</strong> based keys and URLs as follows.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6fcbafe6ddf891a1f6910f1f5bed52e0/href">https://medium.com/media/6fcbafe6ddf891a1f6910f1f5bed52e0/href</a></iframe><blockquote><strong>Note:</strong> you can have this in a separate file for more modular approach</blockquote><p>That’s it. We’ve done for the android side.</p><p>Now Let’s jump into the iOS</p><h4><strong>Change the default name of your app</strong></h4><p>First, let’s open up the <strong>XCode</strong> and remove the app name in the <strong>info.plist</strong> file same as android, inside the <strong>info.plist</strong> file you’ll find the <strong>“Bundle Display Name”</strong> just change it to the <strong>${PRODUCT_NAME}</strong> for each environment</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/586/1*RoBLPk9UjMTf_xZsgicdSg.png" /></figure><h4><strong>Create different configurations</strong></h4><p>Go to the app project and set the default configuration for the development, you can name each differently like I created the below configurations</p><p><em>DebugDev, ReleaseDev, DebugStaging, ReleaseStaging, DebugProd, ReleaseProd</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/584/1*ignBsUOOgBpnzrrhABNyiA.png" /></figure><p>Then go to the <strong>current target</strong> and switch to the <strong>“build setting”</strong> tab and search for <strong>“product name”</strong> and change the name of your app to each config, search for <strong>“identifier”</strong> this is the place where you can define the bundle id for each of our configurations, To run this configuration you have to create the scheme for each of these configurations as mentioned below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/565/1*-zaFWyDHV0q-scxzxwfM4g.png" /></figure><h4><strong>Create different schemes</strong></h4><p>First of all, what is a scheme in short, it is collections of a target to the current build, for more you can visit <a href="https://developer.apple.com/library/archive/featuredarticles/XcodeConcepts/Concept-Schemes.html">here</a></p><p>So let’s create the scheme, you can click on the project name next to the run button and click on the <strong>manage scheme</strong> name it will take it to the screen where you can search your current scheme which is <strong>“MyApp”</strong> and rename it to the <strong>“MyAppDev”</strong> and create the two more schemes for the staging and production as well, Now double click on each of the scheme and change the <strong>“Build configuration”</strong> to the respective as I did in a below image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/556/1*yQzVMKxWgIUe_dvsc6M0LQ.png" /></figure><h4><strong>Update you PodFile</strong></h4><p>Here, we need to update the pod file and mention which configuration belongs to debug and release, and change others config as well, as I mentioned below</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/acbaff8e4f88e9cd2962045d2f04a302/href">https://medium.com/media/acbaff8e4f88e9cd2962045d2f04a302/href</a></iframe><blockquote><strong>Note</strong>: At the time of configuration I faced the flipper related issues and as React native (0.63.3+) moved the flipper pods from podfile to react_native_pods script we have to pass the params list to the flipper using <strong>use_flipper!(configurations: debugs) </strong>to overcome this one</blockquote><p>Now run your application with each of the configurations to see everything running smoothly. You can run your application using schemes or command-line as well for command line you can use the below command</p><pre>react-native run-ios — scheme MyAppDev — configuration DebugDev</pre><blockquote><strong>Note</strong>: the above command will target <strong>DebugDev</strong>, You can replace it to any of your scheme name to run that configuration</blockquote><h4>Output</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/163/1*wj389HpzCrZ0f8Yiux1zHQ.png" /></figure><h4><strong>Setup your environment variables</strong></h4><p>So till here, we have created the various configurations now how will app knows the environment it is running on, for this, we have to create some environment variable, I am using <a href="https://stackoverflow.com/questions/56624896/adding-pre-processor-macros-in-xcode-10/56626095"><strong>Preprocessing Macros</strong></a><strong>, </strong>Search for the preprocessing macros into the build setting and add your environment variable like I did <strong>DEBUG=1, STAGING=1 and PROD=1</strong> for the respective scheme’s detail</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/1*FUxGkKfgzSzqtbzbxZ7FFw.png" /></figure><h4><strong>Create Native Module</strong></h4><p>Now let’s create our native module and try to get these values into our react native app</p><p>First, create a cocoa class file by selecting the new file like</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/551/1*lbc36BX3u8dfsJWUnsiU9g.png" /></figure><p>You can give any name that suits you as of now I named it as <strong>RNConfig, </strong>you can now see two files are created RNConfig.h and RNConfig.m file let’s start with these files</p><h4>RNConfig.h</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/507d1b9877fad1c720172ef633c45872/href">https://medium.com/media/507d1b9877fad1c720172ef633c45872/href</a></iframe><blockquote><strong>Note:</strong> we don’t have to do any changes to the above file</blockquote><h4>RNConfig.m</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/98fe0609dcf5ee7b7998a3ae20cf32f9/href">https://medium.com/media/98fe0609dcf5ee7b7998a3ae20cf32f9/href</a></iframe><p>The above file represents the Basic condition that’s return the current environment’s values which we setup earlier in our <strong>preprocessing Marcos</strong>, you need to rebuild the application to see the result which is in our <strong>app.js</strong> file which we created for our android steps</p><p>That’s it for the iOS part. Run the app with different schemes and it will show the different app names and also return the environment as well. And we can use that environment value for the specific URLs and Keys,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*fbA5R4NLE5rYxRyMoWqXEg.png" /></figure><p>If you want to skip the code and want to see the code in action, then feel free to download the demo of this project from below repository</p><p><a href="https://github.com/mobile-simformsolutions/react-native-environments.git">https://github.com/mobile-simformsolutions/react-native-environments.git</a></p><blockquote><strong>Conclusion:</strong><em> Well, there are so many methods to do </em>multiple environment setups in react native application<em>, this is one of them, and you can add more than one values like </em><strong><em>api urls</em></strong><em> for your API calls, as of now we just return the one value which is </em><strong><em>environment, </em>and by using this method you can also learn and create your first native module as I did 🙂</strong></blockquote><p><em>If you found this useful to you feel free to give some claps 👏🏻 and share it with your other fellow developer friends.</em></p><p><em>Thank You!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f7902ebf282" width="1" height="1" alt=""><hr><p><a href="https://medium.com/simform-engineering/how-to-set-up-different-environments-in-react-native-9f7902ebf282">How to Set-up Different Environments in React Native</a> was originally published in <a href="https://medium.com/simform-engineering">Simform Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>