I start with React Native, everything works fine in an iOS simulator. I decided to try it on the device.
The application starts, I can play with it, I close it / open it about 4 or 5 times, and then accidentally deletes the application on the launch screen (the one that has "Powered By React Native"). It just shows the screen, and the application crashes to the main screen of the iPhone.
Any idea how I can debug this?
Edit: I added Bugsnag to my AppDelegate.m, but bugsnag doesn't detect anything when the application crashes.
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
NSURL *jsCodeLocation;
[BugsnagReactNative start];
}
source
share