UNPKG

react-native-track-player

Version:
9 lines (8 loc) 212 B
const resolveAssetResource = (base64) => { if (/^https?:\/\//.test(base64)) { return base64; } // TODO: resolveAssetResource for web return base64; }; export default resolveAssetResource;