Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NO TARGETS FOUND.. #7

Open
ahmed-essid opened this issue Dec 13, 2022 · 4 comments
Open

NO TARGETS FOUND.. #7

ahmed-essid opened this issue Dec 13, 2022 · 4 comments

Comments

@ahmed-essid
Copy link

LOADING...
NO TARGETS FOUND.
Add topics to 'FCM Topic' Collection, and optionally configure which collection contains the devices tokens.

TARGETS SELECTED: 0

"@strapi/strapi": "4.4.3",
"better-sqlite3": "7.4.6",
"strapi-plugin-fcm": "^1.0.5",

and I received an error in strapi backend..

image
fcm topic
image
image
image

@itisnajim
Copy link
Owner

change deviceTokenFieldName value to device_token, like i did https://github.com/itisnajim/strapi-plugin-fcm#configuration

@ahmed-essid
Copy link
Author

I do that .. so this is how deviceToken displaying in user schema and here is the error ..
*
*
image
image
image

@itisnajim
Copy link
Owner

i'm using postgres, mysql not tested yet, if you can switch to postgres until this issue get fixed, thanks for understanding

@itisnajim itisnajim pinned this issue Dec 14, 2022
@themtaysw
Copy link

i'm using postgres, mysql not tested yet, if you can switch to postgres until this issue get fixed, thanks for understanding

i am using mysql as well and yes changing to device_token helped so thanks ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants