From 8ac92888ad2bb067b1c157c4143148d2964a76b7 Mon Sep 17 00:00:00 2001 From: Blake Matthes Date: Mon, 8 Dec 2025 08:37:25 -0600 Subject: [PATCH] test(mobile): keyence added --- mobileLst/app/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mobileLst/app/index.tsx b/mobileLst/app/index.tsx index 8732cd5..5c718d7 100644 --- a/mobileLst/app/index.tsx +++ b/mobileLst/app/index.tsx @@ -3,6 +3,7 @@ import React, { useState } from "react"; import { Button, FlatList, + NativeModules, Pressable, StyleSheet, Text, @@ -10,7 +11,10 @@ import { View, } from "react-native"; +const { KeyenceModule } = NativeModules; + export default function App() { + KeyenceModule.hello().then(console.log).catch(console.error); const [buffer, setBuffer] = useState(""); const [items, setItems] = useState([]); const [status, setStatus] = useState(""); @@ -94,7 +98,7 @@ export default function App() { setItems([]); }} /> - Scan Barcodes + Scan Barcode {/* The working input you already have */}