Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D is set to true in BluetoothService. #7

Open
medvednic opened this issue Aug 20, 2017 · 4 comments
Open

D is set to true in BluetoothService. #7

medvednic opened this issue Aug 20, 2017 · 4 comments

Comments

@medvednic
Copy link

The D property is set to true in BluetoothService, it results in debug log messages always being produced when using BluetoothClassicService.
The library currently can't be used for production since google forbids logging in release grade applications.

@douglasjunior
Copy link
Owner

When you compile your app in production mode, the logs are ignored by the operating system, that makes no difference.

@medvednic
Copy link
Author

Maybe they are, but google explicitly says not to include Log.* lines in release applications.

@douglasjunior
Copy link
Owner

Curious, I have several projects in production and I have never worried about it.

Would you have the reference for this recommendation? I would like to read more about it.

@medvednic
Copy link
Author

medvednic commented Aug 21, 2017

In the official user guide - under "Turn off logging and debugging".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants