<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>React Native development &gt; Metasys Software Pvt Ltd.</title>
	<atom:link href="https://www.metasyssoftware.com/tag/react-native-development/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.metasyssoftware.com</link>
	<description>Unique People, Unique Solutions</description>
	<lastBuildDate>Thu, 27 Mar 2025 07:04:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.metasyssoftware.com/wp-content/uploads/2023/10/metasys-svg-.png</url>
	<title>React Native development &gt; Metasys Software Pvt Ltd.</title>
	<link>https://www.metasyssoftware.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>An Overview of React Native CLI</title>
		<link>https://www.metasyssoftware.com/react/an-overview-of-react-native-cli/</link>
		
		<dc:creator><![CDATA[meta_prasad]]></dc:creator>
		<pubDate>Tue, 28 Feb 2023 13:15:44 +0000</pubDate>
				<category><![CDATA[React]]></category>
		<category><![CDATA[React Native developers]]></category>
		<category><![CDATA[React Native app development]]></category>
		<category><![CDATA[React Native app development company]]></category>
		<category><![CDATA[React Native development]]></category>
		<category><![CDATA[React Native development company]]></category>
		<guid isPermaLink="false">https://www.metasyssoftware.com/?p=5907</guid>

					<description><![CDATA[<p>React Native CLI, or Command-Line Interface, is a text-based interface that enables users to interact with software and operating systems [&#8230;]</p>
The post <a href="https://www.metasyssoftware.com/react/an-overview-of-react-native-cli/">An Overview of React Native CLI</a> appeared first on <a href="https://www.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></description>
										<content:encoded><![CDATA[<div id="pl-5907"  class="panel-layout" ><div id="pg-5907-0"  class="panel-grid panel-no-style" ><div id="pgc-5907-0-0"  class="panel-grid-cell" ><div id="panel-5907-0-0-0" class="so-panel widget widget_sow-editor panel-first-child panel-last-child" data-index="0" ><div
			
			class="so-widget-sow-editor so-widget-sow-editor-base"
			
		>
<div class="siteorigin-widget-tinymce textwidget">
	<p><img decoding="async" src="https://www.metasyssoftware.com/wp-content/uploads/2023/02/Picture1-1.png" /></p>
<p>React Native CLI, or Command-Line Interface, is a text-based interface that enables users to interact with software and operating systems through the use of commands. The React Native CLI consists of a set of commands specifically designed for use with React Native projects.</p>
<p>Initially, the CLI was integrated into core React. However, in 2018, Facebook made the decision to re-architect React Native in an effort to address persistent issues. As part of this effort, the React Native CLI was shifted to @React-Native-community/cli to create a "lean core" for React. This involved moving some of the basic functionality to separate packages, which helped to make React processing more efficient and faster.</p>
<p>There are currently three different CLIs commonly used in <a href="https://www.metasyssoftware.com/technologies/react-native/"><strong><u>React Native development</u></strong></a>, but the latest and officially recommended CLI is @React-Native-community/cli. This CLI is designed to help developers create high-quality React Native applications with ease, making it an essential tool for React Native development.</p>
<h2>Commonly used CLIs</h2>
<h2><strong>1. @React-Native-community/cli</strong></h2>
<p>The @React-Native-community/cli is the official and current Command-Line Interface for React Native development. Upon downloading React and React Native, the CLI tool is automatically included as a dependency, providing developers with all the necessary tools for their projects. This CLI offers a convenient and efficient way to manage React Native projects, from setup to deployment, with its user-friendly commands.</p>
<p><img decoding="async" src="/wp-content/uploads/2023/02/Picture2-1.png" /></p>
<h2><strong>2. React-Native-CLI</strong></h2>
<ol>
<li>The React-Native-CLI, while still available, is considered a deprecated or legacy version of the Command-Line Interface for React Native development. It is no longer required, and if a developer chooses to use it, they must install it globally on their system. Developers are encouraged to use the latest and officially recommended CLI, @React-Native-community/cli, for the best results in their projects.</li>
</ol>
<h2><strong>3. Expo-CLI</strong></h2>
<ol>
<li>The expo-cli is the Command-Line Interface for the expo tools, which must be installed globally using the command "npm install expo-cli –global". This CLI provides a distinct set of commands, separate from the other React Native CLIs. For instance, to create a React Native app using this CLI, a developer must use the command "create-React-Native-app"<strong>.</strong></li>
</ol>
<ol>
<li>See the screenshot for reference.</li>
</ol>
<p></p>
<p><img decoding="async" src="/wp-content/uploads/2023/02/Picture3-1.png" /></p>
<h2><strong>4. Standard React-Native CLI</strong></h2>
<p>The Standard React-Native CLI, also known as the @React-Native-community/cli, is the officially recommended Command-Line Interface for React Native development. It offers a streamlined and efficient way to manage React Native projects, from initial setup to deployment, with its simple and intuitive commands. The Standard React-Native CLI is a critical tool for any React Native developer, providing a reliable and user-friendly way to interact with their projects.</p>
<p><img decoding="async" src="/wp-content/uploads/2023/02/Picture4-1.png" /></p>
<h2>New CLI Commands</h2>
<p>Now, the fresh and new @React-Native-community/cli provides users different helpers and tools in the form of commands for React Native project. Let’s take a look at them!</p>
<p><strong>Syntax:</strong></p>
<ol>
<li>Line starts with <strong>npx React-Native </strong>or <strong>React-Native.</strong></li>
<li>Commands are written ahead of React Native. e.g., npx React-Native &lt;command&gt;.</li>
<li>Some commands are separated by hyphen e.g., run-android.</li>
<li>Options follow the commands npx React-Native &lt;command&gt; &lt;option&gt;.</li>
<li>Options can take arguments such as npx React-Native &lt;command&gt; &lt;option&gt; &lt;arguments&gt;.</li>
</ol>
<p>Let’s dive into these commands one at a time.</p>
<ul>
<li><strong>Upgrade React Native:</strong></li>
</ul>
<ul style="list-style: none;">
<li>npx React-Native upgrade</li>
</ul>
<ul>
<li><strong>To install npm and npx:</strong></li>
</ul>
<ul style="list-style: none;">
<li>npm install –g npx</li>
<li>npm install –g npm@latest</li>
</ul>
<ul>
<li><strong>Display list of all commands:</strong></li>
</ul>
<ul style="list-style: none;">
<li>npx React-Native -h</li>
<li>npx React-Native &lt;command&gt; -h</li>
</ul>
<ul>
<li><strong>Get version info of operating system:</strong></li>
</ul>
<ul style="list-style: none;">
<li>npx React-Native info</li>
</ul>
<ul>
<li><strong>Installing projects:</strong></li>
</ul>
<ul style="list-style: none;">
<li>npx React-Native init &lt;AppName&gt;</li>
</ul>
<ul>
<li><strong>Installing packages:</strong></li>
</ul>
<ul style="list-style: none;">
<li>npx install &lt;package name&gt;</li>
<li>npx i &lt;package name&gt;</li>
<li>npx i &lt;package name&gt;@&lt;package version&gt;</li>
</ul>
<ul>
<li><strong>Uninstalling packages:</strong></li>
</ul>
<ul style="list-style: none;">
<li>npx install &lt;package name&gt;</li>
</ul>
<ul>
<li><strong>Link packages to android and ios modules:</strong></li>
</ul>
<ul style="list-style: none;">
<li>For all the packages - React-Native link</li>
<li>For a specific package - React-Native link &lt;package name&gt;</li>
</ul>
<ul>
<li><strong>Unlink packages:</strong></li>
</ul>
<ul style="list-style: none;">
<li>For all the packages - React-Native unlink</li>
<li>For a specific package - React-Native unlink &lt;package name&gt;</li>
</ul>
<ul>
<li><strong>Start the node packager:</strong></li>
</ul>
<ul style="list-style: none;">
<li>npx React-Native start</li>
</ul>
<ul>
<li><strong>Run the project on android device or emulator:</strong></li>
</ul>
<ul style="list-style: none;">
<li>npx React-Native run-android</li>
</ul>
<ul>
<li><strong>Run the project on apple device or simulator:</strong></li>
</ul>
<ul style="list-style: none;">
<li>npx React-Native run-ios</li>
<li>npx React-Native run-ios –device &lt;device name&gt;</li>
<li>Note: --device only works with apple devices</li>
</ul>
<ul>
<li><strong>To create the main JavaScript bundle:</strong></li>
</ul>
<ul style="list-style: none;">
<li>npx React-Native bundle</li>
<li>npx React-Native bundle –platform &lt;platform name&gt;</li>
</ul>
<h2><strong>Compatibility</strong></h2>
<p>Let’s check the compatibility table of @React-Native-community-cli and React Native versions. New CLI’s release cycle is independent of React-Native.</p>
<table>
<tbody>
<tr>
<td><strong><b>@React-Native-community/cli</b></strong></td>
<td><strong><b>React-Native</b></strong></td>
</tr>
<tr>
<td><a href="https://github.com/react-native-community/cli/tree/next">^5.0.0 (next)</a></td>
<td>master</td>
</tr>
<tr>
<td><a href="https://github.com/react-native-community/cli/">^4.0.0 (master)</a></td>
<td>^0.62.0</td>
</tr>
<tr>
<td><a href="https://github.com/react-native-community/cli/tree/3.x">^3.0.0</a></td>
<td>^0.61.0</td>
</tr>
<tr>
<td><a href="https://github.com/react-native-community/cli/tree/2.x">^2.0.0</a></td>
<td>^0.60.0</td>
</tr>
<tr>
<td><a href="https://github.com/react-native-community/cli/tree/1.x">^1.0.0</a></td>
<td>^0.59.0</td>
</tr>
</tbody>
</table>
<p>To determine which CLI is more effective to develop a React-Native app, take a look at the comparison flow below.</p>
<p><img decoding="async" src="/wp-content/uploads/2023/02/Picture7.jpg" /></p>
<p>While learning a React Native project, the developer needs to bear in mind that the React Native CLI and Expo CLI are different. The developer should be sure to take a firm decision before designing and implementing React-Native project, without which it is cumbersome to convert the project into another CLI.</p>
<p>Are you ready to bring your React Native project to life? Look no further than <a href="https://www.metasyssoftware.com/"><strong><u>MetaSys Software</u></strong></a>! Our team of experts is here to guide you every step of the way.</p>
<p>Whether you need help with coding or want to turn your ideas into a reality, MetaSys Software is your one-stop destination for all things React Native. Don't wait any longer, get in touch with us today and take your project to the next level!</p>
<p>Happy coding!</p>
</div>
</div></div></div></div></div>The post <a href="https://www.metasyssoftware.com/react/an-overview-of-react-native-cli/">An Overview of React Native CLI</a> appeared first on <a href="https://www.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to implement Internationalization for a React Application</title>
		<link>https://www.metasyssoftware.com/react/how-to-implement-internationalization-for-a-react-application/</link>
					<comments>https://www.metasyssoftware.com/react/how-to-implement-internationalization-for-a-react-application/#respond</comments>
		
		<dc:creator><![CDATA[meta_prasad]]></dc:creator>
		<pubDate>Fri, 20 Nov 2020 12:39:34 +0000</pubDate>
				<category><![CDATA[React]]></category>
		<category><![CDATA[Offshore React services]]></category>
		<category><![CDATA[Outsourcing React development company]]></category>
		<category><![CDATA[React JS]]></category>
		<category><![CDATA[React developer]]></category>
		<category><![CDATA[React Native app development]]></category>
		<category><![CDATA[React native developer]]></category>
		<category><![CDATA[React app]]></category>
		<category><![CDATA[React app builder]]></category>
		<category><![CDATA[React Native app development company]]></category>
		<category><![CDATA[React Native development]]></category>
		<category><![CDATA[Outsourcing React development]]></category>
		<guid isPermaLink="false">http://stage.metasyssoftware.com/?p=3440</guid>

					<description><![CDATA[<p>Internationalization of an application, document or product refers to the development of easy content localization, i.e. modifying the content to [&#8230;]</p>
The post <a href="https://www.metasyssoftware.com/react/how-to-implement-internationalization-for-a-react-application/">How to implement Internationalization for a React Application</a> appeared first on <a href="https://www.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></description>
										<content:encoded><![CDATA[<p>Internationalization of an application, document or product refers to the development of easy content localization, i.e. modifying the content to target the language and culture of the region. Internationalizing an application leads to improved usability by people located across the globe.</p>
<p>There are two main aspects to internationalization, firstly the detection of the user’s local language, and secondly the modification of the content, including translation of the text, and switching relevant items such as currency.</p>
<p>This article addresses how to implement the internationalization of a React application using the library ‘React-intl’. The first step is to create a new React project and add the intl package:</p>
<ul>
<li>Create a React project using the commands –</li>
</ul>
<p><em>$ npx create-react-app project_i18n</em></p>
<p><em>         $ cd project_i18n</em></p>
<ul>
<li>Add the &#8216;react-intl&#8217; package.</li>
</ul>
<p>Configuration of the package consists of four main steps: creating the locales, creating the provider, and finally creating a common translator. In the remainder of this article, I will elaborate on these steps.</p>
<p>1. Create the locales –</p>
<p>a.Create a folder with the name ‘<em>i18n’</em> in your code folder.</p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-3227 size-full" title="i18n folder 2" src="https://www.metasyssoftware.com/wp-content/uploads/2022/07/iir_1.png" alt="i18n folder 2" width="260" height="229" /></p>
<p>b.Create a file <em>&#8216;locale.js&#8217;</em> and export the locales object.</p>
<p><img decoding="async" class="alignnone wp-image-3228 size-full" title="locale js3" src="https://www.metasyssoftware.com/wp-content/uploads/2022/07/iir_2.png" alt="locale js3" width="373" height="154" /></p>
<p>2. Create the provider –</p>
<p>a.Now, let’s create the Provider to hook the IntlProvider to the application.<br />
<img decoding="async" class="alignnone wp-image-3229 size-full" title="INTLprovider4" src="https://www.metasyssoftware.com/wp-content/uploads/2022/07/iir_3.png" alt="INTLprovider4" width="461" height="307" /><br />
In the above image, IntlProvider is imported from react-intl and a wrapper is created for the application, setting the default locale and passing the message content according to the locale.</p>
<p>b.To create the messages for the respective languages, create a folder called ‘<em>MessageContent’</em> and create the locale files for messages within that folder.<br />
Let us create two different message objects.<br />
For English: &#8211; en-US.js –</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-3231 size-full" title="EN-US5" src="https://www.metasyssoftware.com/wp-content/uploads/2022/07/iir_4.png" alt="EN-US5" width="643" height="272" /></p>
<p>For French:- fr-CA.js –</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-3232 size-full" title="FR-CA 6" src="https://www.metasyssoftware.com/wp-content/uploads/2022/07/iir_5.png" alt="FR-CA 6" width="643" height="242" /></p>
<p>c. Create an ‘<em>js’</em> file under the MessageContent folder to export the messages.<br />
MessageContent-&gt; index.js –</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-3233 size-full" title="Messagecontent 7" src="https://www.metasyssoftware.com/wp-content/uploads/2022/07/iir_6.png" alt="Messagecontent 7" width="642" height="237" /></p>
<p>3. Create a common translator –</p>
<p>a.Let us create a common Translate function to translate the message according to the locale.<br />
i18n-&gt; translate.js –</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-3234 size-full" title="Commontranslator8" src="https://www.metasyssoftware.com/wp-content/uploads/2022/07/iir_7.png" alt="Commontranslator8" width="639" height="124" /></p>
<p>b.Create <em>‘index.js’ </em>under the ‘<em>i18n’</em> folder to export the locales and provider as default.<br />
i18n-&gt; index.js –</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-3235 size-full" title="index.js9" src="https://www.metasyssoftware.com/wp-content/uploads/2022/07/iir_8.png" alt="index.js9" width="642" height="85" /></p>
<p>c.Finally, let us wrap the application with IntlProvider and set the locale in App.js.<br />
src-&gt; App.js –</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-3236 size-full" title="wrappingapp10" src="https://www.metasyssoftware.com/wp-content/uploads/2022/07/iir_9.png" alt="wrappingapp10" width="643" height="520" /></p>
<p>Example for French Locale –</p>
<p>fr-CA.js</p>
<p>export default {</p>
<p>[LOCALES.FRENCH]: { &#8216;hello&#8217;: &#8216;Bonjour&#8217;, &#8216;userName&#8217;: &#8216;le nom d\&#8217; utilisateur est {uname}&#8217;</p>
<p>}</p>
<p>};</p>
<p>translate.js</p>
<p>const translate = (id, value={}) =&gt; &lt;FormattedMessage id={id} values={{…value}}/&gt;</p>
<p>d. We are looking for the following output:</p>
<p>translate(‘hello&#8217;)  =&gt; Bonjour</p>
<p>translate(&#8216;userName&#8217;, {&#8216;uname&#8217;: ‘Sam&#8217;}) =&gt; le nom d&#8217; utilisateur est Sam</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-3237 size-full" title="Bonjour11" src="https://www.metasyssoftware.com/wp-content/uploads/2022/07/iir_10.png" alt="Bonjour11" width="659" height="260" /></p>
<p>Internationalization can be achieved in react application by using ‘React-intl&#8217; with minimal development efforts for handling multiple languages.</p>
<p>MetaSys has developed custom React solutions for clients across various industries and geographies. If you have any questions on internationalization in your <a href="https://www.metasyssoftware.com/case-study-react-native">React</a> projects, then please feel free to contact us. Happy coding!</p>The post <a href="https://www.metasyssoftware.com/react/how-to-implement-internationalization-for-a-react-application/">How to implement Internationalization for a React Application</a> appeared first on <a href="https://www.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.metasyssoftware.com/react/how-to-implement-internationalization-for-a-react-application/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Bluetooth Low Energy (BLE) technology usage and its communication with mobile devices</title>
		<link>https://www.metasyssoftware.com/react/bluetooth-low-energy-ble-technology-usage-and-its-communication-with-mobile-devices/</link>
					<comments>https://www.metasyssoftware.com/react/bluetooth-low-energy-ble-technology-usage-and-its-communication-with-mobile-devices/#respond</comments>
		
		<dc:creator><![CDATA[meta_prasad]]></dc:creator>
		<pubDate>Wed, 04 Mar 2020 07:18:21 +0000</pubDate>
				<category><![CDATA[React]]></category>
		<category><![CDATA[React developers]]></category>
		<category><![CDATA[React Native]]></category>
		<category><![CDATA[BLE]]></category>
		<category><![CDATA[BlueTooth]]></category>
		<category><![CDATA[React Native developers]]></category>
		<category><![CDATA[React Native development]]></category>
		<category><![CDATA[React Native app developer]]></category>
		<category><![CDATA[Offshore React Native development company]]></category>
		<category><![CDATA[React Native development services]]></category>
		<guid isPermaLink="false">https://www.metasyssoftware.com/?p=2952</guid>

					<description><![CDATA[<p>BLE is a wireless technology for a personal area network that is designed and marketed by the Bluetooth Special Interest [&#8230;]</p>
The post <a href="https://www.metasyssoftware.com/react/bluetooth-low-energy-ble-technology-usage-and-its-communication-with-mobile-devices/">Bluetooth Low Energy (BLE) technology usage and its communication with mobile devices</a> appeared first on <a href="https://www.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></description>
										<content:encoded><![CDATA[<div id="pl-2952" class="panel-layout">
<div id="pg-2952-0" class="panel-grid panel-no-style">
<div id="pgc-2952-0-0" class="panel-grid-cell" data-weight="1">
<div id="panel-2952-0-0-0" class="so-panel widget widget_sow-editor panel-first-child panel-last-child" data-index="0" data-style="{&quot;background_image_attachment&quot;:false,&quot;background_display&quot;:&quot;tile&quot;,&quot;cvw_duration&quot;:&quot;300&quot;,&quot;cvw_easing&quot;:&quot;linear&quot;,&quot;cvw_anchor&quot;:&quot;top-bottom&quot;,&quot;cvw_repeat&quot;:&quot;true&quot;,&quot;iw-visible-screen&quot;:&quot;iw-all&quot;,&quot;iw-visible-layout&quot;:&quot;iw-all&quot;}">
<div class="so-widget-sow-editor so-widget-sow-editor-base">
<div class="siteorigin-widget-tinymce textwidget">
<style><span data-mce-type="bookmark" style="display: inline-block; width: 0px; overflow: hidden; line-height: 0;" class="mce_SELRES_start">﻿</span>ul, ol { list-style: none; }</style>
<p>BLE is a wireless technology for a personal area network that is designed and marketed by the Bluetooth Special Interest Group. It is a low power-consuming device which maintains the same communication range as that of Bluetooth classic. It is mainly used in small and low power consumption devices such as a, smartwatch, BLE keychain, true wireless Bluetooth earphones, etc.  It is compatible with most of the mobile phones, tablets, and computers.</p>
<p>In this article, we will share how a BLE device works and how it communicates with Android and iOS devices for transferring and receiving information/data. But prior to that, let’s try to understand where BLE technology is used.<br />
<img loading="lazy" decoding="async" class="alignnone wp-image-3019" title="BLE" src="https://www.metasyssoftware.com/wp-content/uploads/2022/06/ble2.jpg" alt="BLE " width="531" height="313" /></p>
<ol>
<li><strong>1. Device Tracking:</strong> BLE device is a tiny device that can transmit the data. It consumes very low power and can be used to track the assets and people within a range of 30 meters.</li>
<li><strong>2. Machinery Diagnosis using BLE:</strong> Machine Diagnostics is possible through BLE. BLE can be integrated into the machines and used to transfer data. All key statistics as well as detailed diagnosis-related data can be retrieved from machines and transmitted to mobile devices/computers for detailed analysis.</li>
<li><strong>3. BLE Proximity real-time location: </strong>BLE devices are capable of broadcasting radio signals at regular intervals. These signals can be captured by any mobile device (Android, iOS or any other compatible devices). The mobile application can then establish or pinpoint the BLE location.</li>
<li><strong>4. Better retail experience:</strong> Marketers can enhance the shopping experience by attaching BLE enabled tags to products. When customers are in the vicinity of the store, they would get the latest offers/coupons/discounts for these products on their mobile app.</li>
<li><strong>5. Locating people: </strong>BLE technology can be effectively used in events where you need to coordinate with different people within a particular facility.</li>
<li><strong>6. Home Automation Systems: </strong>BLE is used in Home Automation Systems because of its low power consumption and low cost.</li>
<li><strong>7. Health monitoring system: </strong>BLE is the best choice for health monitoring systems like fitness bands. It collects information from the human and animal body and transfers data to the mobile device using a Bluetooth connection. Since it has a low power consumption feature, it can be easily integrated with small handheld devices for better battery usage.</li>
</ol>
<p>There are different steps involved for searching BLE peripherals, establishing the connection, writing and reading characteristics. They are as follows:</p>
<ul>
<li><strong>1. Scan nearby BLE peripherals:</strong> To get all available nearby BLE peripheral.<br />
<code> manager.startScan( ).then(availableBLEPeripherals =&amp;gt{<br />
console.log( availableBLEPeripherals );<br />
}).catch(error =&gt; {<br />
handleError( error );<br />
})</code></li>
</ul>
<p>&nbsp;</p>
<ol>
<li><strong>2. Connection and Disconnection:</strong>
<ol>
<li style="list-style-type: none;">
<ol>
<li><code> a. To connect the BLE peripheral:<br />
manager.connectBle( peripheral ).then( peripheral =&gt; {<br />
console.log( “Connected peripheral :-”, peripheral );<br />
}).catch( error =&gt; {<br />
handleError( error );<br />
})</code></li>
</ol>
</li>
</ol>
<p>&nbsp;</p>
<ol>
<li style="list-style-type: none;">
<ol>
<li><code> b. To disconnect the BLE peripheral:<br />
manager.disconnectBle( peripheral )then( peripheral =&gt; {<br />
console.log( “Disconnected peripheral :-”, peripheral );<br />
}).catch( error =&gt; {<br />
handleError( error );<br />
})</code></li>
</ol>
</li>
</ol>
<p>&nbsp;</li>
<li><strong>3. Start listening for incoming data:</strong>
<ol>
<li style="list-style-type: none;">
<ol>
<li><code> a. To get all the incoming data from BLE:<br />
manager.monitorBle( peripheral.id, peripheral.characteristics).then( ( response ) =&gt; {<br />
console.log( response );<br />
}).catch( error =&gt; {<br />
handleError( error );<br />
})</code></li>
</ol>
</li>
</ol>
<p>&nbsp;</li>
<li><strong>4. Write characteristic:</strong>
<ol>
<li style="list-style-type: none;">
<ol>
<li><code> a. To fire query to BLE peripheral:<br />
manager.writeData( peripheral.id, peripheral.service, peripheral.characteristics, dataToSend ).then( response =&gt; {<br />
console.log( response );<br />
}).catch(error =&gt; {<br />
handleError( error );<br />
})</code></li>
</ol>
</li>
</ol>
<p>&nbsp;</li>
</ol>
<p>MetaSys Software has developed custom mobile solutions for clients who are in different sectors using React Native technology. For more information on our React Native app development projects &#8211; <a href="https://www.metasyssoftware.com/react">https://www.metasyssoftware.com/react</a></p>
<p>&nbsp;</p>
</div>
</div>
</div>
</div>
</div>
</div>The post <a href="https://www.metasyssoftware.com/react/bluetooth-low-energy-ble-technology-usage-and-its-communication-with-mobile-devices/">Bluetooth Low Energy (BLE) technology usage and its communication with mobile devices</a> appeared first on <a href="https://www.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.metasyssoftware.com/react/bluetooth-low-energy-ble-technology-usage-and-its-communication-with-mobile-devices/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
