Closed johnnyzen closed 7 years ago
Hi all
It seems this plugin in iOS is ignoring compression settings? Android is fine:
Here are my settings:
let drawingImage; pad.getDrawing().then((data) => { const image = ImageSource.fromNativeSource(data); const base64ImageString = image.toBase64String('jpeg', 10); this._sessionService.getCurrentSession().signature.base64ImageString = base64ImageString; }, (err) => { console.error(err); });
Any ideas on why this might be?
Sorry I am stupid. toBase64String is not part of this library
Hi all
It seems this plugin in iOS is ignoring compression settings? Android is fine:
Here are my settings:
let drawingImage; pad.getDrawing().then((data) => { const image = ImageSource.fromNativeSource(data); const base64ImageString = image.toBase64String('jpeg', 10); this._sessionService.getCurrentSession().signature.base64ImageString = base64ImageString; }, (err) => { console.error(err); });
Any ideas on why this might be?