I'm using ngx-device-detector library for detecting the device type (mobile, tablet or desktop). This library working perfectly in client mode but can't detect the device type when an angular universal application pre-rendered on the server(after prerendering on the server, working perfectly on client mode).
- I appreciate if someone gives me a solution that works for this library
- Eventually, if there isn't any solution for this library, give me another solution
Thanks.