MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / setDefaultProperties

Method setDefaultProperties

packages/sdks/react-native/index.ts:89–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87 }
88
89 private async setDefaultProperties() {
90 this.setGlobalProperties({
91 __version: Application.nativeApplicationVersion,
92 __buildNumber: Application.nativeBuildVersion,
93 __referrer:
94 Platform.OS === 'android'
95 ? await Application.getInstallReferrerAsync()
96 : undefined,
97 });
98 }
99
100 private async loadPersistedQueue() {
101 if (!this.storage) {

Callers 1

constructorMethod · 0.95

Calls 1

setGlobalPropertiesMethod · 0.95

Tested by

no test coverage detected