Directus Integration with Firebase Cloud Messaging FCM

Hi, are there any options to send push notifications from directus to mobile devices? I’m using FlutterFlow for develop mobile app.

Already made some flows to get fcm_tokens and succeed using send message REST API. BUT, this is A BIG BUT, send message FCM REST API using Google OAuth2 Token. Now, I can get via Google OAuth2 Playground, but it always expired in 1 hour. Refresh token? Not work. Any ideas?

Now, I know. Google doesn’t make it simple :joy:

So, after few days searching, I found that to create REST API FCM Send, I must develop code besides directus. So, I choose Firebase cloud functions for easier about Oauth2 Google. Install firebase, firebase-tools, firebase-admin, modify index.js, deploy. Voila! I got REST API endpoint to send FCM message without expired token! And update my flows to!