You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getBluetoothAuthorizationStatuses is missing from the diagnostics module
Expected behavior:
getBluetoothAuthorizationStatuses to exist
Steps to reproduce:
Related code:
insert any relevant code here
Other information:
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
insert the output from ionic info here
The text was updated successfully, but these errors were encountered:
si458
changed the title
missing getBluetoothAuthorizationStatuses from diagnostics
missing getBluetoothAuthorizationStatuses from Diagnostic
Nov 17, 2022
Btw. we should avoid any types. I know this is not always that easy. Since the source code or docs are also a bit cryptic. In this case it returns an object with permission name as key and the permission state as value. In typescript Record<string, string> or better with enum or specific type instead of just string. But we must be 100% sure when restricting with types. Anyway, it's another issue. It would be great if someone could review and merge the pull reqeust and file a new release.
Another wild idea is to allow custom methods to call with the same Promise like behavior. Useful if the wrapper is not sync with the latest cordova plugin version. Helpful as a temp solution. Otherwise I have to craft my own using cordova.plugins[name] etc. and wrap into Promise. It's a bit more ugly work.
I'm submitting a ... (check one with "x")
Current behavior:
getBluetoothAuthorizationStatuses
is missing from the diagnostics moduleExpected behavior:
getBluetoothAuthorizationStatuses
to existSteps to reproduce:
Related code:
Other information:
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):The text was updated successfully, but these errors were encountered: