import { useMutation } from "@tanstack/react-query"; import { Button } from "../../components/ui/button"; import { Separator } from "../../components/ui/separator"; 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
To update the scanner follow the below steps.
Step 1) Tap the 3 dots top right of the home screen
Step 2) Tap tools
Step 3) Tap Stage Now
Step 4) Scan the 3 barcode's to the right or from the printed sheet
Scan Commands