Is the app itself restricted or just apple and google (and banks?) not issuing payment to the developer for the license keys?
Surely the developer can temporarily change ownership to a friend in a "friendly" country temporarily?
Telegram was developed by a Russian, yet the Ukranian army and even the president himself, uses it for communication
However I think the Telegram developer may have "defected" a while ago.