Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-pagecall

Package Overview
Dependencies
Maintainers
0
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-pagecall

A React Native module that provides a simple WebView component to integrate Pagecall

  • 2.0.16
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
65
increased by622.22%
Maintainers
0
Weekly downloads
 
Created
Source

react-native-pagecall

A React Native module that provides a simple WebView component to integrate Pagecall's audio feature into your application. Note that video feature is not supported yet.

It uses following native SDKs

  • pagecall-android-sdk
  • pagecall-ios-sdk

Visit Pagecall

Installation

npm install react-native-pagecall

or

yarn add react-native-pagecall

Usage

Please refer to the example. You can easily grasp it by looking at App.tsx.

iOS setup

Configure the minimum iOS version to 14 for installing the WebRTC package.

In your ios/Podfile, make the following adjustment:

- platform :ios, min_ios_version_supported
+ platform :ios, '14.0'

Android setup

Configure the minimum Android minSdkVersion to 24 for installing the WebRTC package.

In your android/build.gradle, make the following adjustment:

ext {
    buildToolsVersion = "34.0.0"
-   minSdkVersion = 21
+   minSdkVersion = 24
    compileSdkVersion = 33
    compileSdkVersion = 33
    targetSdkVersion = 33
    ndkVersion = "25.1.8937393"
    kotlinVersion = "1.8.0"
}

To use this module in an Android project, you need to add the dependency of pagecall-android-sdk manually:

In your android/app/build.gradle file, add the following:

allprojects {
    repositories {
        maven {
            url 'https://maven.pkg.github.com/pagecall/pagecall-android-sdk'
            credentials {
                username = project.findProperty("GITHUB_USERNAME") ?: System.getenv("GITHUB_USERNAME")
                password = project.findProperty("GITHUB_TOKEN") ?: System.getenv("GITHUB_TOKEN")
            }
        }
    }
}

dependencies {
    ...
    implementation 'com.pagecall:pagecall-android-sdk:0.0.40'
}

Ensure that you have a valid GitHub username and personal access token configured in your environment variables or project properties.

Keywords

FAQs

Package last updated on 24 Jul 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc