10: Adding SMS and eMail functionality to ourLora.
I return to the firebase cloud function to add SMS and Email capabilities. These will be used based on the triggerAction setting for a IOT trigger. I show the setup of supporting Twilio and Gmail services and use to the Twilio and nodemailer libraries.
00:00 Demonstration of SMS notifications working on iPhone and my pebble watch.
00:50 Using firebase function configuration variables to store external service authentication information (And not have it appearing in GitHub)
02:36 UI changes to support SMS messaging (SMS phone on user and SMS trigger action added)
03:22 Sign up for a free Twilio account to use their SMS service. Note: the free service will have a “Sent from Twilio free account” on all the SMSs but that is ok for my personal use. Once signed, in also request a Twilio phone number , its needed for sending SMSs.
03:36 Install the Twilio libraries for node. “nmp install twilio”
03:41 Firebase cloud function (trigger.ts) code for using Twilio to send SMS.
05:59 Email functionality. Creating a new Gmail account to use as the email service and changing the Gmail security to allow access from my firebase cloud function.
07:17 Installing “nodemailer” library into firebase functions. This library is used for interfacing with my Gmail mail service.
07:36 Walkthrough of UI showing the eMail trigger I set up to test the email functionality.
08:08 The firebase function (trigger.ts) to enable the email action. Also a look at some refactoring I did on the trigger code (mainly to resolve all application users before performing the particular trigger action.
10:53 Demonstration of the email functionality.
Twilio free account signup: https://www.twilio.com/try-twilio
Gmail new account: https://accounts.google.com/signup/v2/webcreateaccount?hl=en&flowName=GlifWebSignIn&flowEntry=SignUp
ourLora project: https://github.com/somervda/ourLora/tree/980f4fd5880b9714ff2233517effa5b717d6c90e
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «10: Adding SMS and eMail functionality to ourLora.», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.