firebase / firebase/firebase-ios-sdk

-[UIApplication statusBarOrientation]` is deprecated and a no-op as of iOS 27. FIRCLSNotificationManager still calls it during Crashlytics startup, which now logs a deprecation warning to the console on every app launch.

Open
#16,651 1 comment 0 reactions 1 assignee Claimed by @daymxn View on GitHub
api: crashlytics
Dominant language
C++
Stars
6.7k
Forks
1.8k
Avg merge
2d 14h
Merged PRs (30d)
72

Description

### Description

`-[UIApplication statusBarOrientation]` is deprecated and a no-op as of iOS 27.
FIRCLSNotificationManager still calls it during Crashlytics startup, which now
logs a deprecation warning to the console on every app launch.

The call site is `-[FIRCLSNotificationManager captureInitialNotificationStates]`,
invoked from `registerNotificationListener` as part of
`FIRCLSReportManager startCrashReporterWithProfilingReport:` during
`FIRCrashlytics` initialization.

Confirmed via a symbolic breakpoint on `objc_msgSend$statusBarOrientation` —
full stack trace below.

### Reproducing the issue

1. Add FirebaseCrashlytics to a project targeting the iOS 27 SDK
2. Build and run on iOS 27 (device or Simulator)
3. Observe the deprecation message in the console shortly after launch,
during Firebase/Crashlytics initialization

### Firebase SDK Version
12.9.1

### Xcode Version

Xcode 27.0

### Installation Method

SPM

### Firebase Product(s)

Crashlytics

### Targeted Platforms

iOS 27.0 [Simulator - iPhone 16e IOS27]

### Relevant Log Output

```
-[UIApplication statusBarOrientation] API has been deprecated and is a no-op on 27.0 and later.
```

Stack trace at the call site (captured via LLDB symbolic breakpoint on
`objc_msgSend$statusBarOrientation`):

```
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
* frame #0: objc_msgSend$statusBarOrientation
frame #1: HrvAnalysisApp.debug.dylib`-[FIRCLSNotificationManager captureInitialNotificationStates]
frame #2: HrvAnalysisApp.debug.dylib`-[FIRCLSNotificationManager registerNotificationListener]
frame #3: HrvAnalysisApp.debug.dylib`__61-[FIRCLSReportManager startCrashReporterWithProfilingReport:]_block_invoke
frame #4: HrvAnalysisApp.debug.dylib`__56-[FBLPromise chainOnQueue:chainedFulfill:chainedReject:]_block_invoke.33
frame #5: HrvAnalysisApp.debug.dylib`__44-[FBLPromise observeOnQueue:fulfill:reject:]_block_invoke_2
...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.