MCPcopy
hub / github.com/BlueWallet/BlueWallet / getIsHandOffUseEnabled

Function getIsHandOffUseEnabled

components/HandOffComponent.ios.tsx:34–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32};
33
34export const getIsHandOffUseEnabled = async (): Promise<boolean> => {
35 try {
36 await DefaultPreference.setName(GROUP_IO_BLUEWALLET);
37 const isEnabledValue = await DefaultPreference.get(BlueApp.HANDOFF_STORAGE_KEY);
38 const result = isEnabledValue === 'true';
39 console.debug('getIsHandOffUseEnabled', result);
40 return result;
41 } catch (error) {
42 console.error('Error getting handoff enabled status:', error);
43 return false;
44 }
45};
46
47export default MemoizedHandOffComponent;

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected