Closed Cosbiome closed 1 year ago
sry for the late response, i'm in a vacation,
make sure that the user
is not a draft (published_at
not null) and tokenpush
not empty
sry for the late response, i'm in a vacation, make sure that the
user
is not a draft (published_at
not null) andtokenpush
not empty![]()
![]()
![]()
Without any problem I hope you are enjoying your vacations, I already verified tokenpush is not null and up_user does not have a published_at system it keeps throwing me the same errors
i'm using postgres as a database, which database you selected ?
MariaDB
@Cosbiome I have encountered the same problem, also using mysql. Apparently mysql/mariadb returns results in a different structure than postgres. I don't know what the original object from postgrest looks like but most likely mysql adds a second array.
I've changed all result.rows
to results[0]
in ./server/services/fcm-target.js
(:78,84). This done the trick for me although it's obviously a quick fix.
@itisnajim Have a great vacations!
hello guys,
@Cosbiome you can now update strapi-plugin-fcm
to 1.0.4
and check, thanks to @l4red0 i did the fix he proposed without testing, i trust him xD
i suggest to upgrade Strapi
to >= 4.2.2
if not working! or/and re-comment here and i'll go more deep into the fixing issue.
My result seem to come up empty, no users to show, no topics to show even though I've got users and topics. I use the default installation so I presume it's sqlite? Running version 4.4.5 (latest). Are you able to assist?
hello guys, @Cosbiome you can now update
strapi-plugin-fcm
to1.0.4
and check, thanks to @l4red0 i did the fix he proposed without testing, i trust him xD i suggest to upgradeStrapi
to>= 4.2.2
if not working! or/and re-comment here and i'll go more deep into the fixing issue.
At the time of sending the notification it does not bring me the users configured in the up_users tokenpush and I have tried in different ways to solve it but I understand the documentation completely well or it may be a small bug
![Captura de Pantalla 2022-08-19 a la(s) 17 05 22](https://user-images.githubusercontent.com/62185271/185713231-4858f2e5-b86f-4b56-9d0e-8627e381a8d5.png)