1. Enable Sign-in with Phone Number for your Firebase project

To enable your users to sign-in by SMS, you must first enable Sign-in with Phone Number method for your Firebase project by following these steps:

  1. In the Firebase console, open the Authentication section.
  2. On the Sign-in Method page, enable the Phone Number sign-in method.

Firebase's phone number sign-in request quota is high enough that most apps won't be affected. However, if you need to sign in a very high volume of users with phone authentication, you might need to upgrade your pricing plan. See the pricing page.

2. Get the API key

To get an API key:

  1. Visit the Google Cloud Platform Console.
  2. Click the project drop-down and select or create the project for which you want to add an API key.
  3. Click the menu button and select APIs & Services > Credentials.
  4. On the Credentials page, click Create credentials > API key. The API key created dialog displays your newly created API key.
  5. Click Close. The new API key is listed on the Credentials page under API keys.

3. Add api key to your wp-config.php

Open your wp-config.php file located in your main Wordpress folder in your server and add this configuration to i, don't forget to change xxxxxxxxxxx with your own content.

define('MOBILE_BUILDER_FIREBASE_SERVER_KEY', 'xxxxxxxxxxx');

3. Update APNs Authentication Key

https://firebase.google.com/docs/cloud-messaging/ios/certs