mirror of
https://github.com/jellyfin/jellyfin-sdk-typescript.git
synced 2024-11-23 05:59:44 +00:00
Add note about URL polyfill for React Native
This commit is contained in:
parent
d099b6b340
commit
3167b32e88
@ -25,6 +25,12 @@ or
|
||||
yarn add @thornbill/jellyfin-sdk
|
||||
```
|
||||
|
||||
### React Native
|
||||
|
||||
The generated Axios client used in this library depends on `URL` and `URLSearchParams` to be available on the global scope.
|
||||
React Native only includes incomplete implementations for these classes, so a polyfill is required.
|
||||
[React Native URL Polyfill](https://github.com/charpeni/react-native-url-polyfill) should be a good solution fo this.
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
|
Loading…
Reference in New Issue
Block a user