Skip to content

Commit 06bf894

Browse files
committed
fix: remove expo-linking plugin, add metro/babel config for EAS compat
- expo-linking config plugin doesn't exist in SDK 52 (scheme at top level) - metro.config.js + babel.config.js needed for npx expo config to work - This lets EAS CLI read config properly without fallback path
1 parent 23212df commit 06bf894

3 files changed

Lines changed: 12 additions & 7 deletions

File tree

mobile/app.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,7 @@
5656
"plugins": [
5757
"expo-router",
5858
"expo-notifications",
59-
"expo-background-fetch",
60-
[
61-
"expo-linking",
62-
{
63-
"scheme": "smshub"
64-
}
65-
]
59+
"expo-background-fetch"
6660
],
6761
"extra": {
6862
"eas": {

mobile/babel.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = function (api) {
2+
api.cache(true);
3+
return {
4+
presets: ['babel-preset-expo'],
5+
};
6+
};

mobile/metro.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const { getDefaultConfig } = require('expo/metro-config');
2+
3+
const config = getDefaultConfig(__dirname);
4+
5+
module.exports = config;

0 commit comments

Comments
 (0)