How to make a sharing app

I wanted to share image file. Not using other methods but directly by app. Please help me out.

like “share it”

https://community.kodular.io/t/wifi-p2p-extension-share-files-or-any-data-over-the-wifi-direct-paid/71030

Sharing Component.

I want my app from another device to recieve the image. just like “share it”