androidseb25 / iGotify-Notification-Assistent

Docker container for sending Gotify notifications to iOS devices (bridge to gotify websocket)
MIT License
99 stars 3 forks source link

[FEATURE REQUEST] sending push to other user #31

Closed gladiatormax closed 4 months ago

gladiatormax commented 5 months ago

Describe the bug I have 2 users in gotify and both have some apps on it. I have a myspeed app and the second user not, but we both recieves the push messages from igotify, they are not in his gotify list so only push, they are in my list.

Expected behavior Only send push to the user where the api is configured.

Smartphone (please complete the following information):

Here is my compose file,

version: "3.8"

services: gotify: image: gotify/server # Uncommand correct server image

image: gotify/server-arm7

# image: gotify/server-arm64
ports:
  - 8680:80
environment:
  - GOTIFY_DEFAULTUSER_PASS=xxxxxxxxxxxxxx # Change me!!!!!
  - TZ=Europe/Brussels
restart: unless-stopped
volumes:
  - /docker-local/gotify:/app/data

igotify-notification: # (iGotify-Notification-Assistent) image: ghcr.io/androidseb25/igotify-notification-assist:latest pull_policy: always ports:

volumes: gotify-data: igotify-notification-data:

Al other apps are working fine.

androidseb25 commented 5 months ago

Hi,

Multiuser support is not supported! Only notifications will be sent from the configured client in the compose file when it receives one. Please check your igotify-token.txt, which is in the data path of the igotify-notification container, to see whether your device is stored there twice, which receives the notification

gladiatormax commented 5 months ago

Hi,

Multiuser support is not supported! Only notifications will be sent from the configured client in the compose file when it receives one. Please check your igotify-token.txt, which is in the data path of the igotify-notification container, to see whether your device is stored there twice, which receives the notification

Hi thx for the quick answer. I did a check in the file, but only 3 different devices in there, which is normal my ipad and iphone and the second user device. So we will be waiting on multiuser support :-)

androidseb25 commented 5 months ago

yeah that's a quite bit tricky because, gotify doesn't support multiusers because of the dev can't do that :/ see also the Feature Request i done by gotify: https://github.com/gotify/server/issues/623

the only way is to create X igotify Container and managed these in the app, what is an bad solution for this purpose

jmattheis commented 5 months ago

the only way is to create X igotify Container and managed these in the app, what is an bad solution for this purpose

Would it not be possible to configure multiple client tokens on the assistant container and then establish multiple websocket connections to get messages from multiple users?

androidseb25 commented 5 months ago

i currently search a way to establish multiple websockets and set the correct token to an user, without an database in the background.

androidseb25 commented 5 months ago

Changed it from Bug to Feature Request

androidseb25 commented 4 months ago

Here are you find informations for the Multiuser support feature #34 the PR is #35

androidseb25 commented 4 months ago

Short Update for everyone here....

iOS App is to 95% ready, only need long running tests and formatting code checking performance and so on

Release is near :)

androidseb25 commented 4 months ago

Apple approved the Final Build

Release is Wednesday at 18 o'clock CET

i close the issue now