react-native-pagecall
TypeScript icon, indicating that this package has built-in type declarations

2.0.16 • Public • Published

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

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.

Package Sidebar

Install

npm i react-native-pagecall

Weekly Downloads

11

Version

2.0.16

License

MIT

Unpacked Size

92.4 kB

Total Files

31

Last publish

Collaborators

  • jurungpark
  • taemini
  • pplink-jerry