android_web_hook.html 1.0 KB

12345678910111213141516171819202122232425
  1. <!--
  2. Besides activating Deep Links in the application - you need to enable indexing for your web pages.
  3. For that you should add <link /> tags in the <head> section of the web pages that you specified in config.xml.
  4. Doing so, you declare that this page should be openned in the mobile application instead of the browser.
  5. Link tag is look like this:
  6. <link rel="alternate" href="android-app://<package_name>/<scheme>/<host>/<path>" />
  7. More documentation could be found here:
  8. https://developer.android.com/training/app-indexing/enabling-app-indexing.html
  9. For convenience, plugin generates the list of <link /> tags based on what you specified in the config.xml.
  10. You can just copy-paste them in the <header> section of the appropriate pages of your website.
  11. -->
  12. <head>
  13. <link rel="alternate" href="android-app://de.porth.hybridosn/https/hybridosn.page.link" />
  14. <link rel="alternate" href="android-app://de.porth.hybridosn/https/hybridosn.firebaseapp.com/__/auth/callback" />
  15. <!-- Your other stuff from the head tag -->
  16. </head>
  17. <body>
  18. <!-- Your page content -->
  19. </body>