I have used Listeners but not this one. So don't ask me about details of this case because I don't have the experience.
As you probably know addOnCompleteListener() is missing an argument, a specific Listener class.
by the look of it the listener class has one method onComplete with one argument of type Task.
There are pyjnius features for overloading (or some similar term?) Java classes to implement a Java class in Python (visible only from Python)
but OnCompleteListener is a abstract class, so there is no implementation to overload, 🙁 PythonJavaClass, and java_method are not going to help you.
You have to implement the abstract interface in Java.
If you don't understand the Java jargon interface and abstract class, time to do some reading.
Once you have written the Java implementation (which will probably be less than a dozen lines), autoclass() it as you would any system Java.
In buildozer.spec reference your Java with android.add_src =
It is actually fairly simple, figuring that out will give you some brain strain.