Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error: Another authentication operation is already in progress, when installing new app after upgrading to 12.12.1 #6840

Open
ampopdev opened this issue Aug 14, 2024 · 1 comment

Comments

@ampopdev
Copy link

ampopdev commented Aug 14, 2024

How frequently does the bug occur?

Always

Description

After upgrading from realm 12.6.2 -> 12.12.1 and @realm/react from 0.5.2 -> 0.9 (fetching all dep and pods), when app opens it returns an error: Another authentication operation is already in progress and freezes.

This is my root component and was working fine in version 12.6.2:

<UserProvider fallback={LoginComponent}>
      <RealmProvider
        sync={{
          flexible: true,
          clientReset: {
            mode: ClientResetMode.RecoverOrDiscardUnsyncedChanges,
          },
          newRealmFileBehavior: {
            type: OpenRealmBehaviorType.DownloadBeforeOpen,
          },
          existingRealmFileBehavior: {
            type: OpenRealmBehaviorType.OpenImmediately,
          },
        }}
        schema={allSchemas}
        closeOnUnmount={false}
      >
        <TabNavigator />
      </RealmProvider>
    </UserProvider>

Stacktrace & log output

Console Warning
Possible unhandled promise rejection (id: 0):
"Another authentication operation is already in progress"

Can you reproduce the bug?

Always

Reproduction Steps

Upgrade from 12.6.2 -> 12.12.1 and uninstall old app and perform a new build

Version

12.12.1

What services are you using?

Atlas Device Sync

Are you using encryption?

No

Platform OS and version(s)

iOS 17.4 and Android API 33

Build environment

Which debugger for React Native: ..
System:
OS: macOS 14.3.1
CPU: (10) arm64 Apple M1 Pro
Memory: 78.27 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 22.1.0
path: /opt/homebrew/bin/node
Yarn:
version: 1.22.22
path: ~/.nvm/versions/node/v21.7.1/bin/yarn
npm:
version: 10.7.0
path: /opt/homebrew/bin/npm
Watchman:
version: 2024.05.06.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.4
- iOS 17.4
- macOS 14.4
- tvOS 17.4
- visionOS 1.1
- watchOS 10.4
Android SDK: Not Found
IDEs:
Android Studio: 2023.2 AI-232.10227.8.2321.11479570
Xcode:
version: 15.3/15E204a
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.9
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.74.1
wanted: 0.74.1
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false

Cocoapods version

1.15.2

Copy link

sync-by-unito bot commented Aug 14, 2024

➤ PM Bot commented:

Jira ticket: RJS-2886

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant