achorein / expo-share-intent

🚀 Simple share intent in an Expo Native Module
MIT License
119 stars 10 forks source link

Example Docs dont clearly explain how to capture Sharing events into my app at the App.tsx level with React Nav #72

Closed geetee24 closed 1 week ago

geetee24 commented 2 weeks ago

Please give specific instrucs on how to capture incoming share event at the App.tsx level in React Nav Expo app.

achorein commented 2 weeks ago

Can you give me a little more information, do you want to retrieve the shareIntent before the application is fully loaded? If so, you'll have to manage everything in App.tsx and react navigation won't have access to it.

geetee24 commented 2 weeks ago

I want to handle an incoming share in my app.TSX and nothing to do with react navigation and I needed to trigger an event that I can then handle

On Mon, Jun 24, 2024 at 1:18 AM Anselme Chorein @.***> wrote:

Can you give me a little more information, do you want to retrieve the shareIntent before the application is fully loaded? If so, you'll have to manage everything in App.tsx and react navigation won't have access to it.

— Reply to this email directly, view it on GitHub https://github.com/achorein/expo-share-intent/issues/72#issuecomment-2185893035, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABS6UT7XENLOI2BONI3Y2KTZI7I5PAVCNFSM6AAAAABJY7XE5WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBVHA4TGMBTGU . You are receiving this because you authored the thread.Message ID: @.***>

achorein commented 2 weeks ago

the basic example handle this use case https://github.com/achorein/expo-share-intent/blob/main/example/basic/App.tsx

geetee24 commented 2 weeks ago

basic example does not show how to trigger an event upon receipt of sharing intent. It only has a

On Mon, Jun 24, 2024 at 6:36 AM Anselme Chorein @.***> wrote:

the basic example handle this use case https://github.com/achorein/expo-share-intent/blob/main/example/basic/App.tsx

— Reply to this email directly, view it on GitHub https://github.com/achorein/expo-share-intent/issues/72#issuecomment-2186603214, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABS6UT4PYREPOPLPHM3T5SLZJAOHPAVCNFSM6AAAAABJY7XE5WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBWGYYDGMRRGQ . You are receiving this because you authored the thread.Message ID: @.***>

geetee24 commented 2 weeks ago

my app has multiple providers too.

On Mon, Jun 24, 2024 at 6:36 AM Anselme Chorein @.***> wrote:

the basic example handle this use case https://github.com/achorein/expo-share-intent/blob/main/example/basic/App.tsx

— Reply to this email directly, view it on GitHub https://github.com/achorein/expo-share-intent/issues/72#issuecomment-2186603214, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABS6UT4PYREPOPLPHM3T5SLZJAOHPAVCNFSM6AAAAABJY7XE5WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBWGYYDGMRRGQ . You are receiving this because you authored the thread.Message ID: @.***>

achorein commented 2 weeks ago

i don't understand, can you give me an example of what type of event you want to handle ?