tiaanduplessis / react-native-phone-call Goto Github PK
View Code? Open in Web Editor NEWInitiate a phone call in React Native
License: MIT License
Initiate a phone call in React Native
License: MIT License
Is this compatible with expo, cos i have been trying to find it in the documentation
While the number including #, the content after # is not visible in the dial pad.
const args = {
number: "*#123",
prompt: true
};
This show only * in the dial pad.
I am getting the above stated error in android devices but works perfectly fine in IOS.
Hi ,
I would like to ask one thing that how we can make call using different sim directly for android
It will be great if you can help me out
Is it possible to add in a string like name, number ontop instead of just a number there?
I am reporting this, because I was about to use this library in my project and I have just done the npm install --save react-native-phone-call
.
When I do import call from 'react-native-phone-call
I get a visual studio code error that tells me this:
I think you are missing what is there written in your index.js declaration. I will try to write that and give you a feed back, because the option of npm install @types/react-native-phone-call
does not work and returns:
npm ERR! code E404
npm ERR! 404 Not Found: @types/react-native-phone-call@latest
If you have any idea why this could be happening, I will be glad to hear it from you.
cannot access api documentation, i gave a look to the error in the network and it says "The downloaded package is not valid because it did not include TypeScript declaration files and there is no @types/* package published for it on the npm registry."
Calling 'call' method with number '9093900003,,,3,,,274' as provided in readme does not open intent with pauses and extension - those are simply stripped. I am not sure whether RN Linking actually supports uris with extensions.
Do you have any idea how to implement such behaviour or how to make you example working?
I noticed this error can happen on iOS simulator but I'm getting it on Android even if I build the APK or on Expo. It was working fine with Expo some weeks ago but now it's not anymore. I didn't change anything. It just stopped working.
const phoneargs = {
number: 'xxxxxxxxxx',
prompt: true
}
function handleCall() {
console.log(phoneargs.number);
call(phoneargs).catch(console.error);
}
return(
<View style={styles.actionItem}>
<Button
icon={() => (
<MaterialIcons
name="phone-in-talk"
size={24}
/>
)}
color="#333333"
style={styles.actionBtn}
onPress={handleCall}
>
<Text style={styles.itemInfo}>Call</Text>
</Button>
</View>
)
I tried changing the phone number my it just doesn't work.
I want's to hide phone number when calling to any number for my customer because my customer are taxi driver and they can call to the passenger but i want's the taxi driver can not see the passenger phone number when calling to that, is it possible ?
Hello,
I npm installed react-native-phone-call and the package manager alerted that there were 1666 high vulnerabilities and 11 low vulnerabilities to be fixed. I inserted "npm audit fix" and it fixed the high ones.
Now, it says: "11 vulnerabilities required manual review and could not be updated".
I'm using Expo. The report is:
Low Regular Expression Denial of Service
Package braces
Patched in >=2.3.1
Dependency of 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
Path 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
> @react-native-community/cli > metro > jest-haste-map >
micromatch > braces
More info https://npmjs.com/advisories/786
Low Regular Expression Denial of Service
Package braces
Patched in >=2.3.1
Dependency of 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
Path 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
> @react-native-community/cli > metro-config > metro >
jest-haste-map > micromatch > braces
More info https://npmjs.com/advisories/786
Low Regular Expression Denial of Service
Package braces
Patched in >=2.3.1
Dependency of 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
Path 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
> @react-native-community/cli > metro > metro-cache >
metro-core > jest-haste-map > micromatch > braces
More info https://npmjs.com/advisories/786
Low Regular Expression Denial of Service
Package braces
Patched in >=2.3.1
Dependency of 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
Path 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
> @react-native-community/cli > metro-config > metro >
metro-cache > metro-core > jest-haste-map > micromatch >
braces
More info https://npmjs.com/advisories/786
Low Regular Expression Denial of Service
Package braces
Patched in >=2.3.1
Dependency of 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
Path 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
> @react-native-community/cli > metro > metro-config >
metro-cache > metro-core > jest-haste-map > micromatch >
braces
More info https://npmjs.com/advisories/786
Low Regular Expression Denial of Service
Package braces
Patched in >=2.3.1
Dependency of 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
Path 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
> @react-native-community/cli > metro-config > metro-cache >
metro-core > jest-haste-map > micromatch > braces
More info https://npmjs.com/advisories/786
Low Regular Expression Denial of Service
Package braces
Patched in >=2.3.1
Dependency of 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
Path 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
> @react-native-community/cli > metro > metro-config >
metro-core > jest-haste-map > micromatch > braces
More info https://npmjs.com/advisories/786
Low Regular Expression Denial of Service
Package braces
Patched in >=2.3.1
Dependency of 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
Path 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
> @react-native-community/cli > metro-config > metro-core >
jest-haste-map > micromatch > braces
More info https://npmjs.com/advisories/786
Low Regular Expression Denial of Service
Package braces
Patched in >=2.3.1
Dependency of 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
Path 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
> @react-native-community/cli > metro > metro-core >
jest-haste-map > micromatch > braces
More info https://npmjs.com/advisories/786
Low Regular Expression Denial of Service
Package braces
Patched in >=2.3.1
Dependency of 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
Path 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
> @react-native-community/cli > metro-config > metro >
metro-core > jest-haste-map > micromatch > braces
More info https://npmjs.com/advisories/786
Low Regular Expression Denial of Service
Package braces
Patched in >=2.3.1
Dependency of 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
Path 261a5a0f90cf47bb4651d059c9a4782169305e0aad1a8cefc3ed9370dc0…
> @react-native-community/cli > metro-core > jest-haste-map
> micromatch > braces
More info https://npmjs.com/advisories/786
found 11 low severity vulnerabilities in 37960 scanned packages
11 vulnerabilities require manual review. See the full report for details.
Hi, I am getting invalid URL message for IOS.
Attempting to make a call from my app kills the app on iOS 12
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.