1.0.5 • Published 2 years ago

with-rn-bluetooth-classic v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Description

Config plugin for auto-configuring react-native-bluetooth-classic projects on Expo.

Usage

Run expo install with-rn-bluetooth-classic(recommended) or npm i --save with-rn-bluetooth-classic in project root and add the following to app.json or app.config.json:

"plugins": [
      ["with-rn-bluetooth-classic",
        {
          "peripheralUsageDescription": "Allow myDevice to check bluetooth peripheral info",
          "alwaysUsageDescription": "Allow myDevice to always use bluetooth info",
          "protocols": [
            "com.myCompany.p1",
            "com.myCompany.p2"
          ]
        }
      ]
    ]

Note

This plugin was originally intended for usage with Expo dev clients. Expo Go is not sufficient because it doesn't include the native modules in react-native-bluetooth-classic.

Contributing

Modify src/index.ts to modify the plugin. Rebuild by running npm run rebuild on Windows. Run npm run rebuild-mac-lin on MacOS and Linux.

1.0.5

2 years ago

1.0.4

2 years ago

1.0.2

2 years ago

1.0.3

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago