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

Library that helps you to get mobile application user agent and web view user agent strings

Results 12 react-native-user-agent issues
Sort by recently updated
recently updated
newest added

I started getting this error after upgrading expo 43 to 45 (RN 0.64.3 to 0.68.2) The below commit seems to fix, based on a similar report/fix I found (https://github.com/expo/expo/issues/15649), but...

Are the any plans to add Android model/device names to the UA?

import UserAgent from 'react-native-user-agent'; UserAgent.getUserAgent(); render() { var url = 'http://qun.hk/'; return ( {console.warn(event.nativeEvent.data);}} onMessage={this.onMessage} onNavigationStateChange={(e)=>this.onNavigationStateChange(e)} /> ); }

It would be great to be able to have a method to "append" a parameter to the UserAgent string as well. E.g. Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac...

Is there a plan to implement set/unset useragent functino? Maybe i can give some help.

Q: Is this lib planned to support `react-native-windows`?

I am not able to navigate because of userAgent in WebView Safari Version is missing giving javascript error.

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...

This error is located at: in App (at withDevTools.js:18) in withDevTools(App) (at renderApplication.js:57) in RCTView (at View.js:116) in View (at AppContainer.js:127) in RCTView (at View.js:116) in View (at AppContainer.js:155) in...

After updating to 76.1 version ``` "react-native": "0.76.1", "react-native-user-agent": "^2.3.1", ``` All of these - undefined (( ``` systemName systemVersion applicationName applicationVersion buildNumber darwinVersion cfnetworkVersion deviceName deprecated modelName ``` Get...