Socket
Socket
Sign inDemoInstall

with-rn-bluetooth-classic

Package Overview
Dependencies
64
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    with-rn-bluetooth-classic

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


Version published
Weekly downloads
175
increased by48.31%
Maintainers
1
Install size
4.69 MB
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 12 May 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc