Comments (9)
So you did not grant permission to make phone calls? In that case you need to handle yourself what will happen in your app and not call the library.
from react-native-immediate-phone-call.
@wumke, greetings!
Getting the same issue. Although I've granted the permission, double checked it with RN PermissionsAndroid module. What's the name of the permission? Is it CALL_PHONE or should it be something else (like PROCESS_OUTGOING_CALLS)?
from react-native-immediate-phone-call.
I never use latest latest react-native versions in my projects due to other library constraints... which version do you guy's use? Which android version/sdk? (I've tested it on android 4.4, 5, 6, 7, 8 so I don't expect this to be an issue...)
If you find relevant info about deprecated things in react native that might break this library please keep me updated in this issue-thread!
from react-native-immediate-phone-call.
Hi, I am having the same error. On my side, the error appears randomly, but mainly when developing my app. After a hot reload, I always have this error when making a call. I need to restart my app and then it's ok. I also had a client that encounter this error in a published version of my app, so it is not only after a hot reload.
from react-native-immediate-phone-call.
Hi, I was having this problem earlier, while running my app on an emulator, what worked for me was to turn off the wifi so as to fall back to using cellular, and for some reason (honestly, I don't know). it started to work again.
UPDATE: After a while (after live reloading, the error comes back again),
I think @wumke you might need to look at adding checks to all the places where you use reactContext and check to make sure you're not returning a null value. I'm not very experienced with java myself to handle it. Thanks
from react-native-immediate-phone-call.
If I find some time I will look into this...
from react-native-immediate-phone-call.
@dbugshe2 @somy001 @iNane-nane @khunghang16
My PR for RN60 support fixes this issue. Please merge, @wumke
from react-native-immediate-phone-call.
Can the ones having the issue confirm the PR changes fix all problems? Then I will merge it (No time to review myself at the moment...)
Thanks for contributing!
from react-native-immediate-phone-call.
Hi, So I've checked out the PR and tested it out in my app on an emulator.
did a clean via android/gradelw clean
and I didn't get the error at all even after live reloading multiple times(it usually crashes if I dial a number after a live reload)
but maybe someone should try it out on a physical device to confirm once and for all
but I'd say merge and close for now
from react-native-immediate-phone-call.
Related Issues (20)
- Call in background HOT 2
- Error when trying generating APK HOT 4
- error: cannot find symbol HOT 8
- Old version in npm HOT 2
- com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed HOT 13
- Error: Unable to find symbol HOT 2
- RN 61 pod support HOT 3
- Nothing happening when calling RNImmediatePhoneCall.immediatePhoneCall() HOT 16
- How to get callback function after calling HOT 2
- Nothing happens after calling the function to initiate call HOT 3
- Getting 'null is not an object' when trying to call HOT 5
- IOS opening confirm popup for call HOT 4
- Does react-native-immediate-phone-call disable network connection when make a phone call HOT 1
- Immediate call is not working when application is in background on Android HOT 1
- how to handle errors after calling HOT 1
- Please add types HOT 1
- Failed to build iOS project HOT 1
- How can I change from audio to video call. HOT 1
- Is there any way to have custom UI (containing call accept and reject buttons) when the phone call is invoked? HOT 1
- Run the calling in Background
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-immediate-phone-call.