React Native Send Intent screenshot

React Native Send Intent

Author Avatar Theme by Lucasferreira
Updated: 28 Sep 2021
427 Stars

React Native Android module to use Android's Intent actions for send text to shareable apps or make phone calls or opening third party apps

Categories

Overview

The react-native-send-intent module is a React Native Android module that allows the utilization of Android’s Intent actions to send text to shareable apps, make phone calls, or open third-party apps. This module is beneficial for sharing text between apps on Android devices and making direct calls if a valid phone number is available with appropriate permissions.

Features

  • Text Sharing: Share text between apps such as SMS or Whatsapp.
  • Send Mail: Send mail with text/plain content.
  • SMS: Send text messages.
  • Phone Calls: Make direct phone calls with optional default phone app setting.
  • Calendar Event Creation: Insert, update, and view calendar events with a simple recurrence support.
  • App Installation: Install remote APKs.
  • Open App: Launch specific apps with or without data.
  • Check Installed App: Verify if a specific app (e.g., Gmail) is installed.
  • Maps Integration: Open maps applications with or without routes.
  • Share Dialog: Open share dialog for sharing content.

Installation

To install the react-native-send-intent module, follow these steps:

  1. Add it to your Android project automatically or manually.
  2. Configure settings in android/setting.gradle and android/app/build.gradle.
  3. Register the module in MainApplication.java.
  4. Use examples provided for text sharing, sending mail, SMS, phone calls, calendar events, app installation, app opening, etc.

Summary

The react-native-send-intent module is a versatile tool for React Native developers working on Android platforms. With features like text sharing, phone call functionalities, app installations, and various intents actions opening different apps or services, this module enhances the interactivity and functionality of React Native applications on Android devices. Its ease of installation and comprehensive examples make it a valuable asset for developers looking to integrate Android-specific actions into their React Native projects.