//import { useMutation } from "@tanstack/react-query"; //import { Button } from "../../components/ui/button"; import { Separator } from "../../components/ui/separator"; // image imports const images = import.meta.glob( "/public/imgs/docs/mobile/*.{png,jpg,jpeg,webp}", { eager: true, query: "w=300;600;1200&format=webp", import: "default", }, ) as Record; const server = window.LST_CONFIG?.server; const firstScan = images[`/public/imgs/docs/mobile/${server}-1.png`]; const secondScan = images[`/public/imgs/docs/mobile/${server}-2.png`]; const thirdScan = images[`/public/imgs/docs/mobile/${server}-3.png`]; export default function UpdateInstructions() { // const getFile = useMutation({ // mutationFn: async () => { // // 1. Fetch the file from the public folder // const response = await fetch( // `/lst/app/stage-now/${window.LST_CONFIG?.server}-stageNow.pdf`, // ); // if (!response.ok) throw new Error("Network response was not ok"); // // 2. Convert to blob // return await response.blob(); // }, // onSuccess: (blob) => { // // 3. Create a temporary anchor element to trigger download // const url = window.URL.createObjectURL(blob); // const a = document.createElement("a"); // a.href = url; // a.download = `${window.LST_CONFIG?.server}-stageNow.pdf`; // Desired filename // document.body.appendChild(a); // a.click(); // // 4. Cleanup // window.URL.revokeObjectURL(url); // document.body.removeChild(a); // }, // }); return (

Updating the lst mobile scanner app

NOTE: LST Mobile only works on TC8300

{/*
*/}

How to know the scanner has an update?

The bottom part of the scanner will show a red or orange bar indicating there is an update. As shown below

Home
Home

To update the scanner follow the below steps.

Step 1) Tap the 3 dots top right of the home screen

Home

Step 2) Tap tools

Home

Step 3) Tap Stage Now

Home

Step 4) Scan the 3 barcode's to the right or from the printed sheet

Home

Scan Commands

First Scan Second Scan Third Scan
); }