DEV Community

Cover image for Share data natively from mobile to PWA app

Share data natively from mobile to PWA app

Sefat Anam on February 06, 2024

Hello There, Alright, let's get straight to the point without too much theory, because there are tons of articles out there that I don't even unde...
Collapse
 
tqbit profile image
tq-bit

The share target seems really interesting. How would you know what link to send these query params to if you have a native application is installed? Is there a dedicated protocol for that? Or some common method all native apps share?

Collapse
 
sefatanam profile image
Sefat Anam

Good question! I'm also trying to figure out a generic way, but for now, I do it manually to determine which app is sending which kinds of query parameters. However, if you need something specific, you can declare it in the manifest and rely on that alone. Let me know if you have any better ideas 💡. Thanks!