diff --git a/example/src/screens/Scanner.tsx b/example/src/screens/Scanner.tsx index ad04c34..fe1bb38 100755 --- a/example/src/screens/Scanner.tsx +++ b/example/src/screens/Scanner.tsx @@ -44,7 +44,8 @@ export default function ScannerScreen({route}) { console.log("mounted"); const status = await Camera.requestCameraPermission(); setHasPermission(status === 'granted'); - const result = await DLR.initLicense("DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAxLTE2NDk4Mjk3OTI2MzUiLCJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSIsInNlc3Npb25QYXNzd29yZCI6IndTcGR6Vm05WDJrcEQ5YUoifQ=="); + let license = "DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAxLTE2NDk4Mjk3OTI2MzUiLCJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSIsInNlc3Npb25QYXNzd29yZCI6IndTcGR6Vm05WDJrcEQ5YUoifQ=="; //one-day public trial + const result = await DLR.initLicense(license); if (result === false) { Alert.alert("Error","License invalid"); }