<?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 Saumyadip Pramanik on Medium]]></title>
        <description><![CDATA[Stories by Saumyadip Pramanik on Medium]]></description>
        <link>https://medium.com/@saumyadip.pramanik?source=rss-95d3afbfae2e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*6X7mBhqaUbtPDyuHXjJw8Q.png</url>
            <title>Stories by Saumyadip Pramanik on Medium</title>
            <link>https://medium.com/@saumyadip.pramanik?source=rss-95d3afbfae2e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 22:33:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@saumyadip.pramanik/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[ESP8266–01 Static IP Local Wireless Switch]]></title>
            <link>https://medium.com/@saumyadip.pramanik/esp8266-01-static-ip-local-wireless-switch-7ae1fbdee55e?source=rss-95d3afbfae2e------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ae1fbdee55e</guid>
            <category><![CDATA[local-wifi-switch]]></category>
            <category><![CDATA[esp-01]]></category>
            <category><![CDATA[static-ip-switch]]></category>
            <category><![CDATA[esp8266]]></category>
            <dc:creator><![CDATA[Saumyadip Pramanik]]></dc:creator>
            <pubDate>Fri, 03 Sep 2021 06:29:12 GMT</pubDate>
            <atom:updated>2021-09-03T06:29:12.156Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>ESP 01 or ESP8266 or ESP8266–01 is a very small and powerful wireless programmable device that has two GPIO pins and can be triggered wirelessly.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*djkDDrIWGi8gKvt5nHBzCQ.png" /></figure><p>The goal of this project is to connect the ESP8266 module with the home wifi router over a static IP, so that even if the router or ESP module restarts it connects to the same IP and hence can be used without any issues.</p><p>There are plenty of videos available on youtube where you can understand how to flash an ESP module. Follow any of them and write the following code in the module.</p><p>// Load Wi-Fi library<br>#include &lt;ESP8266WiFi.h&gt;</p><p>// Replace with your network credentials<br>const char* ssid = “WIFI_NAME”;<br>const char* password = “WIFI_PASSWORD”;</p><p>// Set web server port number to 80<br>WiFiServer server(80);</p><p>// Variable to store the HTTP request<br>String header;</p><p>// Auxiliar variables to store the current output state<br>String output5State = “off”;<br>String output4State = “off”;</p><p>// Assign output variables to GPIO pins<br>const int output5 = 2;<br>const int output4 = 0;</p><p>// Current time<br>unsigned long currentTime = millis();<br>// Previous time<br>unsigned long previousTime = 0; <br>// Define timeout time in milliseconds (example: 2000ms = 2s)<br>const long timeoutTime = 2000;</p><p>// Set your Static IP address <br>IPAddress local_IP(192, 168, 22, 184);<br>// Set your Gateway IP address<br>IPAddress gateway(192, 168, 22, 1);</p><p>IPAddress subnet(255, 255, 255, 0);<br>IPAddress primaryDNS(8, 8, 8, 8); //optional<br>IPAddress secondaryDNS(8, 8, 4, 4); //optional</p><p>void setup() {<br> Serial.begin(115200);<br> // Initialize the output variables as outputs<br> pinMode(output5, OUTPUT);<br> pinMode(output4, OUTPUT);<br> // Set outputs to LOW<br> digitalWrite(output5, LOW);<br> digitalWrite(output4, LOW);<br> <br> // Configures static IP address<br> if (!WiFi.config(local_IP, gateway, subnet, primaryDNS, secondaryDNS)) {<br> Serial.println(“STA Failed to configure”);<br> }<br> <br> // Connect to Wi-Fi network with SSID and password<br> Serial.print(“Connecting to “);<br> Serial.println(ssid);<br> WiFi.begin(ssid, password);<br> while (WiFi.status() != WL_CONNECTED) {<br> delay(500);<br> Serial.print(“.”);<br> }<br> // Print local IP address and start web server<br> Serial.println(“”);<br> Serial.println(“WiFi connected.”);<br> Serial.println(“IP address: “);<br> Serial.println(WiFi.localIP());<br> Serial.print(“ESP Board MAC Address: “);<br> Serial.println(WiFi.macAddress());<br> server.begin();<br> Serial.print(“Server Started.”);<br>}</p><p>void loop(){<br> WiFiClient client = server.available(); // Listen for incoming clients</p><p>if (client) { // If a new client connects,<br> Serial.println(“New Client.”); // print a message out in the serial port<br> String currentLine = “”; // make a String to hold incoming data from the client<br> currentTime = millis();<br> previousTime = currentTime;<br> while (client.connected() &amp;&amp; currentTime — previousTime &lt;= timeoutTime) { // loop while the client’s connected<br> currentTime = millis(); <br> if (client.available()) { // if there’s bytes to read from the client,<br> char c = client.read(); // read a byte, then<br> Serial.write(c); // print it out the serial monitor<br> header += c;<br> if (c == ‘\n’) { // if the byte is a newline character<br> // if the current line is blank, you got two newline characters in a row.<br> // that’s the end of the client HTTP request, so send a response:<br> if (currentLine.length() == 0) {<br> // HTTP headers always start with a response code (e.g. HTTP/1.1 200 OK)<br> // and a content-type so the client knows what’s coming, then a blank line:<br> client.println(“HTTP/1.1 200 OK”);<br> client.println(“Content-type:text/html”);<br> client.println(“Connection: close”);<br> client.println();<br> <br> // turns the GPIOs on and off<br> if (header.indexOf(“GET /5/on”) &gt;= 0) {<br> Serial.println(“GPIO 2 on”);<br> output5State = “on”;<br> digitalWrite(output5, HIGH);<br> } else if (header.indexOf(“GET /5/off”) &gt;= 0) {<br> Serial.println(“GPIO 2 off”);<br> output5State = “off”;<br> digitalWrite(output5, LOW);<br> } else if (header.indexOf(“GET /4/on”) &gt;= 0) {<br> Serial.println(“GPIO 0 on”);<br> output4State = “on”;<br> digitalWrite(output4, HIGH);<br> } else if (header.indexOf(“GET /4/off”) &gt;= 0) {<br> Serial.println(“GPIO 0 off”);<br> output4State = “off”;<br> digitalWrite(output4, LOW);<br> }<br> <br> // Display the HTML web page<br> client.println(“&lt;!DOCTYPE html&gt;&lt;html&gt;”);<br> client.println(“&lt;head&gt;&lt;meta name=\”viewport\” content=\”width=device-width, initial-scale=1\”&gt;”);<br> client.println(“&lt;link rel=\”icon\” href=\”data:,\”&gt;”);<br> // CSS to style the on/off buttons <br> // Feel free to change the background-color and font-size attributes to fit your preferences<br> client.println(“&lt;style&gt;html { font-family: Helvetica; display: inline-block; margin: 0px auto; text-align: center;}”);<br> client.println(“.button { background-color: #195B6A; border: none; color: white; padding: 16px 40px;”);<br> client.println(“text-decoration: none; font-size: 30px; margin: 2px; cursor: pointer;}”);<br> client.println(“.button2 {background-color: #77878A;}&lt;/style&gt;&lt;/head&gt;”);<br> <br> // Web Page Heading<br> client.println(“&lt;body&gt;&lt;h1&gt;ESP8266 Web Server&lt;/h1&gt;”);<br> <br> // Display current state, and ON/OFF buttons for GPIO 5 <br> client.println(“&lt;p&gt;GPIO 2— State “ + output5State + “&lt;/p&gt;”);<br> // If the output5State is off, it displays the ON button <br> if (output5State==”off”) {<br> client.println(“&lt;p&gt;&lt;a href=\”/5/on\”&gt;&lt;button class=\”button\”&gt;ON&lt;/button&gt;&lt;/a&gt;&lt;/p&gt;”);<br> } else {<br> client.println(“&lt;p&gt;&lt;a href=\”/5/off\”&gt;&lt;button class=\”button button2\”&gt;OFF&lt;/button&gt;&lt;/a&gt;&lt;/p&gt;”);<br> } <br> <br> // Display current state, and ON/OFF buttons for GPIO 4 <br> client.println(“&lt;p&gt;GPIO 0— State “ + output4State + “&lt;/p&gt;”);<br> // If the output4State is off, it displays the ON button <br> if (output4State==”off”) {<br> client.println(“&lt;p&gt;&lt;a href=\”/4/on\”&gt;&lt;button class=\”button\”&gt;ON&lt;/button&gt;&lt;/a&gt;&lt;/p&gt;”);<br> } else {<br> client.println(“&lt;p&gt;&lt;a href=\”/4/off\”&gt;&lt;button class=\”button button2\”&gt;OFF&lt;/button&gt;&lt;/a&gt;&lt;/p&gt;”);<br> }<br> client.println(“&lt;/body&gt;&lt;/html&gt;”);<br> <br> // The HTTP response ends with another blank line<br> client.println();<br> // Break out of the while loop<br> break;<br> } else { // if you got a newline, then clear currentLine<br> currentLine = “”;<br> }<br> } else if (c != ‘\r’) { // if you got anything else but a carriage return character,<br> currentLine += c; // add it to the end of the currentLine<br> }<br> }<br> }<br> // Clear the header variable<br> header = “”;<br> // Close the connection<br> client.stop();<br> Serial.println(“Client disconnected.”);<br> Serial.println(“”);<br> }<br>}</p><h3>And Done!</h3><p>Hit your IP in the browser and you will see an HTML page with two buttons that can turn on/off the GPIO switches. You can further connect them with a relay for high-load operations.</p><p>In case you face any challenges, feel free to comment. I will try to resolve ASAP.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ae1fbdee55e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Publish ReactNative to NPM]]></title>
            <link>https://medium.com/@saumyadip.pramanik/publish-reactnative-to-npm-65a392180715?source=rss-95d3afbfae2e------2</link>
            <guid isPermaLink="false">https://medium.com/p/65a392180715</guid>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[npm-libraries]]></category>
            <category><![CDATA[npm-package]]></category>
            <category><![CDATA[npm]]></category>
            <dc:creator><![CDATA[Saumyadip Pramanik]]></dc:creator>
            <pubDate>Tue, 18 Aug 2020 18:13:10 GMT</pubDate>
            <atom:updated>2020-08-18T18:13:10.105Z</atom:updated>
            <content:encoded><![CDATA[<p>Publishing your code as a package is a great way to share your code with react native developers, worldwide.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vlxZW2gGfHCP6aBA" /><figcaption>Photo by <a href="https://unsplash.com/@pinjasaur?utm_source=medium&amp;utm_medium=referral">Paul Esch-Laurent</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>What you will need?</h3><ol><li>An account in npmjs.com (<a href="https://www.npmjs.com/signup">https://www.npmjs.com/signup</a>)</li><li>npm installed in your computer (<a href="https://www.npmjs.com/get-npm">https://www.npmjs.com/get-npm</a>)</li></ol><p>… And that’s it!</p><h3>Execution:</h3><ol><li>In your computer create the folder with the name of the package.<br>For example: <strong>react-native-my_first_package</strong></li><li>Now go to the folder using terminal and run: <strong>npm init</strong></li><li>Run: <strong>npm adduser </strong>and provide your npmjs login credentials.</li><li>Create an <strong>index.js</strong> file into the folder for the starting point.</li><li>Write some code in your <strong>index.js</strong> just like you write in a react native component.</li><li>Run: <strong>npm publish</strong></li></ol><h3>Done!</h3><p>Your package should be up and ready to installed by everyone with usual npm install command: <strong>npm i react-native-my_first_package</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65a392180715" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mobx Observables vs State]]></title>
            <link>https://medium.com/@saumyadip.pramanik/mobx-observables-vs-state-d5ebf5f7413d?source=rss-95d3afbfae2e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5ebf5f7413d</guid>
            <category><![CDATA[state]]></category>
            <category><![CDATA[mobx]]></category>
            <category><![CDATA[observables]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Saumyadip Pramanik]]></dc:creator>
            <pubDate>Thu, 30 Jul 2020 07:49:47 GMT</pubDate>
            <atom:updated>2020-07-30T07:49:47.188Z</atom:updated>
            <content:encoded><![CDATA[<p>There is a doubt in people, whether we should use state variables and update them using <strong>setState </strong>or the <strong>observable</strong> variables when we have Mobx implemented in our project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f4iu2pws92FZjsQxvdrrxw.png" /></figure><h3>State Variables:</h3><p>State variables are updated using setState function and we all know that once the function is executed, it re-renders the component to reflect the change.</p><p>So in other words, <strong>setState</strong> can be divided into a two-step process.<br>1. Update the value of the variable that is declared inside state object.<br>2. Force update the component which calls the render lifecycle method to reflect the changes made in state variables.</p><p>So from the above two cases, this is clear that the <strong>setState</strong> is more of a command which performs the above actions. Based on the DOM structure and performance, react may delay the execution of the above actions as well.</p><p><strong><em>“React does not guarantee that the state changes are applied immediately.” — </em></strong><em>reactjs.org</em></p><h3>Mobx Observables:</h3><p>Mobx is a library that we use for state management and it changes the state synchronously. We mark some properties as being @observable to signal MobX that these values can change over time. And the value change in an observable variable does not cause the DOM to re-render.</p><h3>Conclusion:</h3><p>For components high in the component/DOM tree, re-evaluating their render method and all descendants’ render methods can be expensive. Passing objects with observable properties also make it easy to control the state of a child component both from within itself and from its parent.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5ebf5f7413d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React Native 103]]></title>
            <link>https://medium.com/@saumyadip.pramanik/react-native-103-18040f34c6f3?source=rss-95d3afbfae2e------2</link>
            <guid isPermaLink="false">https://medium.com/p/18040f34c6f3</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Saumyadip Pramanik]]></dc:creator>
            <pubDate>Wed, 04 Mar 2020 05:42:47 GMT</pubDate>
            <atom:updated>2020-03-04T05:42:47.955Z</atom:updated>
            <content:encoded><![CDATA[<p>Writing some code…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qVXNs-GkAhASmrg_" /><figcaption>Photo by <a href="https://unsplash.com/@christinhumephoto?utm_source=medium&amp;utm_medium=referral">Christin Hume</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>If you have successfully completed <strong>React Native 101 </strong>setup, you should have something in your terminal saying to run Android and iOS use following commands…</p><blockquote>react-native run-android / npm run android<br>react-native run-ios / npm run ios</blockquote><p>So, basically what is happening when you run the above command is it starts the bundler or your JS Server in a local port and runs the build command.</p><p>Note that in your native code it is already written to redirect the app to the local IP once the server is loaded. You can also track the server loading status in the terminal/cmd.</p><p>Once the build is successful the app will show you some demo information which varies from react-native version to version. And you can find that in the <strong>App.js </strong>file.</p><p><strong>Understanding the Folder Structure:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SBB0sxrJS-vnExXPoMXy3A.png" /></figure><p>If you ignore the <strong>src </strong>folder, yours should look something like the above.</p><p>If you have native Android or iOS knowledge, you can open both the folders to find that the project structure of an iOS application and Android application is exactly identical.</p><blockquote>Which means, you can drag and drop any iOS or Android project inside a freshly created react native project and it will also work.</blockquote><p><strong>Note: You will need to add some native react-native dependencies as well, which can be found in the React Native official documentation.</strong></p><p>Apart from these, the main files that you should know at this point are</p><p><strong>index.js, App.js, package.json, node_modules</strong></p><ol><li>As in any programing language is common, <strong>index.js </strong>is your entry point to the application.</li><li><strong>App.js</strong> has its file reference in the index.js file and that is the reason the code inside App.js is rendered on the first launch of the application.</li><li><strong>package.json</strong> has all the library dependencies, versions, dev dependencies and scripts written. So when you run yarn or npm install commands, the package name is saved inside this file along with its version.</li><li><strong>node_modules</strong> is where your all packages are installed. In fact, react-native is also installed inside this folder.</li></ol><p>Take a look into the <strong>App.js </strong>feel free to modify the existing code and reload the application running in your iOS simulator or Android emulator by pressing <strong>command + r</strong> for ios or <strong>r r </strong>for android.</p><p>The changes will reflect immediately.</p><p><strong>Congratulations! You have an app with a first screen now.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=18040f34c6f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React Native 102]]></title>
            <link>https://medium.com/@saumyadip.pramanik/react-native-102-55c6f4064990?source=rss-95d3afbfae2e------2</link>
            <guid isPermaLink="false">https://medium.com/p/55c6f4064990</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[react-native-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react-native]]></category>
            <dc:creator><![CDATA[Saumyadip Pramanik]]></dc:creator>
            <pubDate>Wed, 26 Feb 2020 06:04:23 GMT</pubDate>
            <atom:updated>2020-02-26T06:04:23.094Z</atom:updated>
            <content:encoded><![CDATA[<p>React Native Programming</p><p>Please go back and read <strong>React Native 101 </strong>if you do not have your system configured to run React Native. If you have, go ahead…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*z9Ro7FGcbOElGlz-" /><figcaption>Photo by <a href="https://unsplash.com/@othentikisra?utm_source=medium&amp;utm_medium=referral">israel palacio</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>Q. How React Native Works?</strong></p><p>React Native works using four threads:<br><strong>UI, JS, Native Modules &amp; Render</strong></p><p><strong>Q. What are these threads?</strong></p><p><strong>1) UI Thread: </strong>It is also known as Main Thread. This is used for native android or iOS UI rendering.</p><p><strong>2) JS Thread: </strong>JS thread or the Javascript thread is the thread where the logic will run.</p><p><strong>3) Native Modules Thread: </strong>Sometimes an app needs access to platform API, and this happens as part of the native module thread. Such as Camera and Location.</p><p><strong>4) Render Thread: </strong>Only in Android L (5.0), react-native render thread is used to generate actual OpenGL commands used to draw your UI.</p><p><strong>Q. How React Native execution happens?</strong></p><p>1) At the first launch of the app, the main thread starts execution and starts loading the Javascript bundles.</p><p>2) When JavaScript code has been loaded successfully, the main thread sends it to another JS thread because when JS does some heavy calculations stuff the thread for a while, the UI thread will not suffer at all any time.</p><p>3) When React start rendering Reconciler starts “diffing”, and when it generates a new virtual DOM it sends changes to another thread(Shadow thread).</p><p>4) Shadow thread calculates layout and then sends layout parameters/objects to the main(UI) thread. We call it “shadow” thread because it generates shadow nodes.</p><p>5) Since only the main thread is able to render something on the screen, shadow thread should send generated layout to the main thread, and only then UI renders.</p><p><strong>Summary: To sum up everything, react native is a language that has benefits of both Javascript and Native. We can separate this architecture into three blocks:</strong></p><p><strong>Native, JavaScript, Bridge</strong></p><p>Where the <strong>Bridge</strong> layer is situated between <strong>Native</strong> and <strong>JavaScript.</strong></p><p>Using Bridge or <strong>RCTBridge, </strong>React Native and Native communication is done.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55c6f4064990" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React Native 101]]></title>
            <link>https://medium.com/@saumyadip.pramanik/react-native-101-d5c93d701d35?source=rss-95d3afbfae2e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5c93d701d35</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Saumyadip Pramanik]]></dc:creator>
            <pubDate>Tue, 25 Feb 2020 20:13:52 GMT</pubDate>
            <atom:updated>2020-02-25T20:13:52.592Z</atom:updated>
            <content:encoded><![CDATA[<p>Getting Started With React Native</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3l8oWVcMW6G5MC_1" /><figcaption>Photo by <a href="https://unsplash.com/@dtravisphd?utm_source=medium&amp;utm_medium=referral">David Travis</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>Q. What is React Native?</strong></p><p>React Native is a framework to develop iOS and Android applications.</p><p><strong>Q. Why React Native?</strong></p><p>One codebase for both Android and iOS keeping the user interface and experience same as Native.</p><p><strong>Q. Should I learn React Native?</strong></p><p>If you are interested in Mobile Application Development, Yes Yes <strong>YES!</strong></p><p><strong>Q. Where to Start?</strong></p><p>Fortunately, Facebook getting started guide is the best documentation of all the required steps to follow to get your computer configured correctly.</p><p><strong>Note:<br>Mac Machine: Can be used for both Android &amp; iOS App development.<br>Windows/Linux: Can be used for only Android App development.</strong></p><p><a href="https://reactnative.dev/docs/getting-started">https://reactnative.dev/docs/getting-started</a></p><p>Follow the <strong>React Native CLI Quickstart </strong>guide from the above link for setup.</p><p><strong>Q. Why not</strong> <strong>Expo CLI Quickstart?</strong></p><p>Because Expo CLI does not give you complete control over the code. It is good for less complicated apps. I would suggest you to start learning with the <strong>React Native CLI.</strong></p><p><strong>Quick Installation Steps:</strong></p><p><strong>MAC Machine:</strong></p><ol><li>Install Xcode from AppStore (for iOS Only)</li><li>Install Android Studio: <br><a href="https://developer.android.com/studio">https://developer.android.com/studio</a></li><li>Choose a “Custom” setup when prompted to select an installation type. Make sure the boxes next to all of the following are checked:</li></ol><ul><li>Android SDK</li><li>Android SDK Platform</li><li>Performance (Intel ® HAXM) (<a href="https://android-developers.googleblog.com/2018/07/android-emulator-amd-processor-hyper-v.html">See here for AMD</a>)</li><li>Android Virtual Device</li></ul><p>4. Go to Android Studio “Preferences” dialog, under Appearance &amp; Behavior → System Settings → Android SDK.</p><p>Install Android 9 (Pie) from SDK Manager</p><p><strong>Now, your system is ready for iOS and Android Native development!</strong></p><p><strong>React Native Setup Starts from Here…<br>Open the terminal and write the following lines one by one.</strong></p><ol><li>/usr/bin/ruby -e &quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&quot;</li><li>brew install node &amp;&amp; brew install watchman &amp;&amp; sudo gem install cocoapods &amp;&amp; brew tap AdoptOpenJDK/openjdk &amp;&amp; brew cask install adoptopenjdk8</li><li>Configure the ANDROID_HOME environment variable</li></ol><p><strong>If you do not find any </strong><strong>.bash_profile or </strong><strong>.bashrcin your $Home path, you have to create one.</strong></p><p><strong>Creating Bash Profile in MAC:</strong></p><p><strong>Open your terminal and run following command</strong></p><p>cd ~/ &amp;&amp; touch .bash_profile</p><p><strong>Add the following lines to your </strong><strong>$HOME/.bash_profile or </strong><strong>$HOME/.bashrc config file:</strong></p><p>export ANDROID_HOME=$HOME/Library/Android/sdk export PATH=$PATH:$ANDROID_HOME/emulator export PATH=$PATH:$ANDROID_HOME/tools export PATH=$PATH:$ANDROID_HOME/tools/bin export PATH=$PATH:$ANDROID_HOME/platform-tools</p><p><strong>Congratulations! Your mac is ready for React Native App Development.</strong></p><p>Create your first Hello World project by running following in your terminal:</p><p>cd “where you want your project to be created”</p><p>npx react-native init HelloWorld</p><h3><strong>Done!</strong></h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5c93d701d35" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>