I've figured out the double tap issue, it was caused by the fact that I was creating multiple instances of .responses(for:). I've solved this by having only one listener for this per app session.
But how do I receive more than one response from the .responses(for:) api? My use case is as follows:
Set user to Texas, child under 13, significant change approved. Open the app and get a response from .responses(for:) that the user is approved. Then I change the user to Texas, child 16-17, significant change declined. I do not see a new response come through, I close and re-open the app and still I don't see a new response come through.
Is the call to .responses(for:) supposed to continually return responses when the users permission is changed? Or are we only supposed to listen once to the users permission and then hold onto that value forever?
Topic:
App Store Distribution & Marketing
SubTopic:
General
Tags: