react-native-image-base64
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "react-native-image-base64", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Convert image to base64", | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -25,4 +25,6 @@ | ||
ImgToBase64.getBase64String('file://youfileurl', (err, base64string) => doSomethingWith(base64string)); | ||
ImgToBase64.getBase64String('file://youfileurl') | ||
.then(base64String => doSomethingWith(base64String)) | ||
.catch(err => doSomethingWith(err)); | ||
``` | ||
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14929
29