Skip to content

App Freeze on iOS after enabling new architecture on my RN app #3977

@akash-r-98

Description

@akash-r-98

SF SDK version - v12.2.0
"react": "19.0.0"
"react-native": "0.79.7"

In my project, we have upgraded the RN version and enabled the new architecture. After this change, we encountered a new issue on iOS:

  • When I freshly install the application, after successful SF login
    • if the app goes into the background, then comes back to the foreground, or
    • when I switch between apps, or
    • leave it idle for a few minutes, the app freezes.
  • However, if I clear the app and relaunch it, I cannot replicate this issue again.

Here are the Xcode logs I found:

-[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID. inputModality = Keyboard, inputOperation = dismissAutoFillPanel, customInfoType = UIUserInteractionRemoteInputOperations
-[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID. inputModality = Keyboard, inputOperation = dismissAutoFillPanel, customInfoType = UIUserInteractionRemoteInputOperations
CLASS: SalesforceReactSDKManager Scene 0615A6F0-31EF-419F-BDB5-F67E3427E889 is entering background.
CLASS: SalesforceReactSDKManager Scene 0615A6F0-31EF-419F-BDB5-F67E3427E889 is trying to present snapshot.
CLASS: SalesforceReactSDKManager App is entering the background.
Snapshotting a view (0x7f9bcc81b7a0, UIKeyboardImpl) that is not in a visible window requires afterScreenUpdates:YES.
CLASS: NSConcreteMutableData -[NSData(SFzlib) sfsdk_gzipDeflate]: Compressed file from 193 KB to 12 KB
Failed to terminate process: Error Domain=com.apple.extensionKit.errorDomain Code=18 "(null)" UserInfo={NSUnderlyingError=0x6000016699b0 {Error Domain=RBSRequestErrorDomain Code=3 "No such process found" UserInfo={NSLocalizedFailureReason=No such process found}}}
Failed to terminate process: Error Domain=com.apple.extensionKit.errorDomain Code=18 "(null)" UserInfo={NSUnderlyingError=0x60000166b420 {Error Domain=RBSRequestErrorDomain Code=3 "No such process found" UserInfo={NSLocalizedFailureReason=No such process found}}}
CLASS: SalesforceReactSDKManager Scene 0615A6F0-31EF-419F-BDB5-F67E3427E889 is resuming active state.
CLASS: SFScreenLockManagerInternal callbackBlock is nil.
CLASS: SFJsonUtils WARNING error parsing json: Error Domain=NSCocoaErrorDomain Code=3840 "Unable to parse empty data." UserInfo={NSDebugDescription=Unable to parse empty data.}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions