Skip to content

Commit

Permalink
Update environment context values for iOS and Android in AppNavegante…
Browse files Browse the repository at this point in the history
…Startup20250115 component
  • Loading branch information
joao-vasconcelos committed Jan 27, 2025
1 parent c73daa0 commit 14712fa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ export function AppNaveganteStartup20250115() {
// B. Handle actions

const handleClose = () => {
if (environmentContext.data.value === 'app-ios') {
if (environmentContext.data.value === 'app-navegante-ios') {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(window as any).webkit.messageHandlers.closeButtonClicked.postMessage('');
}
if (environmentContext.data.value === 'app-android') {
if (environmentContext.data.value === 'app-navegante-android') {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(window as any).Android.closeButtonClicked();
}
Expand Down

0 comments on commit 14712fa

Please sign in to comment.