title: How to implement AWS IoT(device) in React-Native?
body: <p>I am trying to Implement AWS-IoT(device) using React-Native.</p>
  
  <p>I have used the packages,</p>
  
  <p>1) <a href="https://github.com/aws/aws-iot-device-sdk-js" rel="noreferrer">aws-iot-device-sdk-js</a></p>
  
  <p>2) <a href="https://github.com/jamesjara/react-native-aws-iot-device-shadows" rel="noreferrer">react-native-aws-iot-device-shadows</a></p>
  
  <p>and got a lot of errors while using the package. I could debug few, but did not get expected results.</p>
  
  <p>I am Implementing AWS-IoT for Chatting application.</p>
  
  <p>I am successfully creating an IoT session using REST APIs and get these as responses <code>iotEndpoint, region, accessKey, secretKey, sessionToken</code>.
  But using these credentials I am unable to <strong>Connect</strong> using the above packages.</p>