New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-forward-calls

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-forward-calls - npm Package Compare versions

Comparing version 0.0.2 to 0.1.0

2

package.json
{
"name": "react-native-forward-calls",
"version": "0.0.2",
"version": "0.1.0",
"description": "Android's Native call forwarding in React Native",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -9,2 +9,8 @@ # React Native Forward Calls

```
## Add permissions
* In `AndroidManifest.xml` add:
```xml
<uses-permission android:name="android.permission.CALL_PHONE" />
```
## Project setup and initialization auto

@@ -65,14 +71,21 @@ ```bash

#### Forward all calls unconditionally (\*\*21\*)
#### Forward calls
```javascript
ForwardCalls.forwardCalls('123456789')//will forward all calls to the number 123456789
ForwardCalls.unconditionalForwarding('123456789')//Forward all calls unconditionally to the number 123456789
ForwardCalls.forwardCallsIfBusy('123456789')//Forward calls if busy to the number 123456789
ForwardCalls.forwardCallsIfNotAnswered('123456789')//Forward calls if not answered to the number 123456789
ForwardCalls.forwardCallsIfOutOfReach('123456789')//Forward calls if out of reach to the number 123456789
ForwardCalls.allConditionalForwarding('123456789')//All conditional forwarding activated to the number 123456789
```
#### Cancel unconditional call forwarding
#### Cancel call forwarding
```javascript
ForwardCalls.cancel()
ForwardCalls.cancelUnconditional()
ForwardCalls.cancelIfBusy()
ForwardCalls.cancelIfNotAnswered()
ForwardCalls.cancelIfOutOfReach()
ForwardCalls.cancelAllConditional()
```

Sorry, the diff of this file is not supported yet

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