feat(android): change default user agent value (#3813)
* feat(android): change default user agent value * docs: fix headers prop platform
This commit is contained in:
parent
dac0985430
commit
089dc7e032
@ -38,7 +38,7 @@ public class DataSourceUtil {
|
||||
|
||||
public static String getUserAgent(ReactContext context) {
|
||||
if (userAgent == null) {
|
||||
userAgent = Util.getUserAgent(context, "ReactNativeVideo");
|
||||
userAgent = Util.getUserAgent(context, context.getPackageName());
|
||||
}
|
||||
return userAgent;
|
||||
}
|
||||
|
@ -290,7 +290,7 @@ If a preferred [fullscreenOrientation](#fullscreenorientation) is set, causes th
|
||||
|
||||
### `headers`
|
||||
|
||||
<PlatformsList types={['Android']} />
|
||||
<PlatformsList types={['iOS', 'Android']} />
|
||||
|
||||
Pass headers to the HTTP client. Can be used for authorization. Headers must be a
|
||||
part of the source object.
|
||||
|
Loading…
Reference in New Issue
Block a user