Monzo for Android - Teardowns & Deep Dives 👨‍💻

For anybody wondering how I have setup the deeplinks in my posts.

The forum (Discourse) only allows https/http not monzo:// links, so I link to my domain instead, that then redirects to the deeplink from there.

Here is the php used:

<? $link=basename(__DIR__)?>
<!DOCTYPE html>
<html>
<head>
   <!-- HTML meta refresh URL redirection -->
   <meta http-equiv="refresh"
   content="0; url=monzo://<? echo $link ?>">
</head>
<body>
   <p>This deeplink needs to be clicked on your android device: 
   <a href="monzo://<? echo $link ?>">monzo://<? echo $link ?></a></p>
</body>
</html>

This takes the folder the php file is in eg: www.example.com/abc/index.php and redirects you to a Monzo deeplink of the same name in this case it would be monzo://abc.

I have a very long list of deeplinks here: links.quiteyellow.studio/monzo

@AR2018 Great job on your first teardown!

9 Likes