Skip to content

Commit

Permalink
fix(mobile): hide browsertab recommandation until it is really implem…
Browse files Browse the repository at this point in the history
…ented
  • Loading branch information
Badisi committed Mar 1, 2023
1 parent 73045db commit 6f2e412
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions projects/auth-js/oidc/mobile/mobile-window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ export class MobileWindow implements IWindow {
console.error(message);
}

if (!BROWSER_TAB && CAPACITOR_BROWSER) {
// TODO:
/* if (!BROWSER_TAB && CAPACITOR_BROWSER) {
let message = '[@badisi/auth-js] This application is currently using a non recommended browser plugin.\n\n';
message += 'ⓘ Please follow the recommended guide and use `@badisi/capacitor-browsertab` instead.';
console.warn(message);
}
}*/

if (BROWSER_TAB) {
this._logger.debug('Using `@badisi/capacitor-browsertab` implementation');
Expand Down

0 comments on commit 6f2e412

Please sign in to comment.