So I guess it also depends a lot on to which degree the app is localized.
I imagine that it's not France either? French has similar greetings, with the same indecisiveness around the polite/casual pronouns. There's the added challenge of Quebec where casual pronouns are far more commonly used.
There's also the trap of "mademoiselle" which is no longer used because we no longer care about a woman's marital status. It's the same as with Fraulein.
You are right that rules might need to be made by country. The beauty of small scale solutions is that you can sweat small things like this instead of applying Silicon Valley sensibilities to the entire world.
Even this presents problems, as countries like Singapore have multiple overlapping cultures with unique naming conventions. Likewise, India encompasses many languages and even unique naming conventions within those languages.
An example with Italian. Welcome is benvenuto for men and benvenuta for women. Welcome back is either bentornato or bentornata. It's impossible to use them unless we ask for the genre of the customer or use a DB / AI to infer it from the name. We still need a way to let the customer fix any mistake, a mistake which would probably be unwelcome.
So the common workaround is to use words like ciao, which is informal and possibly not well received by older people, or buongiorno which is OK for most of the day but not in the night (good morning vs good evening) or just use the name.
Best solution, if you don't need names to serve your service or because of regulations, don't ask them, use only the email address and make GDPR happier.
That way, you don’t strictly know their gender, you don’t have to ask for it, just what grammar construct they prefer you use.
1, the easy one: there might be more that one inflected form (gendered) in the UI and it could be tedious for the user to select all of them. Of course by choosing one we can automatically set the others.
2, the substantial one: strictly speaking the users don't tell us about their gender but there are strong hints about what they are, given the statistics of the general population and the name they gave us. I'm not sure how the Privacy Authority of a EU country would look at that but IANAL.
Furthermore we're starting to make our app enter the rabbit hole of non binary gender identities and to handle that we would have spend more time and money for maybe no reason.
I give an example that covers all those points:
Of my current customers one is running a service for which they are mandated to collect personal data. They must know the official gender as in the official ID documents of the country. Anything more than that could be nice but it is not necessary and would be probably unexpected by users, maybe even looked at suspiciously.
Another customer is running a B2B service. They need only a username and the company email of the users. If they want to welcome them with Benvenuto/a, Bienvenido/a, Bienvenu/ue they would have to ask for a bit of personal data that could put them needlessly into the scope of GDPR.
It's a minefield!
The "addressing people by their first name and using Du instead of Sie" is indeed handled very differently in different companies. I consider myself lucky to work for a company where "Du" and first name is the rule, so I don't have to keep an internal list of colleagues which I can use "Du" with...
Seeing all the title drop down when subscribing to the economist (UK) made it clear to me it is a thing there too, at least in some circles.
This is I think solved with asking how people want to be addressed. It also helps deal with situations where someone's legal name isn't how they are usually referred to.
The other issue is that the full name is used in the address, but only the last name in the greeting. There are no apartment numbers in Germany, so the name in the address must match the name on the mailbox. There can also be a lot of "Herr Müller" working at the same address.
In the end I opted for Mr/Mrs/Other + first and last name, and dropped the title. It's good enough for this purpose, but it shows how tricky something like a name can get, especially if the person filling the form is not aware of all this.
To give a bit of context I help people as a courtesy when the information on my website does not suffice. If readers can't be arsed to say hello before they ask for a few minutes of my time, I quietly wonder who raised them. Imagine walking up to a retail employee and blurting out "I need printer paper" without saying "hello" or "excuse me".
No it doesn't. Just ask how they want to be addressed. You can't encode all the possible variants, not everyone in Germany will want to be addressed in that way even if they are both a woman and a doctor.
A simple, unimportant one: how do you politely address the person? In Germany, you'd start a letter with "Sehr geehrte Frau Dr. Musterfrau", which implies knowing the last name, gender and title of the person. You can drop the title, but dropping the gender makes the whole thing impersonal. Using the full name feels off.
In my case, it was to address a resignation notice, so it was a bit of a nitpick with no legal consequences. However in other cultures and scenarios it can matter a lot more.