Skip to content

Fix a bad else statement#3130

Closed
robbiet480 wants to merge 2 commits intomasterfrom
external-bus-else-fix
Closed

Fix a bad else statement#3130
robbiet480 wants to merge 2 commits intomasterfrom
external-bus-else-fix

Conversation

@robbiet480
Copy link
Copy Markdown
Contributor

Fixes #3129

if (window.externalApp) {
window.externalApp.externalBus(JSON.stringify(msg));
} else {
} else if (window.webkit) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't fix it. The problem is I that externalBus is not defined because he uses an older iOS app. We should only set up the external bus if we detect that either externalApp.externalBus or webkit!.messageHandlers.externalBus exists inside ExternalAuth.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants