BlinkID / blinkid-capacitor

ID scanning for cross-platform apps built with Capacitor.
11 stars 3 forks source link

How to set the framework language? #14

Open louisdebaere opened 3 years ago

louisdebaere commented 3 years ago
const recognizerCollection = new RecognizerCollection(recognizers);

const settings = new BlinkIdOverlaySettings();
settings.language = 'nl';

return plugin.scanWithCamera(settings, recognizerCollection, license);

Setting the language like this on the overlay settings does not seem to work, the language is still set to the device language, not Dutch ('nl') as specified. Is this the correct way to set the language?

BlinkID version: 5.9.0

mijo-gracanin commented 3 years ago

Hi @louisdebaere, That should be the correct way to set the language, but currently "language" property is not implemented in the wrapper (the value is not propagated to the native framework). We'll update the issue once the fix is published.

mparadina commented 3 years ago

Hi @louisdebaere

Following up on this thread.

The implementation of the language property was postponed and will be added in the next release of the SDK, 5.13.0.

Let us know if you have any additional questions.

Regards, Milan