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

Foreground service makes my app UI thread to lag(almost freeze for seconds). #1144

Open
sam-uraii opened this issue Nov 11, 2024 · 2 comments

Comments

@sam-uraii
Copy link

Context: I am using foreground service to backup my photos and videos, earlier, before the latest update in android everything was smooth.

Problem: But after the update as and when the I start uploading the data to the backend through foreground service I UI lags and kind of freezes, does not react to the click events for almost 3-5 seconds, in my flatlist, item are loading after 3-5 seconds.

Specs:

package.json {
"react": "^18.2.0",
"react-native": "^0.74.5",
"@notifee/react-native": "^9.0.2",
}

@mikehardy
Copy link
Collaborator

Hi there!
"after the update" --> "I was using yyyy before and updated that from version nnnn to zzzzz, and now..."
"in my flatlist" --> not sure how this package could also affect the flatlist? perhaps something else is going on ?

A minimal reproduction might help, also - worth noting that react-native is out of date and if it is affecting notifee parts and non-notifee parts, you should definitely update react-native and attempt to reproduce again to make sure it is not something already fixed, or if not, something that can be reproduced with a simple App.tsx we could drop into a reproduction app

Copy link

github-actions bot commented Dec 9, 2024

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

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

2 participants