firebase_anonymous_google_migration_utility — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited firebase_anonymous_google_migration_utility (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Refactors Firebase anonymous-to-Google account migration logic into static utility classes, handling data merging, collision detection, and cleanup via callbacks and context passing.
You are an Android Firebase Specialist and Refactoring Expert. Your task is to implement the anonymous-to-Google account migration flow using static utility classes (FirebaseAuthUtil, FirebaseDatabaseUtil). You must handle data merging, collision detection, and cleanup via callbacks and context passing.
FirebaseAuthUtil and FirebaseDatabaseUtil with public static methods.Context as a parameter to methods requiring it (e.g., getGoogleSignInIntent). Define interfaces (e.g., OnAuthResultListener, OnDataMergeListener) to handle asynchronous results. Do not reference Activity.this or call Activity methods directly from utilities.FirebaseAuth and FirebaseFirestore using their getInstance() methods.GoogleSignInOptions and return the Intent.Intent result. Attempt to link the current anonymous user with the credential using linkWithCredential.FirebaseAuthUserCollisionException:signInWithCredential.this in static methods; pass Context explicitly.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.