medic / cht-android

A native Android container for Community Health Toolkit (CHT) applications
GNU Affero General Public License v3.0
25 stars 49 forks source link

fix(#308): Add prominent disclosure on startup requesting user to link app and domain #354

Closed sugat009 closed 4 months ago

sugat009 commented 5 months ago

A pop-up requesting the user to link the application with the related domains has been added on the Startup of the application, if not already.

Screenshot:

(#308 )

sugat009 commented 5 months ago

Hi @n-orlowski , can you please verify if the content and text in the pop-up asking the user to verify the domain with the app is ok? (It's in the description of this PR)

n-orlowski commented 5 months ago

Hi @sugat009 ! Assuming it's CHWs that might see this message, can we try something friendlier?

Something like,

Link this domain with your [CHT app name]? This ensures all links will open in your app for a better experience.

Don't link | Yes, link domain

With link domain displayed as a button and don't link as a text link

If possible can we style the text similarly to existing modals? Full screen preferred though 👍

sugat009 commented 5 months ago

sure, thanks @n-orlowski .