itisnajim / strapi-plugin-fcm

Send FCM notifications from your Strapi app.
MIT License
22 stars 11 forks source link

TypeError: getFetchParams is not a function #23

Open emersonart opened 3 months ago

emersonart commented 3 months ago

Hello!

I'm trying to use the plugin to send notifications, but when accessing "/admin/plugins/strapi-plugin-fcm/targets" an error is generated in the terminal: "error: getFetchParams is not a function TypeError: getFetchParams is not a function"

Furthermore, no available target appears in the interface, even though I have created a collection for devices, where the device_token item is configured.

Sorry about the English, I don't speak English very well. My main language is Portuguese (Brazil)

Captura de Tela 2024-03-11 às 13 24 59

Captura de Tela 2024-03-11 às 13 25 48

Captura de Tela 2024-03-11 às 13 27 00

navid70 commented 3 months ago

I'm facing the same issue

poposki-ognen commented 2 months ago

Hello folks. I ran into the same issue and created a fork for this: https://github.com/poposki-ognen/strapi-plugin-fcm The issue is that @strapi/strapi doesn't export getFetchParams.

I hope this helps you out.

Best, Ognen P.