Joplin: Links broken in Android app

Created on 7 Jun 2020  路  2Comments  路  Source: laurent22/joplin

Environment

Joplin version: 1.0.330
Platform: Android
OS specifics: 9

Steps to reproduce

  1. Have link in note
  2. Click link

Screenshot_20200607-101314

Describe what you expected to happen

The link should work. Instead, clicking a link to another Joplin note does nothing and clicking a web link opens inside the Joplin app...

Screenshot_20200607-101321

bug high mobile

All 2 comments

Attachments like pdf files don't open either. Bug was introduced with the update released on PlayStore today, before it was working fine.

Edit: I'm on Android 10 btw. Same version as the OP (1.0.330).

This is where it's broken:
https://github.com/laurent22/joplin/blob/071ea5854f894c0faabe02e10d68c747535caa74/ReactNativeClient/lib/joplin-renderer/MdToHtml/rules/link_open.js#L66

On mobile it renders this:

onclick='window.ReactNativeWebView.postMessage("joplin://51993dd55b0543e0ab4977123cd8d33d", { resourceId: "51993dd55b0543e0ab4977123cd8d33d" }); return false;'

whereas previously it used to be

onclick='window.ReactNativeWebView.postMessage("joplin://51993dd55b0543e0ab4977123cd8d33d"); return false;'
Was this page helpful?
0 / 5 - 0 ratings

Related issues

LifeIsAParadox picture LifeIsAParadox  路  3Comments

jmcastagnetto picture jmcastagnetto  路  3Comments

Rahulm2310 picture Rahulm2310  路  3Comments

yschutz picture yschutz  路  3Comments

deftdawg picture deftdawg  路  3Comments