MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / uuid

Method uuid

packages/core/platform/device/index.android.ts:66–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 }
65
66 get uuid(): string {
67 if (!this._uuid) {
68 const nativeApp = getNativeApp() as android.app.Application;
69 this._uuid = android.provider.Settings.Secure.getString(nativeApp.getContentResolver(), android.provider.Settings.Secure.ANDROID_ID);
70 }
71
72 return this._uuid;
73 }
74
75 get language(): string {
76 let defaultNativeLocale;

Callers

nothing calls this directly

Calls 2

getNativeAppFunction · 0.90
getStringMethod · 0.45

Tested by

no test coverage detected