-
Couldn't load subscription status.
- Fork 28
Description
Has your issue been reported?
- I have searched the existing issues and confirm it has not been reported.
- I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.
Current Behavior
User goes to settings page, then navigates to a sub page, on that sub page they click on log out button (auth logout). When the user lands on the login screen again, a firebase permission error shows up.
When inspecting the error, it seems like a single-time query that was on the settings page is concerned.
I didn't touch that project's area in a while. The only thing that changed was me enabling deeplinks. Not sure if that's related.
Expected Behavior
Queries are disposed properly on log out.
Steps to Reproduce
- Create root page with a query that requires the user to be authenticated (firebase permissions)
- Create sub page and navigate there
- Place a log out button.
- When the user logs out and goes to login page, an error is shown.
I didn't test on a blank project.
Reproducible from Blank
- The steps to reproduce above start from a blank project.
Bug Report Code (Required)
IT4ghc/lvJdOm99J1aX2de9VvCkQJmU1a5c0sd4bGA0dCJzuPLMQdvWlblBoQuarTAk3M0SmmmUH0/COioXiG8AoYC+ZUaF8+ZZMegKXJUW5a5OBEpO3dkB6EelMJ2qZ0MKJryVBIsB0SHga6mWPe+vIUXTAJLL2ImdISq/LZO4=
Context
Just logging out.
Visual documentation
@firebase/firestore: Firestore (9.18.0): RestConnection RPC 'RunAggregationQuery' 0x174b2d61 failed with error: {"code":"permission-denied","name":"FirebaseError"} URL: [........] Error querying Instance of '_JsonQuery': FirebaseError: [code=permission-denied]: Missing or insufficient permissions.
Additional Info
No response
Environment
- FlutterFlow version: 4.0 Sep 20
- Platform: Chrome
- Browser name and version: Chrome Version 116.0.5845.179
- Operating system and version affected: Mac 13.5.2 (22G91)