diff --git a/package.json b/package.json index 66cb1df..6a4e161 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "react-native": "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz", "react-native-elements": "^3.4.2", "react-native-gesture-handler": "^1.10.3", + "react-native-get-random-values": "^1.7.0", "react-native-paper": "^4.9.2", "react-native-svg": "^12.1.1", "react-native-vector-icons": "^8.1.0", diff --git a/src/components/Playlist.js b/src/components/Playlist.js index 0e747fb..08bc5c2 100644 --- a/src/components/Playlist.js +++ b/src/components/Playlist.js @@ -1,4 +1,5 @@ import React, { PureComponent, Suspense, useState } from 'react'; +import 'react-native-get-random-values'; import { v4 as uuidv4 } from 'uuid'; import { View, Spinner, IFrame } from './Platform'; @@ -54,13 +55,13 @@ export default function Playlist({ track_ids = [], waypoints = [] }) { - + } >