Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
react-native-immediate-phone-call
Advanced tools
Initiate immediate phone call (without further user interaction) for React Native on iOS and Android.
Initiate immediate phone call (without further user interaction) for React Native on iOS and Android. The difference with react-native-phone-call and react-native-communications is that with this library no additional user input is required for Android and the call starts instantly (Apple always asks confirmation since the last iOS updates...).
NOTICE:
(NOTICE THAT INSTALLATION STEPS FOR NEWER REACT NATIVE VERSIONS MAY BE DIFFERENT...)
Fast and easy:
npm install react-native-immediate-phone-call --save
react-native link react-native-immediate-phone-call
Or manual: add the latest version as dependeny to your package.json.
{
"name": "YourProject",
...
},
"dependencies": {
...
"react-native-immediate-phone-call": "^1.0.0",
...
}
<uses-permission android:name="android.permission.CALL_PHONE" />
include ':react-native-immediate-phone-call', ':app'
project(':react-native-immediate-phone-call').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-immediate-phone-call/android')
implementation project(':react-native-immediate-phone-call')
import com.github.wumke.RNImmediatePhoneCall.RNImmediatePhoneCallPackage;
...
@Override
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
...
new RNImmediatePhoneCallPackage(),
...
);
}
...
import com.github.wumke.RNImmediatePhoneCall.RNImmediatePhoneCallPackage; // <--- import
...
public class MainActivity extends ReactActivity {
...
@Override
public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) {
RNImmediatePhoneCallPackage.onRequestPermissionsResult(requestCode, permissions, grantResults); // very important event callback
super.onRequestPermissionsResult(requestCode, permissions, grantResults);
}
...
}
import RNImmediatePhoneCall from 'react-native-immediate-phone-call';
...
RNImmediatePhoneCall.immediatePhoneCall('0123456789');
...
This project uses semantic versioning: MAJOR.MINOR.PATCH. This means that releases within the same MAJOR version are always backwards compatible. For more info see semver.org.
FAQs
Initiate immediate phone call (without further user interaction) for React Native on iOS and Android.
The npm package react-native-immediate-phone-call receives a total of 629 weekly downloads. As such, react-native-immediate-phone-call popularity was classified as not popular.
We found that react-native-immediate-phone-call demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.