It could be a bit like the timezones, the locale, or the decimal point separator, or other things like that. It should be an option at the OS level that you can configure, not be forced into.
There should be a common database that you can integrate in your map, a bit like timezone historical records, and the user should be able to see the map as claimed by any given country/territory. By default this could depend on your location or locale but it should definitely be possible to always see the map as the other side of the dispute has it, and to configure your device so that it shows maps (for all map software on the device), from a given perspective.
Also, it's eye opening to read or watch news from other countries. There's a big country-specific bias in the selection of international news stories. This bias is a necessary evil, but it can have a huge political and cultural impact.
Think what would happen if the UK took back Hong Kong, or if Hong Kong declared itself independent. We - westerners - would all love that and accept it immediately. Would we have a problem then with Apple if they showed HK as a separate country?
That's not how international law works. By all means maps may be tailored to suit the preferences of markets/countries, but military conquest of a territory doesn't convert it to a "disputed" status. Currently the internationally-recognised borders between Ukraine/Russia are well-defined.
> We - westerners - would all love [the UK invading and annexing Hong Kong] and accept it immediately.
What rot!
> but military conquest of a territory doesn't convert it to a "disputed" status.
Many territories are disputed without conflict. If military conquest, occupation and de facto control of a territory doesn't reify a dispute, then nothing does.
For examples: https://en.wikipedia.org/wiki/List_of_territorial_disputes
It should be no more surprising than having a British English dictionary and an American English dictionary, only with higher stakes.