Is there a way to detect which device my app is being used on? I need that when entering my app with a sansung device, the font size is customized differently, as sansung devices increase the font by default.
Things like font size are crucial to accessibility. Users should always be in charge here; I think it is a major mistake for apps to try to micromanage user settings that can render the app inconvenient, if not impossible, for some people to use.
It’s also very problematic to try to use proxies like a manufacturer here; can you ever know that every Samsung phone does X, and every non-Samsung phone does not do X? Furthermore, how much confidence can you have that that will continue to be true in the future?
So I think this is a very bad idea, but if you’re still reading, the Cordova Device plugin provides this information.