diff --git a/components/connection/ServerConnectForm.vue b/components/connection/ServerConnectForm.vue index bfd3b008..678c07c2 100644 --- a/components/connection/ServerConnectForm.vue +++ b/components/connection/ServerConnectForm.vue @@ -78,35 +78,10 @@ diff --git a/plugins/init.client.js b/plugins/init.client.js index 2c9a4cf5..ec2a1c73 100644 --- a/plugins/init.client.js +++ b/plugins/init.client.js @@ -282,6 +282,14 @@ export default ({ store, app }, inject) => { window.history.back() } }) + + /** + * @see https://capacitorjs.com/docs/apis/app#addlistenerappurlopen- + * Listen for url open events for the app. This handles both custom URL scheme links as well as URLs your app handles + */ + App.addListener('appUrlOpen', (data) => { + eventBus.$emit('url-open', data.url) + }) } export {