0.2.1 • Published 1 year ago

@harsha1642/react-native-incomingcall v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-native-incomingcall

This library is in development, not ready for integration

Installation

npm install @harsha1642/react-native-incomingcall

or

yarn add @harsha1642/react-native-incomingcall

Android installation steps

In AndroidManifest.xml:

// ...
        <service android:name="com.incomingcall.CallService" />

        <activity
            android:launchMode="singleInstance"
            android:exported="true"
            android:name="com.incomingcall.CallingActivity"
            android:showOnLockScreen="true"
            android:label="Intercom">
            <intent-filter>
                <action android:name="DESTROY_CALL" />
            </intent-filter>
        </activity>

        <activity
            android:supportsPictureInPicture="true"
            android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
            android:launchMode="singleInstance"
            android:exported="true"
            android:name="com.incomingcall.AnswerCallActivity"
            android:showOnLockScreen="true"
            android:label="Intercom" />

        <receiver
            android:name="com.incomingcall.HungUpBroadcast"
            android:label="Intercom" />

     .....
      </application>

For RN < 0.60 : react-native link @harsha1642/react-native-incomingcall

Usage

import { showIncomingCall } from '@harsha1642/react-native-incomingcall'

showIncomingCall({
    channelName: "channelName";
    channelId: "channelId";
    timeout: "timeout";
    component: "component";
    callerName: "callerName";
});

Contributing

License


0.2.1

1 year ago

0.2.0

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago