feat(lib-jitsi-meet) log UA string too

This way we can know from the logs what we are working with.
This commit is contained in:
Saúl Ibarra Corretgé
2024-10-30 14:30:22 +01:00
committed by Saúl Ibarra Corretgé
parent 771f5af59d
commit 6d3330a208
2 changed files with 3 additions and 1 deletions

1
globals.native.d.ts vendored
View File

@@ -40,6 +40,7 @@ interface IWindow {
interface INavigator { interface INavigator {
product: string; product: string;
userAgent: string;
} }
declare global { declare global {

View File

@@ -57,7 +57,8 @@ export function initLib() {
isOnline: isOnline(state) isOnline: isOnline(state)
}); });
logger.info(`lib-jitsi-meet version:${JitsiMeetJS.version}`); logger.info(`lib-jitsi-meet version: ${JitsiMeetJS.version}`);
logger.info(`User Agent: ${navigator.userAgent}`);
dispatch({ type: LIB_DID_INIT }); dispatch({ type: LIB_DID_INIT });
} catch (error: any) { } catch (error: any) {