Skip to content

Conversation

DrumRobot
Copy link

Changes

Why?

These changes address crashes that occur due to null references in Android's activity recognition service, improving stability and preventing unexpected app terminations.

Let me know if any modifications are needed! 🚀

…dk#449)

- Added null check before calling `eventSink.success(result)`
- Fixes intermittent crashes when reloading the app
- Resolves carp-dk#449
…k#580)

- Added null checks for `ActivityRecognitionResult`, `getProbableActivities()`, and `SharedPreferences`
- Prevents potential NullPointerException in `onHandleIntent`
- Resolves carp-dk#488, carp-dk#580
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant