Unable to resolve Markdown files in Expo app

SDK Version: 36.0.0
Platforms(Android/iOS/web/all): iOS

I’m trying to fetch a Markdown file in my Expo app and I keep getting Unable to resolve "../../assets/markdown/sample.md". Any idea why my app can’t resolve Markdown files? The idea was to eventually fetch them remotely but I was getting that error so I tried with a local file and it’s the same.

I read about adding the following to app.json but it doesn’t help.

"packagerOpts": {
"assetExts": ["md"]

Whether I try to use the FileSystem or just use fetch, it can’t resolve them. The error also says None of these files exist but they clearly do.

What am I missing here? I’ve asked multiple times on the official Slack channel and in various Discord channels but haven’t had any luck. I’m new to Expo, and mobile development in general, so I’m hoping it’s something simple that I’m missing.

Thanks in advance.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.