admin管理员组

文章数量:1194135

I have clone the reactnative ttlock repo and tried to make the build after alot of config and install dependencies and after that i am able to make the build and i see two views in the main screen

  1. Lock
  2. Gateway

main screen

when i click on any these views, it throws an error

error in mobile screen

error in computer screen

scanLock.tsx

 useEffect(() => {
    Ttlock.getBluetoothState((state: BluetoothState) => {
      console.log('BluetoothState:', state);
    });
    store.startScanLock();
  }, []);

I have tried a lot to fix this issue

本文标签: error handlingreact native ttlock IssueStack Overflow