MCPcopy Create free account
hub / github.com/NativeScript/firebase / setAttributes

Method setAttributes

packages/firebase-crashlytics/index.ios.ts:84–88  ·  view source on GitHub ↗
(attributes: { [key: string]: string | number | boolean })

Source from the content-addressed store, hash-verified

82 this.native.setCustomValueForKey(value, name);
83 }
84 setAttributes(attributes: { [key: string]: string | number | boolean }) {
85 Object.keys(attributes).forEach((key) => {
86 this.native.setCustomValueForKey(attributes[key], key);
87 });
88 }
89 setCrashlyticsCollectionEnabled(enabled: boolean) {
90 this.native.setCrashlyticsCollectionEnabled(enabled);
91 }

Callers

nothing calls this directly

Calls 1

forEachMethod · 0.65

Tested by

no test coverage detected