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.
|
||||
@ -831,7 +831,7 @@ textTracks={[
|
||||
|
||||
### `showNotificationContorols`
|
||||
|
||||
<PlatformsList types={['Android', 'iOS']}/>
|
||||
<PlatformsList types={['Android', 'iOS']} />
|
||||
|
||||
Controls whether to show media controls in the notification area.
|
||||
For Android each Video component will have its own notification controls and for iOS only one notification control will be shown for the last Active Video component.
|
||||
|
Loading…
Reference in New Issue
Block a user