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
OnStart() method requests Bluetooth On/Off Permission which may be rejected or accepted by the user and similarly ensureDiscoverable() method requests Bluetooth discoverable permission, so we need to check permission if user has alloted or not.
Branch
develop( OBDSimulator.java )
Solution
We can explicitly import check to see if permission is available (with checkPermission) or explicitly handle a potential SecurityException
The text was updated successfully, but these errors were encountered:
Hi @javaman97 . Thanks for your contribution. I have to admit, that I do not really understand your report. Is there a critical issue with the permission check, which should be fixed? Can you explain the problem a little bit more in detail?
@SebaDroThanks for appreciating my first-ever open-source contribution.
Yes, while debugging the app, I come across this issue with adding checkPermission by the User to handle RunTime Permission.
It is a critical issue as without handling it the app will crash. We can handle it manually or by just importing the "checkselfPermission" method in it.
Description
OnStart() method requests Bluetooth On/Off Permission which may be rejected or accepted by the user and similarly ensureDiscoverable() method requests Bluetooth discoverable permission, so we need to check permission if user has alloted or not.
Branch
develop( OBDSimulator.java )
Solution
We can explicitly import check to see if permission is available (with checkPermission) or explicitly handle a potential SecurityException
The text was updated successfully, but these errors were encountered: