Closed stonyz closed 6 years ago
Hello. I don't think you should hardcode any personal data. I prefer to let user set it's username and password before using an app and store this info in your local .properties file. This is an example of .properties file in use.
If you want to deploy this app in the app store for other google users that don't necessary have a subscription it would be best to run this api on a server (save the credentials securely on that device) and query the server from inside the application.
I will close this comment as i believe this question is sufficiently answered. Please feel free to reopen it if you need further assinstance
should I hard code the username, password to my code?
What I want is,