cjlotz / Xamarin.Plugins

Cross platform Xamarin Plugins
MIT License
113 stars 56 forks source link

Change Dial to Call on Android? #58

Closed Osmosis311 closed 7 years ago

Osmosis311 commented 7 years ago

On Android, the dial action only puts the number into the dialer, it doesn't automatically dial.

Over here: https://github.com/cjlotz/Xamarin.Plugins/blob/master/Messaging/Plugin.Messaging.Android/PhoneCallTask.cs#L37

...as I understand it, if ACTION_CALL is used instead, it will do this.

Thanks!

cjlotz commented 7 years ago

From the Google docs, using the ACTION_CALL would require the user to add the CALL_PHONE permission to their manifest file. This will be a breaking change for existing users of the plugin that now need to include the additional permission for their apps.