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

Realm.Init configuration take too long delay when move intent from 1st page into next page #7881

Closed
michaelsof47 opened this issue Mar 21, 2024 · 3 comments
Labels
Encryption:Off Frequency:Always More-information-needed More information needed from the reporter. The issue will autoclose if no more information is given. O-Community Repro:Always SDK-Use:Local T-Bug Waiting-For-Reporter Waiting for more information from the reporter before we can proceed

Comments

@michaelsof47
Copy link

How frequently does the bug occur?

Always

Description

I was try to move into next page which in second page of activity. I was used Realm.Init to initialize of realm. But, it takes too long delay when move from 1st page into 2nd page. I'm also try Realm Init call from 1st Activity or Realm Init run inside of runOnUIThread(). but, it doesn't work well.

Stacktrace & log output

2024-03-21 14:50:29.656  4240-4240  data_check  xxx.xxxx.xxx.xxx         D  first access realm init
2024-03-21 14:50:30.012  4240-4240  data_check  xxx.xxxx.xxx.xxx         D  add category of product
2024-03-21 14:50:30.559  4240-4240  data_check  xxx.xxxx.xxx.xxx         D  add product

Can you reproduce the bug?

Always

Reproduction Steps

  1. Access First Page.
  2. Access Second Page After Page was positioned offline mode

Version

10.15.1

What Atlas App Services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

One UI v.5.1, Android 13

Build environment

Android Studio version: 2023.2.1 Patch 1
Android Build Tools version: 33.0.0
Gradle version: 8.0.0

Copy link

sync-by-unito bot commented Mar 21, 2024

➤ PM Bot commented:

Jira ticket: RJAVA-1255

@kneth
Copy link
Contributor

kneth commented Apr 4, 2024

It will be helpful if you can share a project which can reproduce it. In particular, we are interested in understand:

Access Second Page After Page was positioned offline mode

Are you following https://www.mongodb.com/docs/atlas/device-sdks/sdk/java/sync/partition-based-sync/#std-label-java-open-a-synced-realm-while-online?

@sync-by-unito sync-by-unito bot added More-information-needed More information needed from the reporter. The issue will autoclose if no more information is given. Waiting-For-Reporter Waiting for more information from the reporter before we can proceed labels Apr 4, 2024
Copy link

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Encryption:Off Frequency:Always More-information-needed More information needed from the reporter. The issue will autoclose if no more information is given. O-Community Repro:Always SDK-Use:Local T-Bug Waiting-For-Reporter Waiting for more information from the reporter before we can proceed
Projects
None yet
Development

No branches or pull requests

2 participants