Skip to content

app crashed on device after (expo) eas build -p but run at expo start #25

Open
@tianlang2013

Description

@tianlang2013

package.json
{
"name": "my-app",
"version": "1.0.0",
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"test": "jest --watchAll"
},
"jest": {
"preset": "jest-expo"
},
"dependencies": {
"@expo/vector-icons": "^13.0.0",
"@react-navigation/bottom-tabs": "^6.0.5",
"@react-navigation/native": "^6.0.2",
"@react-navigation/native-stack": "^6.1.0",
"deprecated-react-native-prop-types": "^2.3.0",
"expo": "~46.0.16",
"expo-asset": "~8.6.1",
"expo-clipboard": "~3.1.0",
"expo-constants": "~13.2.4",
"expo-font": "~10.2.1",
"expo-image-picker": "~13.3.1",
"expo-linking": "~3.2.2",
"expo-splash-screen": "~0.16.2",
"expo-status-bar": "~1.4.0",
"expo-svg-uri": "^1.3.1",
"expo-system-ui": "~1.3.0",
"expo-web-browser": "~11.0.0",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-native": "0.69.6",
"react-native-qrcode-svg": "^6.1.2",
"react-native-safe-area-context": "4.3.1",
"react-native-screens": "~3.15.0",
"react-native-web": "~0.18.7",
"rn-overlay": "^0.4.0"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@types/react": "~18.0.14",
"@types/react-native": "~0.69.1",
"jest": "^26.6.3",
"jest-expo": "~44.0.1",
"react-test-renderer": "18.0.0",
"typescript": "~4.3.5"
},
"private": true
}

app.config.json
{
"name": "测试 Config",
"plugins": [
[
"expo-image-picker",
{
"photosPermission": "The app accesses your photos to let you share them with your friends.",
"READ_EXTERNAL_STORAGE" :"Allows an application to read from external storage.",
"WRITE_EXTERNAL_STORAGE":"Allows an application to write to external storage."
}

]
],
"expo": {
"slug": "my-app",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/images/icon.png",
"scheme": "myapp",
"userInterfaceStyle": "automatic",
"splash": {
"image": "./assets/images/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/images/adaptive-icon.png",
"backgroundColor": "#ffffff"
},
"package": "com.qinglong.myapp"
},
"web": {
"favicon": "./assets/images/favicon.png"
},
"extra": {
"eas": {
"projectId": "43d7a159-3ac7-4a9a-8b8b-0d40f7a043db"
}
}
}
}

the lastest version eas on expo ( 46 sdk) is didn`t support react-native-qrcode-svg
crashed when i run the apk in my android device always
nothing alert

somebody hd solved?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions