Comments (4)
Having the same issue on Android. But working fine on IOS
I'm using
Linking.openURL(`tel:${phoneargs.number}`);
instead of
call(phoneargs).catch(console.error);
from react-native-phone-call.
Having the same issue on Android. But working fine on IOS
from react-native-phone-call.
@madsongr Looks like the Linking.canOpenURL(url) is returning false inside the openLink:
const openLink = (url, cb) => {
return Linking.canOpenURL(url).then(canOpen => {
if (!canOpen) {
return createError(`invalid URL provided: ${url}`)
} else {
return Linking.openURL(url).catch((err) => Promise.reject(err))
}
})
}
Seems to be related to this issue:
facebook/react-native#30909
from react-native-phone-call.
Thanks @eduardoprentcomau. I've updated the README to mention this.
@madsongr there is now an additional skipCanOpen
configuration option from version v1.2.0 that can be used.
from react-native-phone-call.
Related Issues (14)
- Call pop up with Name HOT 1
- Call kills app HOT 4
- phone call intent with extension does not work HOT 1
- Cannot add # in the phone number HOT 2
- Missing declaration file HOT 3
- Invalid URL in IOS HOT 13
- 11 vulnerabilities must be fixed manually HOT 3
- can't call Bangla phone number for android 9 HOT 2
- how we can call using a particular sim like sim1 or sim2 HOT 1
- Expo
- Cannot access api docs
- how can hide phone number when calling to that HOT 5
- Attempt to invoke virtual method `boolean java.lang.string.endsWith(java.lang.string)` on a null object reference HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-phone-call.