Code Monkey home page Code Monkey logo

iotc-cpm-sample's Issues

App crashes after pairing simulated BLE devices

Hello, I am able to start the app ok and connect it to my IoT Central app. However, as soon as I pair a simulated BLE device the app will crash shortly after. Some of the initial telemetry is seen in IoTC. There are no obvious errors reported. I am using the Android platform. Any ideas how to debug the issue? Thanks.

Fresh clone fail to build due to dependencies

Fetching a fresh clone fail to build on Windows due to a dependency on
https://github.com/lucadruda/react-native-paho-mqtt.git

The steps I followed was:
git clone https://github.com/iot-for-all/iotc-cpm-sample.git
cd iotc-cpm-sample
yarn install

ERROR Message:

error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads https://github.com/lucadruda/react-native-paho-mqtt.git
Directory: D:\d\iotc-cpm-sample
Output:
remote: Repository not found.
fatal: repository 'https://github.com/lucadruda/react-native-paho-mqtt.git/' not found

Triage:
The package.json has
"react-native-azure-iotcentral-client": "1.1.2",
I also tried to change it to:
"react-native-azure-iotcentral-client": "^1.1.6",

The NPM package-lock.json contains the following:

"react-native-azure-iotcentral-client": {
      "version": "1.1.6",
      "resolved": "https://registry.npmjs.org/react-native-azure-iotcentral-client/-/react-native-azure-iotcentral-client-1.1.6.tgz",
      "integrity": "sha512-gtJxNKwASSB7XiWUNqt+JymjHuIFc2kU4gYScV9mmS/12OgRNRcdTglcTHaHh42lDLl8x0Aqy2KDXXimi2b66g==",
      "requires": {
        "crypto-js": "^3.3.0",
        "react-native-get-random-values": "^1.4.0",
        "react-native-paho-mqtt": "git+https://github.com/lucadruda/react-native-paho-mqtt.git",
        "uuid": "^8.0.0"
      },
      "dependencies": {
        "events": {
          "version": "1.1.1",
          "bundled": true
        },
        "react-native-paho-mqtt": {
          "version": "0.1.1",
          "from": "git+https://github.com/lucadruda/react-native-paho-mqtt.git",
          "bundled": true,
          "requires": {
            "events": "^1.1.1"
          }
        },
        "uuid": {
          "version": "8.3.1",
          "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.1.tgz",
          "integrity": "sha512-FOmRr+FmWEIG8uhZv6C2bTgEVXsHk08kE7mPlrBbEe+c3r9pjceVPgupIfNIhc4yx55H69OXANrUaSuu9eInKg=="
        }
      }
    },

New Feature enhancement

@lucadruda is it possible to add a web app to this project, similar to android and Ios apps, web app will work only with simulated data, if possible how one can achieve that?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.