andresperezmelo / print_bluetooth_thermal

Plugin para enviar bytes sin procesar a la impresora solo por ahora para Android
Other
27 stars 36 forks source link

Ask bluetooth permission only if needed in iOS #52

Closed NirmalAriyathilake closed 1 week ago

NirmalAriyathilake commented 3 months ago

This is a fix for asking bluetooth permission in iOS on startup

Solution: Ask bluetooth permission on method call if not granted

Initialize CBCentralManager on method call if null.