messagebird / firestore-send-msg Goto Github PK
View Code? Open in Web Editor NEWSource code for MessageBird Firebase send message extension
License: Apache License 2.0
Source code for MessageBird Firebase send message extension
License: Apache License 2.0
The logs in https://github.com/messagebird/firestore-send-msg/blob/master/functions/src/log.ts use console.warn
and console.info
. This will result in objects being displayed as multiple separate log entries, which are hard to read (some more detail here).
Instead, use the Cloud Functions logger SDK. Example:
Instead of:
console.info(`INFO: firestore-messagebird-send-msg: ${msg}`, ...rest);
Use:
import { logger } from 'firebase-functions';
// ....
logger.info(`INFO: firestore-messagebird-send-msg: ${msg}`, ...rest);
Here's an example from a Firebase-made extension.
I can send sms messages from Firestore with no issues, but I can't change the originating name of the sms message, it always displays the mobile number I have configured in messagebird.
I have added an originator field to the firestore document, but it seems the extension is ignoring it.
Does the extension allow you to configure the originator of the sms?
firebase ext:install -i
... select the extension and get the message ...
Error: Unable to find published extension 'firestore-messagebird-send-msg'. Run firebase ext:install -i to select from the list of all available published extensions.
Since the LOG_LEVEL
param only has two valid values, it might be more user-friendly to to make it a select
.
Example select, and docs.
Firebase support redirected me here.
As stated on on google cloud docs Nodejs 10 will be deprecated as per 2025-01-30. We have the message bird extension as a crucial part of our product running with a cloud function that is in Nodejs 10, is it safe to edit the cloud function to Nodejs 18?.
Thank you for your attention.
Runtime Support link: https://cloud.google.com/functions/docs/runtime-support#support_schedule
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.