'Any way of knowing if bluetooth is on/off without triggering "allow app to access" bluetooth prompt on IOS 13+?

I'm trying to design a flow where if the bluetooth is turned off, then display a specific page, or skip the page entirely of bluetooth is already on. However, I want to do this without triggering this popup on IOS 13+.

I am using IONIC 6 to build the IOS app and using diagnostic.isBluetoothAvailable() to do this. However, this asks bluetooth permissions if not requested.

Is this possible? Thanks bunch!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source