'How to send firebase Phone Auth SMS to my flutter app users from my Django backend

How to send firebase Phone Auth SMS to my flutter app users from my Django backend. Am already sending notifications from my Django backend using pycfm

def send_single_notification(deviceID,title,body):
    push_service = FCMNotification(api_key="<api-key>")
    registration_id = deviceID
    message_title = title
    message_body = body
    result = push_service.notify_single_device(
    registration_id=registration_id, message_title=message_title, message_body=message_body)

So now I need also to trigger the phone auth SMS , so that when user register a new account I use a signal to send him the SMS from firebase and I complete the auth process



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source