I stumbled across this when implementing this lib. (Nice work so far btw!)
I noticed that if you happen to already know the bluetooth address and attempt to connect to it without ever using discovery, it does not prompt for permissions through the lib.
Correct me if I'm wrong, but I'm thinking it may be beneficial to document that you could use the "requestAndroidPermissions" function in the permissions util in "react-native-esc-pos-printer/src/core/utils/permissions" to achieve this before you attempt to connect. (Should you not use discover)
Happy to make a PR containing documentation if you would like.
I stumbled across this when implementing this lib. (Nice work so far btw!)
I noticed that if you happen to already know the bluetooth address and attempt to connect to it without ever using discovery, it does not prompt for permissions through the lib.
Correct me if I'm wrong, but I'm thinking it may be beneficial to document that you could use the "requestAndroidPermissions" function in the permissions util in "react-native-esc-pos-printer/src/core/utils/permissions" to achieve this before you attempt to connect. (Should you not use discover)
Happy to make a PR containing documentation if you would like.