Post

Replies

Boosts

Views

Activity

Reply to In iOS 15, when the app is restarted, it immediately crashes.
Well the problem for us it seems to be that we are using "Scenes" in our app in order to implement the "PointOfInterest" template for the CarPlay. If we exclude it the app launches just fine. But using "Scenes", after ~30min (app closed) the app launches but nothing renders correctly in terms of positioning. In iOS 15 started a prewarming of apps in order to launch faster (https://developer.apple.com/documentation/uikit/app_and_environment/responding_to_the_launch_of_your_app/about_the_app_launch_sequence?language=objc#3894431) and we think this triggers these bugs. Any idea on this ?
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’22
Reply to React Native app with CarPlay support, bug on launch sometimes after iOS 15
@JavierRefuerzo thanks for the response. Yes I have some code in "didFinishLaunchingWithOptions": - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { if ([FIRApp defaultApp] == nil) { [FIRApp configure]; } #ifdef FB_SONARKIT_ENABLED InitializeFlipper(application); #endif [GMSServices provideAPIKey:@"..."]; [Intercom setApiKey:@"..." forAppId:@"..."]; [Intercom registerUnidentifiedUser]; [Stripe setDefaultPublishableKey:@"..."]; // Define UNUserNotificationCenter UNUserNotificationCenter *notifcenter = [UNUserNotificationCenter currentNotificationCenter]; [notifcenter setDelegate: self]; [notifcenter requestAuthorizationWithOptions:(UNAuthorizationOptionBadge | UNAuthorizationOptionAlert |UNAuthorizationOptionSound) completionHandler:^(BOOL granted, NSError * _Nullable error) { // check this with break point NSLog(@"Succes %d", granted); }]; [[UIApplication sharedApplication] registerForRemoteNotifications]; RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions]; RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"..." initialProperties:nil]; RNBridgeInstanceHolder *instance = [RNBridgeInstanceHolder sharedManager]; instance.bridge = bridge; instance.rootView = rootView; return YES; }
Topic: App & System Services SubTopic: General Tags:
Jan ’22
Reply to In iOS 15, when the app is restarted, it immediately crashes.
Hello everyone. I have a similar issue in an iOS react-native app after iOS 15 upgrade but with not a crash. If someone opens the app after ~1 hour from the last time he/she opened it, the app skips the SplashScreen and after that nothing renders correctly. The positioning and order of components are wrong. This happens only the first time after ~1hour of app being closed.
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’21