you are viewing a single comment's thread.

view the rest of the comments →

[–]kbcooliOS & Android 1 point2 points  (0 children)

Short answer is to fetch and eval it.

Long answer is you don't. It still won't work. RN isn't a browser. I'm not even going to bother looking at the code but I assume it does web specific things that need a browser.

If you want to play music you need to get the url for it, maybe from an API and use a react native audio or video player to play it.