SkygearIO / chat-SDK-iOS

Other
6 stars 17 forks source link

Realtime Problem #235

Closed KhaledAld closed 6 years ago

KhaledAld commented 6 years ago

Hi

i'm using skygear server on my local

the owner of conversation only receive message but other only send message

when i send message between two device the message is received to first device and appear in ui
but when send from second device the message not appear and not received
any body have this problem ???

tensiuyan commented 6 years ago

@KhaledAld do you mean when you send message from device A, device B can receive the message. However when you send message from device B, device A fails to receive the message?

What's your server & SDK version?

KhaledAld commented 6 years ago

@tensiuyan
yes when send message from device B to device A it fails to receive the message.

and i have another question what is the path of APSN Certificate (.pem file ), i use docker-comose.yml file to run skygear server and how to enable push Notification when send message in chat ??

tensiuyan commented 6 years ago

@KhaledAld could you please let me know -

About the APSN certificate question, I have answered it in another issue.

KhaledAld commented 6 years ago

SDK on all devices is SKYKit/Core (~> 1.3.1) now it's work fine but push notifications is not work on local and now work on portal when send new message (there is notification received to participant person)

tensiuyan commented 6 years ago

@KhaledAld Cool! We suggest you using a newer SDK (i.e. 1.6.2) since there are quite a few bug fixes in between.

For the push notification issue, please refer to this discussion thread: https://discuss.skygear.io/t/example-for-skygear-environment-variables/157/2

closing this issue since the problem is solved.

KhaledAld commented 6 years ago

i still have this error !!!!!!!!!! skygear able to send push notification because APNS is not configured or there was a problem configuring the APNS.