MCPcopy Index your code
hub / github.com/callstack/agent-device / parseAndroidFingerprintAction

Function parseAndroidFingerprintAction

src/platforms/android/settings.ts:166–171  ·  view source on GitHub ↗
(state: string)

Source from the content-addressed store, hash-verified

164type AndroidFingerprintAction = 'match' | 'nonmatch';
165
166function parseAndroidFingerprintAction(state: string): AndroidFingerprintAction {
167 const normalized = state.trim().toLowerCase();
168 if (normalized === 'match') return 'match';
169 if (normalized === 'nonmatch') return 'nonmatch';
170 throw new AppError('INVALID_ARGS', `Invalid fingerprint state: ${state}. Use match|nonmatch.`);
171}
172
173async function runAndroidFingerprintCommand(
174 device: DeviceInfo,

Callers 1

setAndroidSettingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected