session-foundation / session-ios

A private messenger for iOS.
https://getsession.org
GNU General Public License v3.0
4 stars 3 forks source link

No notifications when i get messages #122

Open AfshinRecoder opened 2 years ago

AfshinRecoder commented 2 years ago

Describe the bug

No notification when i get messages and i test it on other devices ios/android and having same problem . And messages shows only when i open the app . (Already checked background refresh . Notification setting and ... )

moriseif commented 2 years ago

Me too ...

iOS 16 iPhone 13

AfshinRecoder commented 2 years ago

And all of calls are still connecting ...

theEntire commented 2 years ago

Guys, please help with this annoying problem… We are trying to find a pattern, but fail after fail. Three different server approaches, three different builds and still no progress. I bet on this community, please give us a little hope 🙏 🤘🤘🤘🤘

KeeJef commented 1 year ago

Do you have Fast mode turned on in your notification settings?

theEntire commented 1 year ago

Yes, this option, because we are assuming that 99% of the users will go that way. Why?

theEntire commented 1 year ago

Do you have Fast mode turned on in your notification settings?

Do you have solution to the problem or idea where to 👀?

KeeJef commented 1 year ago

Yes, this option, because we are assuming that 99% of the users will go that way. Why?

Sorry i dont understand, do you have Fast mode turned on or off?

theEntire commented 1 year ago

It’s turned ON.

KeeJef commented 1 year ago

@theEntire Can you attach your debug logs, from the sending and receiving device, after you have attempted to send a message

ardevd commented 1 year ago

Tried out Session with a friend yesterday. None of us received any push notifications at all. Fast mode on or off.

KeeJef commented 1 year ago

@ardevd can you attach your debug logs, it may show whether you had issues connecting to the push notification server

iKalin commented 1 year ago

@KeeJef same problem on my side. Push notifications are delayed a lot, /fex if I do not open the app, notifications not coming/ not only on my refactored version but also on the Session installed from AppStore, especially on iOS. Tell me which kind of logs you need - debug logs from communication with the server?

KeeJef commented 1 year ago

@KeeJef same problem on my side. Push notifications are delayed a lot, /fex if I do not open the app, notifications not coming/ not only on my refactored version but also on the Session installed from AppStore, especially on iOS. Tell me which kind of logs you need - debug logs from communication with the server?

If you go into the Session application in Settings under "Help", you should see an export logs option, attach these to the issue or send them though to me at keejef on Session

eni9889 commented 1 year ago

@KeeJef I am having the same issue. I have attached the logs.

com.loki-project.loki-messenger 2022-12-30--15-00-29-556.log

theEntire commented 1 year ago

Hello guys, any update about the issue?

KeeJef commented 1 year ago

We're making some changes on the push notification server currently, hoping that we can get this fixed soon, it may require some additional logging being put in to identify the exact issue/s though

theEntire commented 1 year ago

We're making some changes on the push notification server currently, hoping that we can get this fixed soon, it may require some additional logging being put in to identify the exact issue/s though

Sounds great, thank you. We are following and will post logging after the fix.

theEntire commented 1 year ago

Actually, @eni9889, do you have solution or still waiting for fix?

RyanRory commented 1 year ago

Hi guys, we've updated the push notification server and Session iOS to improve the stability of push notification service. Can I have some feedback on how's things going for you? Thanks in advance!

RyanRory commented 1 year ago

Hi @ardevd @eni9889 @iKalin , with the latest release, can you guys receive push notifications now?

djapech commented 1 year ago

The notification problem still exists. I've tried it on two iPhones, and the same issue persists. Do we know if this will be resolved, and if so, is there an estimated timeframe? Thank you in advance.

KeeJef commented 1 year ago

The notification problem still exists. I've tried it on two iPhones, and the same issue persists. Do we know if this will be resolved, and if so, is there an estimated timeframe? Thank you in advance.

There will be a patch going out hopefully this week to resolve a few more issues with iOS notifications which were brought up as the migration occurred

mayank1138 commented 1 year ago

Hi @RyanRory , I am still not getting push/remote notifications on iPhone. As I tried the latest release as well. Please help me out if you have any suggestion.

mayank1138 commented 1 year ago

Hello @KeeJef , push/remote notifications issue still exists..

KeeJef commented 12 months ago

@mayank1138 Can you try toggling the fast mode switch on and off and see if that makes any difference? This will re-register you with the Apple push notification server.

If that doesn't work, curious are you in a country where they might censor access to Apple servers?

mayank1138 commented 11 months ago

Hi, yeah I tried with fast mode switching but didn't get remote notifications in background. I am from INDIA and I have cloned session swift iOS code from GitHub and make changes in bundle id, certificates and other thing for my own application.. All features are working as expected but push notification din’t receiving in background mode of app..

On 05-Dec-2023, at 1:08 PM, Kee Jefferys @.***> wrote:

@mayank1138 https://github.com/mayank1138 Can you try toggling the fast mode switch on and off and see if that makes any difference? This will re-register you with the Apple push notification server.

If that doesn't work, curious are you in a country where they might censor access to Apple servers?

— Reply to this email directly, view it on GitHub https://github.com/oxen-io/session-ios-temp/issues/99, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP4TRFMG4LSLYNAYNVWXCT3YH3FN7AVCNFSM6AAAAAAQZOFEYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBQGE3DEOBRGY. You are receiving this because you were mentioned.

Regards,

Mayank Bhawsar |  Developer

Email : @.***

mpretty-cyro commented 10 months ago

@mayank1138 unfortunately Apple push notifications won't work if you use a custom build of Session

Apple's push notification system requires us to create a push notification certificate which is bound to a specific development team & bundle id, this means our push server can't actually send Apple PNs to custom builds of the app 😞