Post

Replies

Boosts

Views

Activity

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
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.
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 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:
Replies
Boosts
Views
Activity
Nov ’21
Reply to In iOS 15, when the app is restarted, it immediately crashes.
We have the same problem and we use Scenes to our react-native project in order to implement CarPlay for iOS devices. Could this be related to this issue?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to After iOS 15 app skips Splash Screen
We are using react native with Scenes on iOS in order for our app to support CarPlay. This seems to be the issue for us. Something in CarpPlay implementation.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
Jan ’22
Reply to React Native app with CarPlay support, bug on launch sometimes after iOS 15
We also using 'react-native-default-preference' package in order to pass some data from 'react native' code to 'objC' native code. Is it possible for this to be related with this bug?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’22
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:
Replies
Boosts
Views
Activity
Jan ’22
Reply to In iOS 15, when the app is restarted, it immediately crashes.
We finally manage to solve it. It was a problem because of using 'SceneDelegate' (for multiple scenes support) and iOS15 'prewarming' new feature. Solved by transferring the RTCBridge protocol from AppDelegate -'didFinishWithLaunchOptions' to SceneDelegate - 'willConnectToSession'.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to React Native app with CarPlay support, bug on launch sometimes after iOS 15
We finally manage to solve it. It was a problem because of using 'SceneDelegate' (for multiple scenes support) and iOS15 'prewarming' new feature. Solved by transferring the RTCBridge protocol from AppDelegate -'didFinishWithLaunchOptions' to SceneDelegate - 'willConnectToSession'.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to After iOS 15 app skips Splash Screen
We finally manage to solve it. It was a problem because of using 'SceneDelegate' (for multiple scenes support) and iOS15 'prewarming' new feature. Solved by transferring the RTCBridge protocol from AppDelegate -'didFinishWithLaunchOptions' to SceneDelegate - 'willConnectToSession'.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’22