{"_id":"rn-bluetooth-classic","_rev":"28-5949ff1156d4cafa812eca8e14f4ecd8","name":"rn-bluetooth-classic","dist-tags":{"latest":"1.4.3"},"versions":{"1.0.0":{"name":"rn-bluetooth-classic","version":"1.0.0","keywords":["react-native","react","react-native-bluetooth-classic","bluetooth-classic"],"author":{"name":"milodevs"},"license":"ISC","_id":"rn-bluetooth-classic@1.0.0","maintainers":[{"name":"milodevs","email":"siliconvalleyn91@gmail.com"}],"homepage":"https://github.com/MiloDevs/rn-bluetooth-classic#readme","bugs":{"url":"https://github.com/MiloDevs/rn-bluetooth-classic/issues"},"dist":{"shasum":"b54dfdec2dafb8d0b1f90398dff49f05018eb49b","tarball":"https://registry.npmjs.org/rn-bluetooth-classic/-/rn-bluetooth-classic-1.0.0.tgz","fileCount":3,"integrity":"sha512-buIAKAyXeUmqyTq4ht/4BIO5MxEmXRmfLkuoKGniXM8XZd3V0yR41KoSqEL6bG/uBJSrA934hoLePAqoOlvqSw==","signatures":[{"sig":"MEUCIHRH+5EA6ICnxEkj2P2vHG11CPEcz9BMdfAydPAKWuYlAiEAkCVb8f2SfJlGN61U6mwO4s6iKwACu34JeX0rxUSrzPI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9427},"main":"./src/useBluetooth.js","gitHead":"5b9920c14713036f41e3ec455ae165f13a731ec6","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"milodevs","email":"siliconvalleyn91@gmail.com"},"repository":{"url":"git+https://github.com/MiloDevs/rn-bluetooth-classic.git","type":"git"},"_npmVersion":"10.2.4","description":"RNBluetoothClassic wrapper","directories":{},"_nodeVersion":"20.11.0","dependencies":{"react":"18.2.0","react-native":"^0.74.1","with-rn-bluetooth-classic":"^1.0.5","react-native-bluetooth-classic":"^1.73.0-rc.8"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rn-bluetooth-classic_1.0.0_1716801510597_0.6869570715928452","host":"s3://npm-registry-packages"}},"1.3.9":{"name":"rn-bluetooth-classic","version":"1.3.9","keywords":["react-native","react","react-native-bluetooth-classic","bluetooth-classic"],"author":{"name":"milodevs"},"license":"ISC","_id":"rn-bluetooth-classic@1.3.9","maintainers":[{"name":"milodevs","email":"siliconvalleyn91@gmail.com"}],"homepage":"https://github.com/MiloDevs/rn-bluetooth-classic#readme","bugs":{"url":"https://github.com/MiloDevs/rn-bluetooth-classic/issues"},"dist":{"shasum":"611089ebe015ce623421102f4a02445c1de68242","tarball":"https://registry.npmjs.org/rn-bluetooth-classic/-/rn-bluetooth-classic-1.3.9.tgz","fileCount":10,"integrity":"sha512-s8AFJtxlq70S0jBFMpkFe6P8aj7CPTigz1STy5Z/I6N03TqQScVhM91r1ZUI0OH5MRhQscwCXuw27k5NNBPSxg==","signatures":[{"sig":"MEUCICTMG8dhgu55N895KH0UQkENJoltdH9bfvIgHXTAQck7AiEAykkEBSOUbDrc5Gx3chOc+X0FXbp37mDL4Xg6fu6tGIU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19112},"main":"dist/index.js","types":"dist/types/index.d.ts","gitHead":"0227c2e53543a7b1a5216c2501134a2e9e1bba9c","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"milodevs","email":"siliconvalleyn91@gmail.com"},"repository":{"url":"git+https://github.com/MiloDevs/rn-bluetooth-classic.git","type":"git"},"_npmVersion":"10.2.4","description":"A React Native Bluetooth provider using react-native-bluetooth-classic","directories":{},"_nodeVersion":"20.11.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.9.4","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.2.0","react-native":"^0.74.1","react-native-bluetooth-classic":"^1.73.0-rc.8"},"_npmOperationalInternal":{"tmp":"tmp/rn-bluetooth-classic_1.3.9_1717047303000_0.6024342681756751","host":"s3://npm-registry-packages"}},"1.3.10":{"name":"rn-bluetooth-classic","version":"1.3.10","keywords":["react-native","react","react-native-bluetooth-classic","bluetooth-classic"],"author":{"name":"milodevs"},"license":"ISC","_id":"rn-bluetooth-classic@1.3.10","maintainers":[{"name":"milodevs","email":"siliconvalleyn91@gmail.com"}],"homepage":"https://github.com/MiloDevs/rn-bluetooth-classic#readme","bugs":{"url":"https://github.com/MiloDevs/rn-bluetooth-classic/issues"},"dist":{"shasum":"279416f4e73f8c2caea9afa16e2fcc3b6e01d720","tarball":"https://registry.npmjs.org/rn-bluetooth-classic/-/rn-bluetooth-classic-1.3.10.tgz","fileCount":10,"integrity":"sha512-eS5KXtjY7Z5Ff6a9ZEYJgwQU/3Td5SkkWDfHw2LVnfpiO9O7F2ON9a3vcWNLcFpIYYGxnOUMOqH+pAR+8WVsLw==","signatures":[{"sig":"MEQCIBp2Ryuj7wF8j89ZEfC4sjYMZTdStaWVZIfP8vXyOp1sAiBY+jcM/Epeab9s4vjREymQJrSQHDLhF8pQ2vQdvWwXhg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19281},"main":"dist/index.js","types":"dist/types/index.d.ts","gitHead":"01b61e4a974a56bca439212fceb1e3de448d3511","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"milodevs","email":"siliconvalleyn91@gmail.com"},"repository":{"url":"git+https://github.com/MiloDevs/rn-bluetooth-classic.git","type":"git"},"_npmVersion":"10.2.4","description":"A React Native Bluetooth provider using react-native-bluetooth-classic","directories":{},"_nodeVersion":"20.11.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.9.4","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.2.0","react-native":"^0.74.1","react-native-bluetooth-classic":"^1.73.0-rc.8"},"_npmOperationalInternal":{"tmp":"tmp/rn-bluetooth-classic_1.3.10_1717047672160_0.09081020731118206","host":"s3://npm-registry-packages"}},"1.3.11":{"name":"rn-bluetooth-classic","version":"1.3.11","keywords":["react-native","react","react-native-bluetooth-classic","bluetooth-classic"],"author":{"name":"milodevs"},"license":"ISC","_id":"rn-bluetooth-classic@1.3.11","maintainers":[{"name":"milodevs","email":"siliconvalleyn91@gmail.com"}],"homepage":"https://github.com/MiloDevs/rn-bluetooth-classic#readme","bugs":{"url":"https://github.com/MiloDevs/rn-bluetooth-classic/issues"},"dist":{"shasum":"45968aadbed0206e0466c2db4d1a5bcad6d6078e","tarball":"https://registry.npmjs.org/rn-bluetooth-classic/-/rn-bluetooth-classic-1.3.11.tgz","fileCount":9,"integrity":"sha512-1X+zMHnbOq14vKK0w7e36HVLFGMO6X4liZHWO5xl4WdqMiLZueogpJnBb4fUdhUN9yMg3Hj4+2ZFqBKqJUeY6w==","signatures":[{"sig":"MEYCIQCbE4WvD0ZWf3SR1Zl/o5T8R8Xl99TQFR8RyqKo605IAAIhAKDYSxFFWPaYY28We3os5aoOIEpZrd8bscXHHbc1iiUC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21823},"main":"dist/index.js","types":"dist/","gitHead":"a17ec557997eeaf53077f7ca9612358c70cf664e","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"milodevs","email":"siliconvalleyn91@gmail.com"},"repository":{"url":"git+https://github.com/MiloDevs/rn-bluetooth-classic.git","type":"git"},"_npmVersion":"10.2.4","description":"A React Native Bluetooth provider using react-native-bluetooth-classic","directories":{},"_nodeVersion":"20.11.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.9.5","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.2.0","react-native":"^0.74.1","react-native-bluetooth-classic":"^1.73.0-rc.8"},"_npmOperationalInternal":{"tmp":"tmp/rn-bluetooth-classic_1.3.11_1717053817265_0.9591514620424595","host":"s3://npm-registry-packages"}},"1.3.12":{"name":"rn-bluetooth-classic","version":"1.3.12","keywords":["react-native","react","react-native-bluetooth-classic","bluetooth-classic"],"author":{"name":"milodevs"},"license":"ISC","_id":"rn-bluetooth-classic@1.3.12","maintainers":[{"name":"milodevs","email":"siliconvalleyn91@gmail.com"}],"homepage":"https://github.com/MiloDevs/rn-bluetooth-classic#readme","bugs":{"url":"https://github.com/MiloDevs/rn-bluetooth-classic/issues"},"dist":{"shasum":"3e95f43a394537fbc37919994d78b413e3d2d45f","tarball":"https://registry.npmjs.org/rn-bluetooth-classic/-/rn-bluetooth-classic-1.3.12.tgz","fileCount":7,"integrity":"sha512-YZoHHNZqg1N+jLPcDqRs1sPmxQNzlziXtqAt4HfsFdqDObcmU+hAdS2WCNjjP1R5wEDQhnRh48Q/gqFXe8u0CQ==","signatures":[{"sig":"MEYCIQDY/tUPjC53ZNg+Lcv2x1qfWkcbV3mmXKaEHL+m1UHgnwIhAKCKoS8x37KtzZcu9ZCalK9q/tFMgkE3bqxPHjjCHpl2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12674},"main":"src/index.ts","types":"src/rn-bluetooth-classic.d.ts","gitHead":"fbf55afd6b94cd037d4a1bbd7f0804f61e89d60d","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"milodevs","email":"siliconvalleyn91@gmail.com"},"repository":{"url":"git+https://github.com/MiloDevs/rn-bluetooth-classic.git","type":"git"},"_npmVersion":"10.2.4","description":"A React Native Bluetooth provider using react-native-bluetooth-classic","directories":{},"_nodeVersion":"20.11.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.9.5","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.2.0","react-native":"^0.74.1","react-native-bluetooth-classic":"^1.73.0-rc.8"},"_npmOperationalInternal":{"tmp":"tmp/rn-bluetooth-classic_1.3.12_1717054056360_0.03840034067422238","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"rn-bluetooth-classic","version":"1.4.0","keywords":["react-native","react","react-native-bluetooth-classic","bluetooth-classic"],"author":{"name":"milodevs"},"license":"ISC","_id":"rn-bluetooth-classic@1.4.0","maintainers":[{"name":"milodevs","email":"siliconvalleyn91@gmail.com"}],"homepage":"https://github.com/MiloDevs/rn-bluetooth-classic#readme","bugs":{"url":"https://github.com/MiloDevs/rn-bluetooth-classic/issues"},"dist":{"shasum":"7054acc42d78cda0844f195e0f6b165101a5e141","tarball":"https://registry.npmjs.org/rn-bluetooth-classic/-/rn-bluetooth-classic-1.4.0.tgz","fileCount":7,"integrity":"sha512-IbT1m08jByGxfocKol9Fx9NEu5YOS6DrCIEzybXt8EPv1LvY63YsZOtcchV2h4k02sstkwCf3xHZmW1YcMOgzw==","signatures":[{"sig":"MEUCIQDnDExyy+8CbMI2ZiIDv0kShGxBwe+XEA6z5QRwYAL0TQIgPSVMPzxrT2EGpTwuBPNL5c+oGGwoPC2KP/HYvIs02kw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12923},"main":"src/index.ts","types":"src/rn-bluetooth-classic.d.ts","gitHead":"358fb9ce502a5cf12167113c5e995f44ff33a7a6","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"milodevs","email":"siliconvalleyn91@gmail.com"},"repository":{"url":"git+https://github.com/MiloDevs/rn-bluetooth-classic.git","type":"git"},"_npmVersion":"10.2.4","description":"A React Native Bluetooth provider using react-native-bluetooth-classic","directories":{},"_nodeVersion":"20.11.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.9.5","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.2.0","react-native":"^0.74.1","react-native-bluetooth-classic":"^1.73.0-rc.8"},"_npmOperationalInternal":{"tmp":"tmp/rn-bluetooth-classic_1.4.0_1717419012695_0.9538502679754328","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"rn-bluetooth-classic","version":"1.4.1","keywords":["react-native","react","react-native-bluetooth-classic","bluetooth-classic"],"author":{"name":"milodevs"},"license":"ISC","_id":"rn-bluetooth-classic@1.4.1","homepage":"https://github.com/MiloDevs/rn-bluetooth-classic#readme","bugs":{"url":"https://github.com/MiloDevs/rn-bluetooth-classic/issues"},"dist":{"shasum":"3ba0b0621ed2d9b64533ebc0bf2b3a750ace660a","tarball":"https://registry.npmjs.org/rn-bluetooth-classic/-/rn-bluetooth-classic-1.4.1.tgz","fileCount":7,"integrity":"sha512-/ZluHUrK4qa8akobaFCnsKWzaxqrLnE85ZOsIbORaJiZ5gFrZZDjNIuh17Aqdr260XG2Sk8/+AxT/33C7hbvkw==","signatures":[{"sig":"MEYCIQCqSdEflPLs5xWj/CoORPkGxyoM57Qrn3ynhvVxy+CBAgIhAKzWdoIKUl6oqcNaxLFKhzMMEH5J31usi7OI2N1KjO5t","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14580},"main":"src/index.ts","types":"src/rn-bluetooth-classic.d.ts","gitHead":"57e9257500a20fd1fae4f9d743f03db03bbc6e88","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"milodevs","email":"siliconvalleyn91@gmail.com"},"repository":{"url":"git+https://github.com/MiloDevs/rn-bluetooth-classic.git","type":"git"},"_npmVersion":"10.2.4","description":"A React Native Bluetooth provider using react-native-bluetooth-classic","directories":{},"_nodeVersion":"20.11.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.9.5","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.2.0","react-native":"^0.74.1","react-native-bluetooth-classic":"^1.73.0-rc.8"},"_npmOperationalInternal":{"tmp":"tmp/rn-bluetooth-classic_1.4.1_1719581239385_0.41590799792222466","host":"s3://npm-registry-packages"}},"1.4.2":{"name":"rn-bluetooth-classic","version":"1.4.2","keywords":["react-native","react","react-native-bluetooth-classic","bluetooth-classic"],"author":{"name":"milodevs"},"license":"ISC","_id":"rn-bluetooth-classic@1.4.2","maintainers":[{"name":"milodevs","email":"siliconvalleyn91@gmail.com"}],"homepage":"https://github.com/MiloDevs/rn-bluetooth-classic#readme","bugs":{"url":"https://github.com/MiloDevs/rn-bluetooth-classic/issues"},"dist":{"shasum":"4d5d21a6754977846bb6ba22b84cceff7a228563","tarball":"https://registry.npmjs.org/rn-bluetooth-classic/-/rn-bluetooth-classic-1.4.2.tgz","fileCount":7,"integrity":"sha512-JwLZgabRiEkAhJ+LmG2mqpB1Du3aj076eWCP93RVNYb7xPGtnlPT+hQw78K9i0XRyd8vIwDONeYedAbMWFT80Q==","signatures":[{"sig":"MEQCIG07GVsUqUzmfMfaztied/IxuLnjQkno9YOtdcT19aBBAiAwm5LQrOcnEktSqNk1RpCpYLMs4jgRA763tzyicWbTgw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14580},"main":"src/index.ts","types":"src/rn-bluetooth-classic.d.ts","gitHead":"b11ba926c86cfa0386c7f480fcdc2f793614a596","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"milodevs","email":"siliconvalleyn91@gmail.com"},"repository":{"url":"git+https://github.com/MiloDevs/rn-bluetooth-classic.git","type":"git"},"_npmVersion":"10.2.4","description":"A React Native Bluetooth provider using react-native-bluetooth-classic","directories":{},"_nodeVersion":"20.11.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.9.5","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.2.0","react-native":"^0.74.1","react-native-bluetooth-classic":"^1.73.0-rc.8"},"_npmOperationalInternal":{"tmp":"tmp/rn-bluetooth-classic_1.4.2_1721384115062_0.8620914262482571","host":"s3://npm-registry-packages"}},"1.4.3":{"name":"rn-bluetooth-classic","version":"1.4.3","description":"A React Native Bluetooth provider using react-native-bluetooth-classic","main":"src/index.ts","types":"src/rn-bluetooth-classic.d.ts","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/MiloDevs/rn-bluetooth-classic.git"},"keywords":["react-native","react","react-native-bluetooth-classic","bluetooth-classic"],"peerDependencies":{"react":"^18.2.0","react-native":"^0.74.1","react-native-bluetooth-classic":"^1.73.0-rc.8"},"author":{"name":"milodevs"},"license":"ISC","bugs":{"url":"https://github.com/MiloDevs/rn-bluetooth-classic/issues"},"homepage":"https://github.com/MiloDevs/rn-bluetooth-classic#readme","devDependencies":{"@types/react":"^18.3.3","typescript":"^4.9.5"},"_id":"rn-bluetooth-classic@1.4.3","gitHead":"894ddcdb27c69ac21e304c3bfe63d6ad137469a6","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-lw28n7JwdQkN8PzTs46/6Uw3kVkWfSAwj+XC8Sv15nEEFaBHg8n6J/lyOh+fV7HwFwGMh6BPcXaeuuD4P4+bgA==","shasum":"cd1a259f2e9b086b0fb2278161d330767fa4be81","tarball":"https://registry.npmjs.org/rn-bluetooth-classic/-/rn-bluetooth-classic-1.4.3.tgz","fileCount":7,"unpackedSize":14925,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB0pYkjwkhaaWmAimjc/tivvpUEHpx4FZG/JF02a4CYvAiEAqZc2hES31NdkTaT8X/1ytKNk0rVrbJfdt3XFVtR3B9Q="}]},"_npmUser":{"name":"milodevs","email":"siliconvalleyn91@gmail.com"},"directories":{},"maintainers":[{"name":"milodevs","email":"siliconvalleyn91@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rn-bluetooth-classic_1.4.3_1722331857260_0.970967990298433"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-27T09:18:30.596Z","modified":"2024-07-30T09:30:57.662Z","1.0.0":"2024-05-27T09:18:30.710Z","1.1.0":"2024-05-27T09:21:36.223Z","1.2.0":"2024-05-27T09:30:18.947Z","1.3.0":"2024-05-27T09:37:09.101Z","1.3.1":"2024-05-27T09:42:50.419Z","1.3.2":"2024-05-29T07:19:15.818Z","1.3.3":"2024-05-29T07:31:11.993Z","1.3.4":"2024-05-29T07:52:42.979Z","1.3.5":"2024-05-29T11:01:02.713Z","1.3.6":"2024-05-29T11:07:06.016Z","1.3.7":"2024-05-29T11:11:07.138Z","1.3.9":"2024-05-30T05:35:03.147Z","1.3.10":"2024-05-30T05:41:12.342Z","1.3.11":"2024-05-30T07:23:37.398Z","1.3.12":"2024-05-30T07:27:36.522Z","1.4.0":"2024-06-03T12:50:12.856Z","1.4.1":"2024-06-28T13:27:19.532Z","1.4.2":"2024-07-19T10:15:15.202Z","1.4.3":"2024-07-30T09:30:57.459Z"},"bugs":{"url":"https://github.com/MiloDevs/rn-bluetooth-classic/issues"},"author":{"name":"milodevs"},"license":"ISC","homepage":"https://github.com/MiloDevs/rn-bluetooth-classic#readme","keywords":["react-native","react","react-native-bluetooth-classic","bluetooth-classic"],"repository":{"type":"git","url":"git+https://github.com/MiloDevs/rn-bluetooth-classic.git"},"description":"A React Native Bluetooth provider using react-native-bluetooth-classic","maintainers":[{"name":"milodevs","email":"siliconvalleyn91@gmail.com"}],"readme":"\r\n---\r\n\r\n# rn-native-bluetooth-classic\r\n\r\n`rn-bluetooth-classic` is a React Native package that provides a Bluetooth context and hooks for managing Bluetooth functionality in your app. It handles permissions, device scanning, connection management, and data reception.\r\n\r\n## Installation\r\n\r\nYou can install `rn-bluetooth-classic` via npm or yarn:\r\n\r\n```bash\r\nnpm install rn-bluetooth-classic\r\n```\r\n\r\nor\r\n\r\n```bash\r\nyarn add rn-bluetooth-classic\r\n```\r\n\r\n## Dependencies\r\n\r\n`rn-bluetooth-classic` uses `react-native-bluetooth-classic` under the hood to scan and connect to devices and only acts as a wrapper on top to make it easier to use.\r\n\r\n```bash\r\nnpm install react-native-bluetooth-classic\r\n```\r\nor \r\n\r\n```bash\r\nyarn add react-native-bluetooth-classic\r\n```\r\n\r\n## Usage\r\n\r\n### 1. Import the `BluetoothProvider` and wrap your app with it in your root component:\r\n\r\n```javascript\r\nimport { BluetoothProvider } from 'rn-bluetooth-classic';\r\n\r\nconst App = () => {\r\n  return (\r\n    <BluetoothProvider>\r\n      <YourApp />\r\n    </BluetoothProvider>\r\n  );\r\n};\r\n```\r\n\r\n### 2. Use the `useBluetooth` hook in your components to access Bluetooth functionality:\r\n\r\n```javascript\r\nimport { useBluetooth } from 'rn-bluetooth-classic';\r\n\r\nconst YourComponent = () => {\r\n  const { isScanning, devices, scanDevices, connectToDevice } = useBluetooth();\r\n\r\n  // Your component logic here...\r\n};\r\n```\r\n\r\n## Use with Expo\r\n\r\nIf you are using Expo and want to integrate `rn-bluetooth-classic`, you can use the `with-rn-bluetooth-classic` Expo plugin maintained by amitferman. This plugin helps with auto-configuration of permissions and protocols.\r\n\r\n### Expo Plugin\r\n\r\namitferman has released and maintains a `with-rn-bluetooth-classic` Expo plugin to get things working.\r\n\r\n- [with-rn-bluetooth-classic GitHub Repository](https://github.com/amitferman/with-rn-bluetooth-classic)\r\n\r\n### Expo Installation\r\n\r\nYou can install `react-native-bluetooth-classic` and `with-rn-bluetooth-classic` from npm using Expo's `expo install` command:\r\n\r\n```bash\r\nexpo install react-native-bluetooth-classic with-rn-bluetooth-classic\r\n```\r\n\r\n### Configure app.json or app.config.json\r\n\r\nAfter installation, configure your `app.json` or `app.config.json` with the following settings:\r\n\r\n```json\r\n{\r\n  \"plugins\": [\r\n    [\"with-rn-bluetooth-classic\",\r\n      {\r\n        \"peripheralUsageDescription\": \"Allow myDevice to check bluetooth peripheral info\",\r\n        \"alwaysUsageDescription\": \"Allow myDevice to always use bluetooth info\",\r\n        \"protocols\": [\r\n          \"com.myCompany.p1\",\r\n          \"com.myCompany.p2\"\r\n        ]\r\n      }\r\n    ]\r\n  ]\r\n}\r\n```\r\n\r\nMake sure to replace `\"com.myCompany.p1\"` and `\"com.myCompany.p2\"` with your own protocol identifiers.\r\n\r\n## Features\r\n\r\n- Request Bluetooth permissions\r\n- Scan for nearby Bluetooth devices\r\n- Connect to a Bluetooth device\r\n- Receive data from connected devices\r\n\r\n## Example\r\n\r\nFor a complete example of how to use `rn-bluetooth-classic`, check out the [example](example) directory in this repository.\r\n\r\n## Contributing\r\n\r\nContributions are welcome! Please open an issue or submit a pull request if you find any bugs or want to suggest improvements.\r\n\r\n## License\r\n\r\nThis package is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\r\n\r\n---\r\n\r\nFeel free to customize this template with additional information specific to your package. Make sure to replace placeholders like `YourApp` with actual names or values.\r\n","readmeFilename":"README.md"}