iOS App Zone Share Button Functionality #4216
Replies: 2 comments 1 reply
-
I think this would be a small but nice improvement. 👍🏻 I'm not totally sure on the placement but then again there aren't many options that would work in a good way. This should be pretty straight forward to implement by creating a new button component that implements Navigator.canShare() and Navigator.share() to first check if a platform is supported or sharing is allowed and show a share button if it is. This method wouldn't support all platforms right now but it would use the native share menu of the operating system and if a platform added support in the future it would then automatically be be supported. |
Beta Was this translation helpful? Give feedback.
-
Thanks for bringing it up here :) I think that would be really cool, regarding placement I'd probably put it at the bottom next to the Slack and Twitter buttons. Putting it at the top will be too much IMO in an already cluttered interface, especially for zones with long names that are estimated (US). Another thing that comes to mind is that when clicking a share button, what do you expect is shared - is it normally "just" a link? :) |
Beta Was this translation helpful? Give feedback.
-
When using the ElectricityMap iOS app, it would be helpful to be able to share a link to a zone from the zone being viewed. In the below iOS screenshot, I included an annotation to where the share icon might be considered for placement. cc @madsnedergaard per conversation in Slack @ https://electricitymap-cntrib.slack.com/archives/CLEER5FQQ/p1652914891822299
Beta Was this translation helpful? Give feedback.
All reactions