G-Ray / expo-router-content-link-issue

repro of issue opening a content: or other schemes with expo-router

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It seems expo-router listens for any schemes/url. This is an issue if you want to open content: schemes for instance.

npm i 

Build the development app. You can run:

npm run build
adb push ./test.txt /sdcard/Download
adb push ./build-xxx.apk /sdcard/Download

Install the apk from the phone/emulator, then open test.txt from a file manager with the development app.

You will be redirected to a non existing screen. Instead, I would expect being able to catch the content: url to handle the file programmatically.

About

repro of issue opening a content: or other schemes with expo-router


Languages

Language:TypeScript 94.2%Language:JavaScript 5.8%