Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{ unspecified parameter } in Firestore rules in how this extension works section #44

Open
zeiteisen opened this issue Nov 14, 2022 · 1 comment

Comments

@zeiteisen
Copy link

I just installed your extension and stumbled across this bug

It tells me to add new firestore rules

rules_version = '2';
service cloud.firestore {
  match /databases/{database}/documents {
    match /users/{app_user_id}/purchaser-info/{uid} {
      allow read: if request.auth.uid == uid;
    }

    match /{ unspecified parameter }/{id} {
      allow read: if request.auth.uid == resource.app_user_id
    }
  }
}

Notice the { unspecified parameter }.

I did not enable the events. Maybe this rule should only appear when events are enabled?

@EArminjon
Copy link

Yes :)

Once you will configure the "RevenueCat Webhook Events Firestore collection" this undefined will disappear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants