English
English
简体中文
Contact Us
Register
Log In
layoutIndex

Register FCM

Last Updated on : 2022-01-25 03:59:41download

This topic describes how to integrate Firebase Cloud Messaging (FCM) with a Tuya OEM app for Android.

Procedure

  1. Browse to Google firebase, register, and log in following the reminder.

  2. Click Add project.

    Register FCM

  3. Fill in your App name and then click Continue.

    Register FCM

  4. Click Not right now and then Create project.

    Register FCM

  5. Click Continue.

    Register FCM

  6. Choose Add Firebase to your Android App.

    Register FCM

  7. Fill in the name of the application package in the Tuya development platform. You will finish the register of FCM after clicking Register App.

    Register FCM

  8. Click Next.

    Register FCM

  9. Click Continue to console.

    Register FCM

  10. Click ⚙ -> Project settings.

    Register FCM

  11. Choose General, clickgoogle-services.json, then the file will be downloaded automatically, upload onto Tuya IoT Platform by yourself.

    Register FCM

  12. Choose Cloud Messaging, then copy and share the content of Server Key and Sender ID to upload onto Tuya IoT Platform by yourself.

    Register FCM

  13. Now, log in to the Tuya IoT platform, click to enter your App, select Android Certificates.

    Register FCM

    Register FCM

    Important: Do not forget to click Save when the upload has completed successfully.