You need to sign in to do that
Don't have an account?
Shweta Garg
Is lightning/empApi module supported in mobile phone?
Hello All,
I am building a mobile application for chatter using lightning web component. whenever a new message comes,it should appear in chatting box.
I was implementing it through platform events and lightning.empApi module to get the latest message on chatbox.
This is working in desktop not in mobile phone.
Is lightning/empApi module supported in mobile phone?
OR is there any other workaround ?
Please help.
Thanks,
Shweta
I am building a mobile application for chatter using lightning web component. whenever a new message comes,it should appear in chatting box.
I was implementing it through platform events and lightning.empApi module to get the latest message on chatbox.
This is working in desktop not in mobile phone.
Is lightning/empApi module supported in mobile phone?
OR is there any other workaround ?
Please help.
Thanks,
Shweta
The empAPI is not supported in Mobile devices.
Reference: https://salesforce.stackexchange.com/questions/317720/subscribing-platform-events-from-lighting-component-in-mobile/317746#317746
Also, as per the documentation(https://developer.salesforce.com/docs/component-library/bundle/lightning:empApi/documentation) the Experience section in the documentation says, the supported experience is Lightning Experience.
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
All Answers
The empAPI is not supported in Mobile devices.
Reference: https://salesforce.stackexchange.com/questions/317720/subscribing-platform-events-from-lighting-component-in-mobile/317746#317746
Also, as per the documentation(https://developer.salesforce.com/docs/component-library/bundle/lightning:empApi/documentation) the Experience section in the documentation says, the supported experience is Lightning Experience.
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
Thank you so much for you reply.
Is there any other workaround to solve this problem?