-
Notifications
You must be signed in to change notification settings - Fork 205
Prevent auto-connect when Bluetooth is disabled #1774
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
base: dev
Are you sure you want to change the base?
Prevent auto-connect when Bluetooth is disabled #1774
Conversation
|
@aisraelov The Android build is failing at the :app:validateSigningRelease step with this error: Keystore file '/Users/fosse/mentra/actions-runner-2/_work/MentraOS/MentraOS/mobile/android/credentials/upload-keystore.jks' not found for signing config 'release'. Seems like a CI/CD configuration issue, not related to my code changes. The keystore file needed for signing the release build is missing from the CI environment. If not, do let me know |
|
@Jayyk09 This is likely fixed in the Change the base of your PR/branch from Sorry for the confusion about this! |
8f2dc0f to
bf4de70
Compare
|
@aisraelov the previous build failed in ios with this command. any idea why? |
|
@Jayyk09 our iOS runner has been acting up since yesterday. Looking into it. |
|
@aisraelov thanks for looking into it. The prev issue got fixed so thanks for that. Want to make sure if it's something caused by my code or a worker issue? Might be worth looking into |
Fix: Prevent auto-connect when Bluetooth is disabled
Problem
App auto-connects on launch even when Bluetooth is disabled, causing an infinite connection attempt with no user feedback.
Solution
Added
checkConnectivityRequirementsUI()validation before auto-connect inMantleManager.ts:Result
Reuses existing validation logic from
ConnectDeviceButton.tsx.