-
Notifications
You must be signed in to change notification settings - Fork 425
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
BackgroundGeolocation onGeofence calling multiple times causing performance issue #1999
Comments
Observe the plugin's native logs with Ensure the native geofence event fires just once. If it does, then the problem is within your own Javascript.
|
Show me more of your code. Where you’re adding/removing geofences and the specific attributes you’re providing your geofences. |
this are referance files, --TS files converted into TXT for upload |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Your Environment
react-native -v
): "react-native": "0.73.2"Expected Behavior
Same geofence identifier event should not trigger again.
Actual Behavior
same geofence identifier event getting called multiple times.
Steps to Reproduce
Context
We are first subscribing to the geofence events then we are applying our business logic into that but geofenceHitEvent getting update many times that causes useEffect to re render multiple time and causing performance issue
Debug logs
Logs
The text was updated successfully, but these errors were encountered: