bebnev / react-native-user-agent

Library that helps you to get mobile application user agent and web view user agent strings
MIT License
41 stars 38 forks source link

RNUserAgentModule getConstants: use applicationName for userAgent #28

Open inkrot opened 1 year ago

inkrot commented 1 year ago

My package name was like "com.example.projectname.dev" (a separate prefix for the Dev environment), so the previous method of getting the name was giving the application name as "dev", it was like: "dev/0.1.1 Mozilla/5.0 (Linux; Android...".

I suggest to use applicationName for this.