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

Fix #28043, crash caused by unnecessary permissions check #28045

Merged
merged 3 commits into from
Apr 5, 2024

Conversation

cltnschlosser
Copy link
Contributor

@cltnschlosser cltnschlosser commented Apr 4, 2024

Why

Fixes #28043
Also minor perf improvement by skipping unnecessary work.

Test Plan

Using bare expo project that was experiencing this crash.

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Apr 4, 2024
Copy link
Collaborator

@alanjhughes alanjhughes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @cltnschlosser. Congrats on your first contribution! 🎉
Can you add a changelog entry and I will merge?

@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Apr 5, 2024
@alanjhughes alanjhughes merged commit a07d1b9 into expo:main Apr 5, 2024
20 checks passed
@cltnschlosser cltnschlosser deleted the cs_pedometer-crash-fix branch April 5, 2024 19:07
@brentvatne brentvatne added the published Changes from the PR have been published to npm label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: passed checks ExpoBot has nothing to complain about published Changes from the PR have been published to npm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[expo-sensors] [iOS] PedometerModule crashes if missing NSMotionUsageDescription even when not used
4 participants