Hi there! Thanks for making such an awesome product.
I’ve managed to get iOS Universal Links working with my Expo app in production and without Branch (it seems to work just fine even though it’s not really documented in Expo’s docs). I set up an AASA on my server, added my domain under the
ios.associatedDomains in my
app.json, and found that it “just works” if I use
Linking.getInitialURL to capture the URL on app launch and
Linking.addEventListener to capture the URL when the app is already running.
Now I’m trying to sort out if the same thing is possible on Android. Based on their documentation, it seems like all I’d need is the ability to customize the
manifest.xml and add intent filters that indicate my app can handle e.g. a https link to mydomain.com. So it seems like Expo could trivially support this with an
android.intentFilterDomains in the
app.json that accepts an array of objects with
pathPrefix keys and uses that to generate the relevant section of the
manifest.xml (though I may be missing complexity around the actual link handling – not sure what React Native already has built-in here).
Am I correct in assessing that this support does not exist today? Is this something you’d be open to adding? (I’d also be willing to implement and send a PR if you can point me to the right section of the codebase – I couldn’t actually track down where specifically the
manifest.xml is generated, not sure if some of that is closed-source since it lives on your servers.)