The official library for integrating snappify into your webapp.
Interested? Just hit us up at [email protected]
npm i @snappify/integration
yarn add @snappify/integration
Be aware that we restrict the integration of snappify by platforms at the moment. Are you interested? Hit us up at [email protected]
import { openSnappify } from '@snappify/integration';
async function() {
try {
const blob = await openSnappify();
// do something with the blob, e.g. create an object url to show it in an img tag:
// URL.createObjectURL(blob);
} catch (error) {
// error handling
}
}