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

Make sure registration is required. #370

Merged
merged 1 commit into from Feb 11, 2020
Merged

Conversation

JBassett
Copy link
Collaborator

Fixes: #348

@@ -28,6 +28,11 @@ class UrlRepositoryImpl @Inject constructor(
val retVal = ArrayList<URL>()
val webhook = localStorage.getString(PREF_WEBHOOK_ID)

// If we don't have a webhook id we don't have any urls.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is technically correct. But can't we abort onboarding if it fails ? And what happens if we return an empty array here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@balloob balloob merged commit 2ed6fdd into master Feb 11, 2020
@erlanger
Copy link

I was running home assistant companion in lineageos without problems, but this commit breaks it.
The app gets stuck in a loop "unable to register app".

  • My guess is that this is happening because I am not using google services as I want my data privacy instead of google spying on my home
  • In version 1.6 I also had the "unable to register app" message, but I restarted the app and it connected properly

Please keep this option open for those who are willing to give up notification in order to avoid using google services.

@erlanger erlanger mentioned this pull request Feb 13, 2020
@home-assistant home-assistant locked as resolved and limited conversation to collaborators Feb 13, 2020
@JBassett JBassett deleted the bugfix/requireIntegration branch February 13, 2020 16:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Onboarding should not finish if mobile_app integration is not loaded.
4 participants