Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

SQ-60/Create location onboarding #211

Merged
merged 12 commits into from Mar 30, 2017

Conversation

rock3r
Copy link
Collaborator

@rock3r rock3r commented Mar 30, 2017

This PR creates the basic framework for onboarding and the MVP for the location onboarding.

location_onboarding

TODO:

  • Use correct logo (we don't have it yet, waiting for @DigitalPencils)
  • Extract permissions/BT logic to a collaborator we can use elsewhere (e.g., HomeActivity) to check and re-request permissions/BT as needed
  • Create ProximityFeature that enables the proximity stuff (including the onboarding!) IIF:
    • The device has a Bluetooth radio
    • The device can request location updates (is there a way to check this? not sure)
    • The remoteconfig says we can enable it
    • The user has opted in to the location services during the onboarding or from the settings

Copy link
Collaborator

@quiro91 quiro91 left a comment

Choose a reason for hiding this comment

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

I love it, just one small comment to address and it's good for me

android:layout_marginTop="@dimen/onboarding_logo_margin_top"
android:layout_marginEnd="@dimen/onboarding_content_margin_horizontal"
android:contentDescription="@null"
android:src="@drawable/google_primary" />
Copy link
Collaborator

Choose a reason for hiding this comment

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

since we already had issues with vector drawables can we just use app:srcCompat ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ooops totally forgot :P

Copy link
Collaborator

@quiro91 quiro91 left a comment

Choose a reason for hiding this comment

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

💯

@@ -26,51 +27,48 @@

public class Navigator {

private final Context context;
private static final int NO_FLAGS = 0;
Copy link
Collaborator

Choose a reason for hiding this comment

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

shouldn't there be an empty line between static final fields and other fields?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

...yes there should. Will fix in next PR, takes too much to do a CI build for this XD

@tiwiz tiwiz merged commit d50bcc1 into SQ-60/onboarding_feature Mar 30, 2017
@tiwiz tiwiz deleted the SQ-60/create_location_onboarding branch March 30, 2017 21:13
@rock3r rock3r mentioned this pull request Mar 30, 2017
4 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants