And why is it broken? Is there a way for a password manager app to somehow inspect other apps and identify forms within them and interact with the forms?
Both iOS and Android have APIs for this, you (as the app developer) just mark the relevant fields in the app as login/password/etc, and the OS will interact with your chosen password manager to autofill and/or save them.