mirror of
https://github.com/bleackstorm/satiea.git
synced 2026-12-03 07:41:56 +01:00
refactor: optimize Firestore rules and meal cleanup
- Tighten Firestore validation rules (data size and limits) - Pass context to `deletePhotoFile` for safer file management - Cleanup unused dependencies in build configuration - Update Robolectric SDK target for tests
This commit is contained in:
1 parent
87bbb448c2
commit
79e04f64d8
28 files changed
+1606
-1230
No files matched your search
@@ -63,4 +63,10 @@ object GoogleSheetsAuthHelper {
|
||||
Result.failure(e)
|
||||
}
|
||||
}
|
||||
|
||||
fun invalidateToken(context: Context, token: String) {
|
||||
try {
|
||||
GoogleAuthUtil.clearToken(context.applicationContext, token)
|
||||
} catch (_: Exception) {}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user