I am trying to build an android telegram client using the famous TDLib. Unfortunately, I could not find any good tutorials or documentation about using this library in android. But, I've understood how the library works from the Java
examples.
The problem is when implementing the library, I've to pass the api_id
and api_hash
to TDLib
. I think these variables must be unknown to others, as this can reused for malicious purposes.
As the documentation does not provide any best practices about storing the api_id
and api_hash
, How can I make them unavailable to the public and securely manage it in the android app?