@juan-g
hey those are great suggestions, at least it's a start
if anyone else has suggestions would love to hear them
@CCob I have run the npm link nodebb-plugin-onesignal- and the only response I have is "/opt/bitnami/nginx/html/node_modules/nodebb-plugin-onesignal -> /usr/lib/node_modules/nodebb-plugin-onesignal -> /opt/bitnami/nginx/html/nodebb-plugin-onesignal"
@Braulio-Cesar-Holtz-Ribeiro you have to do it in the nodebb
director.
@Braulio-Cesar-Holtz-Ribeiro As @PitaJ suggests, it needs to be run from the NodeBB directory. I also suggest you get the latest version of the plugin as I pushed a new version last night that is compatible with older nodejs engines.
Can I browse all nodebb forums with this app (playstore) or is it only for community.nodebb.org? Cool projekt BTW
Ok, but maybe we can add configuration to the app and in the future use it for private forums like Tapatalk
I made some tests, the plugin is installed in the forum and I configured the key and id of the application. On Android I tested OneSignal by sending manual messages (in their system) and received it normally.
The issue is that if I send the message from a user (test user for admin user), in the Android application logged in with the admin account, I do not get the message notification, I tried also responding to a post, as a normal interaction
Is there anything else necessary for the correct functioning of the notification plugin?
@Braulio-Cesar-Holtz-Ribeiro Did you use the REST api exposed by the plugin to add the playerid from one signal as explained in my original post?
@Braulio-Cesar-Holtz-Ribeiro The android app integration is not complete yet, so the automatic registration of the player_id wont work with the version @AOKP has compiled. Hence the need to manually populate player_id's using the REST endpoint exposed by nodebb-plugin-onesignal