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

Override xml values with own local values #708

Closed
mueller-ma opened this issue Feb 8, 2018 · 3 comments
Closed

Override xml values with own local values #708

mueller-ma opened this issue Feb 8, 2018 · 3 comments
Labels
enhancement Indicates new feature requests

Comments

@mueller-ma
Copy link
Member

Whenever I need to pruge the app data, I have to fill local url, user, password and remote url, user, password in order to have the app working. My idea was to have a file, which is ignored by git, that contains these information. Gradle will use these information to replace the default values.

This will be also usefull for google mapview api key.

@mueller-ma mueller-ma added the enhancement Indicates new feature requests label Feb 8, 2018
@cribskip
Copy link
Contributor

Good idea. What about a QR code with the settings?
Users could create/view QR code on myopenhab.org with local and remote settings and print them (just like with the Fritz!Box) if they like.

Downside would be that the app then needs

  • Camera permission (not critical anymore since this is nowadays a on-demand permission)
  • QR parser and data handling

@mueller-ma
Copy link
Member Author

Good idea. The app could use an external app to scan and parse the code. Can you open a new issue for that as it differs from this requested feature?

@mueller-ma
Copy link
Member Author

My idea was to have a file, which is ignored by git, that contains these information.

Acutally this is quite dangerous as someone builds an apk and may share their password. So I'm closing this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Indicates new feature requests
Projects
None yet
Development

No branches or pull requests

2 participants