๐Ÿ”— Redirect Bluesky links to your preferred client
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

Implement web+ap scheme

+7 -1
+3
shared/src/main/AndroidManifest.xml
··· 46 46 <!-- https://akihikodaki.github.io/activity-intent/scheme.html --> 47 47 <data android:scheme="web+activity+http" /> 48 48 <data android:scheme="web+activity+https" /> 49 + 50 + <!-- https://fedilinks.org/spec/en/ --> 51 + <data android:scheme="web+ap" /> 49 52 </intent-filter> 50 53 </activity> 51 54
+4 -1
shared/src/main/java/dev/zwander/shared/RedirectActivity.kt
··· 99 99 val url = if (intent?.action == Intent.ACTION_SEND) { 100 100 intent.getStringExtra(Intent.EXTRA_TEXT) 101 101 } else { 102 - intent?.data?.toString()?.replace("web+activity+", "") 102 + intent?.dataString 103 + ?.replace("web+activity+http://", "http://") 104 + ?.replace("web+activity+https://", "https://") 105 + ?.replace("web+ap://", "https://") 103 106 } 104 107 105 108 val realReferrer = intent?.let {