title: Accessing B2B APIs and Web APIs in React for Tizen Applications
body: <p>I'm trying to create a React App that runs on a Tizen OS-based device. And I need to use the B2B APIs and Web APIs for Printing and getting device information.</p>
  <p>All the guides provided have used Web App mode in Tizen Studio but no mention of how to use the libraries in React.</p>
  <p><strong>index.html</strong></p>
  <pre><code>&lt;script type='text/javascript' src='$B2BAPIS/b2bapis/b2bapis.js'&gt;&lt;/script&gt;
  &lt;script type=&quot;text/javascript&quot; src=&quot;$WEBAPIS/webapis/webapis.js&quot;&gt;&lt;/script&gt;
  </code></pre>
  <p><strong>config.xml:</strong></p>
  <pre><code>&lt;tizen:privilege name=&quot;http://developer.samsung.com/privilege/serialport&quot;/&gt;
  &lt;tizen:privilege name=&quot;http://developer.samsung.com/privilege/productinfo&quot;/&gt;
  </code></pre>
  <p>Guides have mentioned adding the above in the index.html and config.xml files. But I don't think we can use the library in the React app with the above approach.</p>
  <p>How do I get access to these two API Javascript Libraries for React?</p>