ios icon indicating copy to clipboard operation
ios copied to clipboard

Add Skype as a call option instead of the built-in phone app

Open ericallam opened this issue 7 years ago • 2 comments

Another one that would be really useful for expats: adding Skype as a call option. Skype is able to call US mobile/landlines (as long as your Skype account has a phone number and Skype credit) and is usually much cheaper than just calling to the US through the cell carrier.

ericallam avatar May 04 '17 07:05 ericallam

I'm also feeling this pain.

The simpler solution that I may try to contribute as a PR is making the phone number selectable and easily copyable, so it's as low-friction as possible to copy a phone number, switch to Skype, and paste it in.

lazerwalker avatar Jun 27 '18 07:06 lazerwalker

That sounds like a good first step rather than thinking about specific support for various calling apps @lazerwalker - let me know if you have any questions if you start a PR.

nickoneill avatar Jun 27 '18 14:06 nickoneill

A request to copy phone numbers was made again

nickoneill avatar Nov 07 '23 15:11 nickoneill

I can take care of this

cselin avatar Dec 04 '23 20:12 cselin

I can take care of this

Hey @cselin I was just looking at making a tappable link to initiate call, especially for users with VoiceOver. What do you think about enabling both options? Suggestions for design?

heathermh avatar Dec 05 '23 05:12 heathermh

@heathermh, yes it looks like the calling functionality wasn't brought over to the SwiftUI redesign. I've gotten something working for the main number (tap to call, long tap to copy), but it doesn't seem to work for list items out of the box. I'm considering having a tap on either bring up a bottom sheet with those two options, but then I think it'll then show a second sheet for calling, which isn't ideal. I'm going to spend a little more time on the tap/long tap option unless you have some other ideas?

cselin avatar Dec 05 '23 13:12 cselin

@cselin I think we could figure out a way to make VoiceOver work or set up alt behavior if it's tap to call, long tap to copy.

If that won't work within the existing menu, it's probably not all bad to have a sheet that lists the other numbers, with options to call or copy.

heathermh avatar Dec 06 '23 02:12 heathermh

Here's an example where I'm using a confirmationDialog for both the main number and field offices. It should be accessible out of the box, but I don't love the double confirmation for calling 😕 https://github.com/5calls/ios/assets/810263/bc4735d2-6340-42af-8439-366ffba706a0

I'm thinking maybe something closer to my original idea with tap to call and tap to hold to copy the main number (not super discoverable, but is a common paradigm) and seeing if I can add a tappable copy icon next to the field office items.

cselin avatar Dec 13 '23 21:12 cselin

I was able to get something decent using ControlGroup within the Menu, but then the section label goes away. I think this may be the best direction if I can display the field office somehow... IMG_2379

cselin avatar Dec 13 '23 21:12 cselin

Tappable copy in the menu looks nice, the section names are important to distinguish them though. Worst case scenario we could move this to a custom modal if the menu is too inflexible?

I do prefer the single-tap-to-call over the extra call/copy prompt. Could the main line be listed in the menu with a copy option at the top if long-press-to-copy doesn't work?

nickoneill avatar Dec 14 '23 16:12 nickoneill