Communicate with nearby devices using Bluetooth, BLE, WiFi and near-ultrasonic audio. Broadcast and receive small payloads (like strings) using the easy-to-use React Native API!
Overview
The async Google Nearby Messages API Wrapper for React Native offers an innovative way to seamlessly connect and interact with nearby devices on both Android and iOS platforms. Designed with modern development practices in mind, this wrapper not only supports autolinking but also offers a versatile range of discovery modes and mediums. Whether you’re looking to broadcast messages or scan for devices using Bluetooth or audio, this library provides a robust solution for your needs.
Integrating Swift within a React Native environment can often be daunting, but this package simplifies the process, ensuring you have all the essential tools at your disposal. With its awaitable native invocations and React hooks, developers can enjoy a more intuitive and efficient coding experience that enhances the overall functionality of their applications.
Features
- Cross-Platform Support: Works effortlessly on both iOS and Android, ensuring a wide reach for your applications.
- Custom Discovery Modes: Choose between multiple discovery modes such as broadcast and scan to suit your application’s needs.
- Multiple Discovery Mediums: Utilize different mediums like Bluetooth and audio for discovering nearby messages, enhancing connectivity options.
- React Hooks: Leverage React hooks for common use cases, making the implementation more streamlined and manageable.
- Awaitable Native Invocations: Simplify interactions with native modules through awaitable calls, allowing for cleaner and more readable code.
- Autolinking Support: Easily integrate without worrying about manual linking, thanks to React Native’s autolink functionality.
- Bluetooth Availability Check: Offers an experimental feature to verify Bluetooth permissions and availability, assisting in troubleshooting potential issues.
- Community Contribution: Encourages users to participate in development by creating pull requests for bug fixes or improvements, fostering a collaborative environment.