Bluesky app fork with some witchin' additions 💫

handle share intents when app first launches (#9410)

authored by samuel.fm and committed by

GitHub f5a5eee3 9823bc98

+6 -1
+4
modules/expo-receive-android-intents/android/src/main/java/xyz/blueskyweb/app/exporeceiveandroidintents/ExpoReceiveAndroidIntentsModule.kt
··· 23 23 ModuleDefinition { 24 24 Name("ExpoReceiveAndroidIntents") 25 25 26 + OnCreate { 27 + handleIntent(appContext.currentActivity?.intent) 28 + } 29 + 26 30 OnNewIntent { 27 31 handleIntent(it) 28 32 }
+2 -1
src/lib/hooks/useIntentHandler.ts
··· 24 24 let previousIntentUrl = '' 25 25 26 26 export function useIntentHandler() { 27 - const incomingUrl = Linking.useURL() 27 + const incomingUrl = Linking.useLinkingURL() 28 28 const composeIntent = useComposeIntent() 29 29 const verifyEmailIntent = useVerifyEmailIntent() 30 30 const ageAssuranceRedirectDialogControl = ··· 108 108 } else { 109 109 tryApplyUpdate(channel) 110 110 } 111 + return 111 112 } 112 113 default: { 113 114 return