grill-lab / Vote-Goat-Backend

Multiple vote goat backend components
MIT License
1 stars 1 forks source link

[Firebase & HUG] GG_ID is not the same length for all users #4

Closed grctest closed 6 years ago

grctest commented 6 years ago

Users who have not provided permission for google assistant to personalize their google assistant experience will use a random shorter length gg_id every time they launch the app.

Users who have not provided this permission should either be excluded (app.tell() quit) from using vote goat or provided a limited version which doesn't assume they have any history of voting (random recommendations only & no leaderboard stats?).

grctest commented 6 years ago

Perhaps the HUG REST API should ask the user what platform they're on (google assistant, alexa, etc ..) so as to anticipate different user identification schemes?

This would enable implementing Vote Goat on other assistant platforms (alexa, sirri, etc) with the one HUG server.

grctest commented 6 years ago

This has been addressed by several new UserId functions, we now assume that UserIds with length > 80 are valid (since 95% of our users have UserIds this length).

More research is required for differentiating between a non-matched voice profile 'anonymous' UserId & a voice pattern matched UserId.

grctest commented 6 years ago

https://github.com/know-ail/Vote-Goat-Backend/issues/6