Closed
Description
I have an expo app and trying to do my first release in TestFlight. The app is built successfully in the eas servers and then delivered to Apple for deployment. Everything goes well until I download and open the app: After only like 2 seconds of rendering the register/login page, it just goes immediately blank white. I could not have found a way to address the issue or debug.
Locally, I have no problem using the app either.
I have found out that the crash is due to using Meteor's React Native api-connection function:
import Meteor, { useTracker } from '@meteorrn/core';
import AsyncStorage from '@react-native-async-storage/async-storage';
Meteor.connect('wss://myapp.com/websocket', { AsyncStorage });
I verified that by removing the Meteor.connect()
and then the page didn't crash.
Why could it be so? How can I fix this? Thanks!
"@meteorrn/core": "^2.6.0",
"expo": "~49.0.11",
"react-native": "0.72.6",