Skip to content

Instantly share code, notes, and snippets.

@Akifcan
Created December 24, 2023 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Akifcan/ba97e31ce4bf7704140dfb0af8b551bd to your computer and use it in GitHub Desktop.
Save Akifcan/ba97e31ce4bf7704140dfb0af8b551bd to your computer and use it in GitHub Desktop.
react-native-image-color-pick-3
let imagePath: string = ''
const resp = await RNFetchBlob.config({
fileCache: true,
}).fetch('GET', url)
imagePath = resp.path()
const base64 = await resp.readFile('base64')
fs.unlink(imagePath)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment