I have an iphone, which has some apps installed. The Apple ID used to sign in (to iTunes store and App strore) is, say, ID1. When updating apps, in some cases it asks for the password of another ID, say, ID2.
Is there any way to know what Apple ID is associated with each app?
I know that I can remove an app and purchase it under a different ID (which may have cost), and I know that there exists Family sharing, but that does not answer the question.
This is a related question.