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

Siskin IM how to enable background message reception and notification #81

Closed
danjde opened this issue Jan 7, 2021 · 20 comments
Closed
Labels
question Further information is requested

Comments

@danjde
Copy link

danjde commented Jan 7, 2021

Hi Devs!
Using Siskin IM Ver 6.1 on Iphone 7 Ver 13.3.1,
the chat messages are downloaded (and notified) only if you access directly to the application.
I've read the Siskin IM (Tigase?) manual (https://docs.tigase.net/tigase-ios/master-snapshot/Tigase_Swift_Guide/html/#acctSettings) but i can't figure out what option i should enable.

Could you give me any tips?

Many thanks!

Davide

@danjde danjde added the question Further information is requested label Jan 7, 2021
@licaon-kter
Copy link

Better join the support group: xmpp:tigase@muc.tigase.org?join

@woj-tek
Copy link
Contributor

woj-tek commented Jan 8, 2021

@danjde have you enabled push notifications in Siskin? Does your server support push notifications?

@danjde
Copy link
Author

danjde commented Jan 8, 2021

Does your server support push notifications?

Sure! -> Prosody 11.x

@danjde have you enabled push notifications in Siskin?

The matter is a bit strange. I've not the phone, it belongs to a friend of mine, and she assures me that this menu item is not present.
But, if you say there must be, I'll do this verification!

Thanks @woj-tek !

@woj-tek
Copy link
Contributor

woj-tek commented Jan 8, 2021

The item should be present if Siskin detects that the server supports push notifications. Can you enable push on Android devices (maybe share server address so it could be checked)?

@danjde
Copy link
Author

danjde commented Jan 8, 2021

The item should be present if Siskin detects that the server supports push notifications. Can you enable push on Android devices (maybe share server address so it could be checked)?

The server address: server.3x1t.org
Then, i didn't know of the need to enable IOS push notification server side and now I've enabled it.

I'll do some client side checks...

Thanks!

@woj-tek
Copy link
Contributor

woj-tek commented Jan 8, 2021

You shouldn't enable "ios push notifications" on the server - I only asked about android as another operating system that may require push and (hopefuly) you could use to see if push itself works.

One important bit is that you make sure that your server can establish s2s connection to push.tigase.im (which in fact handles Apple pushes)

@danjde
Copy link
Author

danjde commented Jan 11, 2021

You shouldn't enable "ios push notifications" on the server - I only asked about android as another operating system that may require push and (hopefuly) you could use to see if push itself works.

This is a bit complicated, among our users none uses XMPP client from Google Play, and only those have the push function

One important bit is that you make sure that your server can establish s2s connection to push.tigase.im (which in fact handles Apple pushes)

Testing from Prosody console:

c2s:show("push.tigase.im")
| 3x1t.org
| OK: Total: 0 clients

My curiosity: why is the "push notifications" functionality found only in the versions of the same app downloaded from Google Store or Apple Store and not on apps downloaded from F-Droid, etc?

Thanks again!

@licaon-kter
Copy link

@danjde push libs are not open-source

@danjde
Copy link
Author

danjde commented Jan 11, 2021

@danjde push libs are not open-source

Ah, as I supposed!

Thanks!

@danjde
Copy link
Author

danjde commented Jan 11, 2021

@danjde push libs are not open-source

..but the developers known what these libs contains (other what is stated)?
The code while being proprietary is transparent? Or not?...

Thanks

@licaon-kter
Copy link

licaon-kter commented Jan 11, 2021

How would they know when it's closed source? They just want the push thing.

On Apple they need it else the app is dead.

@danjde
Copy link
Author

danjde commented Jan 12, 2021

How would they know when it's closed source? [..]

Thanks 'kter for your explanation, it's very useful for me!
If I can still take advantage of your courtesy, I would to know why "push" technology does not exist in the OpenSource form.
Play Store and Apple Store are very opaque, how can the end user understand if an Open Source software contains proprietary software? Reading pages and pages of licenses? Maybe not even.
These seem to me like real Trojan horses, also allowed by the institutions (thanks to their inaction)!

Thanks!

@hantu85
Copy link
Contributor

hantu85 commented Jan 12, 2021

Technology does not exist because the only push services allowed to run without any restrictions on mobile devices are services provided by the operating system (or hardware manufacturer as part of a custom OS), so there is no way you could use open-source push services.

On the other hand, do the operating system manufacturer need a trojan horse-like push notification service to get information about you if he just can access all your files stored on a device or catch local notifications displayed by the system as well?

@hantu85
Copy link
Contributor

hantu85 commented Jan 12, 2021

Play Store and Apple Store are very opaque, how can the end user understand if an Open Source software contains proprietary software? Reading pages and pages of licenses? Maybe not even.

Open Source software does not contain proprietary software, it is just liked with it (actually operating system provides those libraries which are proprietary, so you already accepted they license by using this operating system).

On the Apple Store any app using push notifications uses proprietary software. Even an app not using push notifications does that as it uses iOS API and frameworks which are proprietary. I would say that the same goes (at least partially) for Play Store (or rather any app using Play Store Services, or Google Service, I do not recall the name of those services).

@danjde
Copy link
Author

danjde commented Jan 12, 2021

[..]if he just can access all your files stored on a device or catch local notifications displayed by the system as well?

Not at all, I'm using for example LineageOS, without Gapps, and here a Google/IOS Trojan Horse could be very useful..

On the Apple Store any app using push notifications uses proprietary software.

Sure, but is not clear for me if the OpenSource apps must include a portion of proprietary software in order to communicate with the proprietary APIs...

Thanks hantu85, very interesting!

@licaon-kter
Copy link

Actually all Apple Store apps come bundled with some DRM anyway.

@danjde I've mentioned the support groups exactly to discuss these, already offtopic here, matters :)

@danjde
Copy link
Author

danjde commented Jan 12, 2021

Actually all Apple Store apps come bundled with some DRM anyway.

Right!

@danjde I've mentioned the support groups exactly to discuss these, already offtopic here, matters :)

Sure, excuse me all of you!
And thanks to all for the kind answers!

@danjde danjde closed this as completed Jan 12, 2021
@danjde
Copy link
Author

danjde commented Jan 26, 2021

Excuse me If I return back here, but I cannot send messages into Tigase Support Channel, where I can read the messages but I cannot write into. @licaon-kter could you help me? My Jabber address is: cosmogonia AT 3x1t DOT org.

In any case.thanks!

@licaon-kter
Copy link

licaon-kter commented Jan 26, 2021

@danjde try to use only one client (tigase/tigase-server#63).

any error messages?

@earboxer
Copy link

earboxer commented May 1, 2024

So I have a prosody server and I have iOS users running siskin.im. How can I make sure that my server supports the push notification functionality that siskin.im uses?

(prosodyctl list says I have mod_cloud_notify, mod_cloud_notify_encrypted,
mod_cloud_notify_extensions, mod_cloud_notify_filters, mod_cloud_notify_priority_tag, so I think I should be good, but my iOS users say they miss notifications).

(It would be really cool to have a site like https://compliance.conversations.im that we could use to test our servers for this functionality)

Could we have screenshots from this App showing our users how to enable push notifications?

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

No branches or pull requests

5 participants