PharmaLedger-IMI / acdc-components

UC4 Anti-Counterfeiting Data Collaboration
MIT License
3 stars 4 forks source link

Camera.onPictureTaken callback no longer returns base64 string, returns blob url instead #34

Open TrueMedHemmo opened 1 year ago

TrueMedHemmo commented 1 year ago

Apologies if this is not related to this project. I tried quickly reading around the camera interface components, but all function params were talking about base64, so I am unsure if the issue is here exactly.

This currently breaks the TrueMed SSAPP integration. If there was a reason for this change, these should be reported ahead of time.

Steps to reproduce:

The problem here is that the SSAPP cannot access data that is behind a localhost address most likely due to XSS prevention.

Suggested solution: Revert back to returning base64

Alternate solution: Figure a setup that allows for blob urls to work without excess configuration steps on both the EPI and SSAPP ends.