Skip to main content
Version: 4.1.1

Usage on Flutter

4.1 Create react native file

Take the react native files (in /doc/files/reactnative) and put them in root of the project.

4.2 Launch App

Launch the app :

npx react-native run-android
npm start

Now the app should able to scan :

4.3 Analyze the code

In Decoders.js, you have all the decoders. You must choose one main decoder and multiple subdecoders like we did in App.js.

import ScanModule from './ScanModule';
import Decoders from './Decoders';

const mainDecoders = Decoders.MainDecoders;
const subDecoders = Decoders.SubDecoders;

const callScanModule = async () => {
const result = await ScanModule.scan(mainDecoders.CODE_EU_PLATES,
subDecoders.CODE_EU_PLATES.CODE_PLT_FRA | subDecoders.CODE_EU_PLATES.CODE_PLT_DEU);
alert(result);
}

Here we want to scan french and german plates