Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
chore(analytics) Add getter for amplitude deviceId (#16268)
Horatiu Muresan557f6defb8fb
diff --git a/react/features/analytics/handlers/amplitude/fixDeviceID.web.ts b/react/features/analytics/handlers/amplitude/fixDeviceID.web.tsindex 35dcb89eee..932c67c5c3 100644--- a/react/features/analytics/handlers/amplitude/fixDeviceID.web.ts+++ b/react/features/analytics/handlers/amplitude/fixDeviceID.web.ts@@ -35,3 +35,12 @@ export function fixDeviceID(amplitude: Types.BrowserClient) {}}}++/**+ * Returns the amplitude shared deviceId.+ *+ * @returns {string} - The amplitude deviceId.+ */+export function getDeviceID() {+ return jitsiLocalStorage.getItem(DEVICE_ID_KEY);+}