react-native-user-agent icon indicating copy to clipboard operation
react-native-user-agent copied to clipboard

RNUserAgentModule getConstants: use applicationName for userAgent

Open inkrot opened this issue 2 years ago • 0 comments

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.

inkrot avatar Mar 01 '23 15:03 inkrot