문제

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