ruuvi / com.ruuvi.station

BSD 3-Clause "New" or "Revised" License
72 stars 39 forks source link

Add checkbox to onboarding to approve terms / privacy #1257

Closed markoaamunkajo closed 2 months ago

markoaamunkajo commented 4 months ago

Description:

We need to let users decide if they approve or decline terms/privacy policy in order to use Ruuvi Station app. We will force users to see the onboarding screens when they install this new version.

There are 3 different scenarios:

New user, who just installed app Old user, who updates app and is not signed in Old user, who updates app and is signed in

  1. We will show on last page of the onboarding (before sign up/sign in) checkbox for approving terms & conditions.

Note: New user will see last page with string: onboarding_thats_it Signed in user will see last page with string: onboarding_thats_it_already_signed_in

  1. Grey out Next button if terms checkbox is unchecked. If user checked checkbox and selected Next, we will allow to continue to Benefits screen.
  2. Terms and conditions will be a link that opens in default browser. Link: https://ruuvi.com/privacy/ If old user updates app, we will show onboarding once to user, so he will need to approve terms & conditions in order to use the app. If user is signed in, we will skip sign in / sign up screens and land him on home screen.

Image

Image

We we will write to sentence to approving terms and conditions mention that

iOS card: https://github.com/ruuvi/com.ruuvi.station.ios/issues/2022 Web card: https://github.com/ruuvi/com.ruuvi.station.webui/issues/414

markoaamunkajo commented 3 months ago

@andreevdenis issue with light theme.

Image

markoaamunkajo commented 2 months ago

QA passed