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

Mark Bluetooth.isSupported as experimental and add warning in KDoc #753

Closed
wants to merge 3 commits into from

Conversation

twyatt
Copy link
Member

@twyatt twyatt commented Sep 18, 2024

Alternate approach to #752. Rather than fake the BLE support on Apple, provide a KDoc warning.

@twyatt twyatt added the patch Changes that should bump the PATCH version number label Sep 18, 2024
@twyatt twyatt requested a review from a team as a code owner September 18, 2024 21:19
@twyatt twyatt requested review from Phoenix7351 and davidtaylor-juul and removed request for a team September 18, 2024 21:19
@twyatt twyatt added this to the 0.35.0 milestone Sep 18, 2024
* This function is idempotent.
*/
@ExperimentalApi // Due to the inability to query Bluetooth support w/o showing a dialog on Apple, this function may be removed.
public suspend fun isSupported(): Boolean = isBluetoothSupported()
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this get called anywhere in kable? We don't want to auto prompt just based on pulling in Kable.

Copy link
Member Author

Choose a reason for hiding this comment

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

It does not. It is being used by my work-in-progress SensorTag sample refactor.

Base automatically changed from twyatt/connection to main September 25, 2024 22:30
@twyatt
Copy link
Member Author

twyatt commented Oct 2, 2024

Closed in favor of #752.

@twyatt twyatt closed this Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Changes that should bump the PATCH version number
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants