Error: 7 PERMISSION_DENIED: Missing or insufficient permissions. code example
Example 1: Uncaught Error in onSnapshot: FirebaseError: Missing or insufficient permissions.
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read;
allow write: if false;
}
}
}
Example 2: error: insufficient permissions for device
sudo adb start-server