سؤال

I want to know what is the best approach to handle Push subscription for multiple users on a single/shared device?

In worklight, when another person is using the same device and subscribing for Push then it removes previous user subscription for the same device.

my App is a financial App and possibility is that family members may use the same device, that's why we have to take care of all scenarios

Any idea, or workaround?

هل كانت مفيدة؟

المحلول

That's a device/OS limitation...

In iOS there is no multi-user support, so there is nothing one can do about it.
In Android, starting v4.2, there is multi-user support and there should be no issues (it will work out-of-the-box).

Edit: in native this is possible by creating your own user maintenance system. In Worklight, this is not doable at this time.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top