Skip to content

Error: 'Ttlock' is undefined #29

Description

@MuhammadZeeshan-Zee

When I try to build the application, it starts installing the dependencies and then begins the installation, just before finishing the installation of the dependencies and installing the app on my smartphone, I see two view

1.Lock
2.Gateways

when i click on Lock it throws errors that are given below:

Error: Exception in HostObject::get for prop 'Ttlock': com.facebook.react.internal.turbomodule.core.TurboModuleInteropUtils$ParsingException: ?Unable to parse @ReactMethod annotation from native module method: Ttlock.onRequestPermissionsResult(). Details: Unable to parse JNI signature. Detected unsupported parameter class: java.lang.String[] [Component Stack]

(NOBRIDGE) ERROR Warning: TypeError: Cannot read property 'Ttlock' of undefined

code snippet is

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions