iOS Development

ios – Expo react-native app crashes proper after launch in Take a look at Flight

Spread the love


I’ve an expo app and making an attempt to do my first launch in TestFlight. The app is constructed efficiently within the eas servers after which delivered to Apple for deployment. Every part goes effectively till I obtain and open the app: After solely like 2 seconds of rendering the register/login web page, it simply goes instantly clean white. I couldn’t have discovered a option to deal with the problem or debug.

Regionally, I’ve no downside utilizing the app both.

!! I’ve came upon that the crash is because of utilizing Meteor’s React Native api-connection perform:

import Meteor, { useTracker } from '@meteorrn/core';
import AsyncStorage from '@react-native-async-storage/async-storage';
Meteor.join('wss://myapp.com/websocket', { AsyncStorage });

However I want it…

Any assist is very appreciated.

app.json:

{
  "expo": {
    "identify": "librella",
    "slug": "librella-app",
    "model": "0.1.4",
    "orientation": "portrait",
    "icon": "./property/icon.png",
    "userInterfaceStyle": "mild",
    "splash": {
      "picture": "./property/splash.png",
      "resizeMode": "comprise",
      "backgroundColor": "#ffffff"
    },
    "assetBundlePatterns": ["**/*"],
    "ios": {
      "supportsTablet": true,
      "bundleIdentifier": "com.eminx.librella",
      "buildNumber": "0.1.4"
    },
    "android": {
      "adaptiveIcon": {
        "foregroundImage": "./property/adaptive-icon.png",
        "backgroundColor": "#ffffff"
      },
      "permissions": [
        "android.permission.RECORD_AUDIO",
        "android.permission.ACCESS_COARSE_LOCATION",
        "android.permission.ACCESS_FINE_LOCATION",
        "android.permission.FOREGROUND_SERVICE"
      ]
    },
    "net": {
      "favicon": "./property/favicon.png"
    },
    "plugins": [
      [
        "expo-image-picker",
        {
          "photosPermission": "The app accesses your photos to let you share them with your friends."
        }
      ],
      [
        "expo-location",
        {
          "locationAlwaysAndWhenInUsePermission": "Allow Librella to use your location."
        }
      ]
    ],
    "additional": {
      "eas": {
        "projectId": "some-id"
      }
    },
    "proprietor": "eminx"
  }
}

package deal.json:

{
  "identify": "librellarn",
  "model": "1.0.0",
  "principal": "node_modules/expo/AppEntry.js",
  "scripts": {
    "begin": "expo begin",
    "android": "expo begin --android",
    "ios": "expo begin --ios",
    "net": "expo begin --web",
    "construct:ios": "eas construct --platform ios",
    "construct:android": "eas construct --platform android",
    "submit:ios": "eas submit -p ios",
    "submit:android": "eas submit -p android"
  },
  "dependencies": {
    "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
    "@expo/webpack-config": "^19.0.0",
    "@gluestack-style/react": "^1.0.30",
    "@gluestack-ui/config": "^1.0.10",
    "@gluestack-ui/themed": "^1.0.33",
    "@meteorrn/core": "^2.6.0",
    "@react-native-async-storage/async-storage": "1.18.2",
    "@react-native-community/netinfo": "9.3.10",
    "@react-navigation/bottom-tabs": "^6.5.8",
    "@react-navigation/drawer": "^6.6.3",
    "@react-navigation/native": "^6.1.7",
    "@react-navigation/native-stack": "^6.9.13",
    "aws-sdk": "^2.1530.0",
    "expo": "~49.0.11",
    "expo-constants": "~14.4.2",
    "expo-image-manipulator": "~11.3.0",
    "expo-image-picker": "~14.3.2",
    "expo-location": "~16.1.0",
    "expo-modules-core": "~1.5.12",
    "expo-status-bar": "~1.6.0",
    "lucide-react-native": "^0.279.0",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-hook-form": "^7.46.1",
    "react-native": "0.72.6",
    "react-native-gifted-chat": "^2.4.0",
    "react-native-reanimated": "~3.3.0",
    "react-native-web": "~0.19.6"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "react-native-dotenv": "^3.4.9"
  },
  "personal": true
}

2 thoughts on “ios – Expo react-native app crashes proper after launch in Take a look at Flight

  1. helloI really like your writing so a lot share we keep up a correspondence extra approximately your post on AOL I need an expert in this house to unravel my problem May be that is you Taking a look ahead to see you

Leave a Reply

Your email address will not be published. Required fields are marked *