You may want to disable in-app notifications on a login or onboarding screen. In-app notifications can be detrimental to the overall user experience or irrelevant when on such screens.

In-app notifications can be delayed in the following way:

// Disable in-app notifications
[Carnival setInAppNotificationsEnabled:NO]; // Call this before startEngine

// Re-enable in-app notifications later when applicable
// Note: Failure to re-enable In-app notifications via this call 
// will lead to in-app notifications never being displayed
[Carnival setInAppNotificationsEnabled:YES];
// Disable in-app notifications
Carnival.setInAppNotificationsEnabled(false) // Call this before startEngine

// Re-enable in-app notifications later when applicable
// Note: Failure to re-enable In-app notifications via this call 
// will lead to in-app notifications never being displayed
Carnival.setInAppNotificationsEnabled(true)
// Disable in-app notifications
Carnival.setInAppNotificationsEnabled(false); // Call this before startEngine

// Re-enable in-app notifications later when applicable
// Note: Failure to re-enable In-app notifications via this call 
// will lead to in-app notifications never being displayed
Carnival.setInAppNotificationsEnabled(true);
// Disable in-app notifications
Carnival.setDisplayInAppNotifications(false); // Call this before startEngine

// Re-enable in-app notifications later when applicable
// Note: Failure to re-enable In-app notifications via this call 
// will lead to in-app notifications never being displayed
Carnival.setDisplayInAppNotifications(true);
// Disable in-app notifications
Carnival.SetInAppNotificationsEnabled(false); // Call this before startEngine

// Re-enable in-app notifications later when applicable
// Note: Failure to re-enable In-app notifications via this call 
// will lead to in-app notifications never being displayed
Carnival.SetInAppNotificationsEnabled(true);