react-native-send-intent
react-native-send-intent copied to clipboard
disable skype and other apps than the dialler
How to disable other apps than the dialler?
I think that is not possibile, since the Android OS offer the app-options to you, not the app.
Well, you can do it like this: sendIntent.setPackage("com.android.server.telecom")
We had a PR for this but was closed without merging: https://github.com/benestudio/react-native-send-intent/commit/78b4222f1d03fb0bbb4321ce3f541d3be605ecf0
What do you think?
Hi @adambene
I can't find your PR in our github history. But do you think that is possible to to enable this sendIntent.setPackage("com.android.server.telecom")
command line with some sort of argumment in methods?
Something like this..
public void sendPhoneDial(String phoneNumberString, **bool onlyDial**) {
...
I think that some users want to decide how to deal with your calls, something like using skype or other voip solutions. But with a flag-arguments you and others developers can for the dial behavior if you want.
What do you think?
Looks good. Does this solution have any compatibility problems with any of the Android versions?
Hi, I am looking for the opposite, how to display apps for phone number (e.g. whatsapp, dialler... etc) ? also, if an app is not installed, how to open it on browser ? one last thing, when I want to open an app (e.g. linkedin) how to pass the url for their profile so it redirects to profile when app opens !