Skip to content

Instantly share code, notes, and snippets.

@gasaichandesu
gasaichandesu / firebase-project-updater.js
Last active March 25, 2025 13:39
For anyone facing an `internal-error` using Firebase Auth trying to send an email with actionCodeSettings on iOS
const admin = require('firebase-admin');
admin.initializeApp({
// See https://firebase.google.com/docs/admin/setup/#initialize_the_sdk_in_non-google_environments on
// how to acquire credentials for your Firebase project
credential: admin.credential.cert(require("./credentials.json"))
});
const updateRequest = {
mobileLinksConfig: {