amethyst icon indicating copy to clipboard operation
amethyst copied to clipboard

Android system share

Open weex opened this issue 1 year ago • 14 comments

As an Android user, I'd like to be able to share content from photos to Amethyst, but Amethyst doesn't appear in the list of apps when the system share dialog comes up.

Potential solution: Register Amethyst and be able to handle the incoming intent to create a new note.

weex avatar May 19 '23 18:05 weex

Hmm, @vitorpamplona for this one, NewNote will need to be registered as a route for navigation.

KotlinGeekDev avatar May 24 '23 22:05 KotlinGeekDev

Check MainActivity.uriToRoute. We have a few custom ones already for notifications, tags and nip47 uris. Maybe it's time to move away from the Dialog?

vitorpamplona avatar May 24 '23 22:05 vitorpamplona

Right, the dialog showing might be problematic when trying to pass the URI of the shared image.

KotlinGeekDev avatar May 24 '23 22:05 KotlinGeekDev

We might need to add options to share in the feed, DMs or in the stories section. I am not sure how to manage all these options. Maybe we can even list some people in the DM section of android?

vitorpamplona avatar May 25 '23 23:05 vitorpamplona

@vitorpamplona we can start by adding share in the feed. Please, as for stories, is it only videos, or pictures/videos?

KotlinGeekDev avatar May 26 '23 06:05 KotlinGeekDev

+1 for sharing to feed to start with. I was about to request the feature myself.

It might need different cases for text and video/image since media needs an additional upload step?

Mime types have different intentions so that can be useful?

davotoula avatar May 29 '23 20:05 davotoula

+1000. I think this functionality is essential for a social media app because most of people's activity is sharing content, so the app is useless for a great amount of people without it.

RBauglir avatar Jul 28 '23 20:07 RBauglir

Working on it :+1:

KotlinGeekDev avatar Jul 28 '23 21:07 KotlinGeekDev

I'm back!(sort of). Sorry, was busy with other issues.

KotlinGeekDev avatar Feb 29 '24 20:02 KotlinGeekDev

@vitorpamplona I was thinking the UX for this feature could be like Signal or WhatsApp style image sharing.

KotlinGeekDev avatar Feb 29 '24 20:02 KotlinGeekDev

Yep, that can work!

vitorpamplona avatar Feb 29 '24 21:02 vitorpamplona

Cool!

KotlinGeekDev avatar Feb 29 '24 21:02 KotlinGeekDev

Welcome back @KotlinGeekDev! I had brief look but I couldn't work out the required mainactivity changes.

Looking forward to this feature!

davotoula avatar Mar 01 '24 04:03 davotoula

I hope this works soon, I cannot share my memes in nostr

rimugu avatar Sep 02 '24 16:09 rimugu