AfrazCodes / SwiftChatApp

Realtime firebase chat app written in Swift 5
177 stars 66 forks source link

The App works fine in the simulator but when we check in the actual iPhone devices - The chats don't update in real time #2

Open pandae8686 opened 3 years ago

pandae8686 commented 3 years ago

Hi @AfrazCodes ,

Such an amazing series and I really enjoyed watching it and building the chat app along with you.

Need your help to fix one the major issues I had while testing the app using iPhones

The issue I am having is outlined below

I will try debugging to see if I can fix it but any insights from you would be a great help.

Thanks

Regards,

Aditya Pandae

phatnguyen1006 commented 2 years ago

Hi @pandae8686 and @AfrazCodes . I have same issue on real devices. Did you fix that?

Thanks.

iosconstantine commented 2 years ago

Hi @pandae8686 and @AfrazCodes . I have same issue on real devices. Did you fix that?

Thanks.

Hey, did u find solution? If u find it, please write me

pandae8686 commented 2 years ago

@phatnguyen1006 No, I was waiting for @AfrazCodes to help me out.

JawaherAbuLahsah commented 2 years ago

Hi @pandae8686 , I think I solved this problem. I was working on internationalization and localization. @AfrazCodes Create the message ID with the date. The difference in the language of the identifier was the cause of this problem. I wrote this in dateFormatter and the issue was resolved. formattre.locale = Locale(identifier: "en_us") I hope you find it useful.

pandae8686 commented 2 years ago

Hi @pandae8686 , I think I solved this problem. I was working on internationalization and localization. @AfrazCodes Create the message ID with the date. The difference in the language of the identifier was the cause of this problem. I wrote this in dateFormatter and the issue was resolved. formattre.locale = Locale(identifier: "en_us") I hope you find it useful.

Awesome, thanks a lot @JawaherAbuLahsah