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! 🚀

DrumRobot and others added 4 commits February 21, 2025 10:53
…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
…default

- Replace R.drawable.common_full_open_on_phone with android.R.drawable.ic_dialog_info
- Use Android SDK built-in icon instead of internal Play Services resource
- Fix compilation error without adding extra dependencies
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