techmatters / terraso-mobile-client

A React Native project for Terraso’s LandPKS mobile application.
https://landpks.terraso.org
GNU Affero General Public License v3.0
2 stars 0 forks source link

In slope meter 1st-time user grants camera permissions but doesn't see camera image #1806

Closed DerekCaelin closed 5 days ago

DerekCaelin commented 1 month ago

App Version

169

Account

No response

Platforms

Description

Soil ID asks for Camera permissions, but doesn't display the camera once the user grants access. (Upon reloading the slope meter, can see camera.)

Steps to Reproduce

  1. Either uninstall/reinstall the app, OR deny Camera permissions to the app.
  2. open a site
  3. Under the "slope" tab, select steepness
  4. Select "slope meter"
  5. Upon prompting, provide permissions to camera
  6. See issue

Expected behavior

Camera turns on and user sees the horizontal camera with a line through it.

Actual behavior

Button to provide camera permissions still is seen after permissions are given. Upon closing the slope meter and reopening, the issue no longer occurs.

Additional context

This happened in a usability test:

https://github.com/user-attachments/assets/83184812-55c1-47a9-bde2-cf5c3ee312f4

iPhone OnePlus Nord N30 5g

DerekCaelin commented 1 month ago

Ah: https://github.com/techmatters/terraso-mobile-client/issues/1749

paulschreiber commented 1 month ago

Not the same as #1749. That specific to the settings app.

knipec commented 1 month ago

Triage notes:

FYI @CourtneyLee333

DerekCaelin commented 1 week ago

@knipec in what build can I test this?

DerekCaelin commented 5 days ago

in 184, after I tap the "Grant Camera Permissions" button I get a system prompt, and when I confirm, I immediately see the camera. This looks good to me.