I’ve redacted the slug, just keeping the same naming pattern, if necessary I can pass it privately?
This is the app.json for the app that loads incorrectly(in a build, after opening the second app):
{
"expo": {
"name": "APPX",
"slug": "appxclient",
"privacy": "unlisted",
"sdkVersion": "33.0.0",
"platforms": [
"ios",
"android",
"web"
],
"version": "3.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"loading": {
"icon": "./assets/icon.png"
},
"splash": {
"backgroundColor": "#fff",
"resizeMode": "contain",
"height": "100%",
"with": "100%",
"image": "./assets/icons/splash.png"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": false,
"bundleIdentifier": "com.company.appxclient",
"icon": "./assets/icon.png",
"infoPlist": {
"NSCameraUsageDescription": "Use camera for profile pictures"
}
},
"android": {
"package": "com.company.appxclient",
"versionCode": 1,
"permissions": [
"CAMERA",
"READ_EXTERNAL_STORAGE",
"WRITE_EXTERNAL_STORAGE",
"USE_FINGERPRINT",
"USE_BIOMETRIC",
"ACCESS_COARSE_LOCATION",
"ACCESS_FINE_LOCATION"
],
"config": {
"googleMaps": {
"apiKey": "----redacted----"
}
}
}
}
}
This is the app.json for the app that works fine:
{
"expo": {
"name": "APPX2",
"slug": "appxprovider",
"privacy": "unlisted",
"sdkVersion": "33.0.0",
"platforms": ["ios", "android", "web"],
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"loading": {
"icon": "./assets/icon.png"
},
"splash": {
"backgroundColor": "#fff",
"resizeMode": "contain",
"height": "100%",
"with": "100%",
"image": "./assets/splash.png"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": ["**/*"],
"ios": {
"supportsTablet": false,
"bundleIdentifier": "com.company.appxprovider",
"icon": "./assets/icon.png",
"infoPlist": {
"NSCameraUsageDescription": "Use camera for profile picture"
}
},
"android": {
"package": "com.company.appxprovider",
"permissions": [
"CAMERA",
"READ_EXTERNAL_STORAGE",
"WRITE_EXTERNAL_STORAGE",
"USE_FINGERPRINT",
"USE_BIOMETRIC"
],
"config": {
"googleMaps": {
"apiKey": "---redacted---"
}
}
},
"hooks": {
"postPublish": [
{
"file": "sentry-expo/upload-sourcemaps",
"config": {
"organization": "company",
"project": "appx",
"authToken": "---redacted---"
}
}
]
}
}
}
In summary:
- Open APPX: opens the correct version
- Open APPX2: opens the correct version
- Open APPX: opens APPX2
- Open APPX2: opens the correct version
I am in the process of upgrading both to SDK 35, hope it solves the issue.