Joplin: Android: Sharing links to Joplin doesn't create a note

Created on 24 Mar 2020  Â·  10Comments  Â·  Source: laurent22/joplin

TL;DR Links or text shared to Joplin on Android just kind of disappears.

Environment

Joplin version: 1.0.324
Platform: Android
OS specifics: Android 10

Steps to reproduce

  1. open a website in a browser or select text, hit _share_
  2. Select Joplin in the list of applications
  3. Joplin opens, select _new note_ or pick an existing note
  4. the shared text/link is nowhere to be seen

Describe what you expected to happen

What I would expect is that the shared text/link can be either stored as a new note or added to an existing note.

Logfile

I'm not sure what the best way is to get the log from android. Nothing however stands out in the log, there doesn't seem to be anything related to sharing in there.

bug

Most helpful comment

@Rahulm2310 That is noit the problem he describes. This functionality used to work. In a browser if you shared to joplin it would create a new note with the USR as content and title. Broken in recent uypdates

All 10 comments

@ilikeorangutans It is not currently possible to share images or to share selected text from any app to Joplin. It is not implemented yet. It is a project idea for GSOC-2020. Check this out

@Rahulm2310 That is noit the problem he describes. This functionality used to work. In a browser if you shared to joplin it would create a new note with the USR as content and title. Broken in recent uypdates

Can confirm the issue.

Environment

Joplin version: android-v1.0.325 (and downward to at least 1.0.320)
Platform: Android
OS specifics: LineageOS 16.0

Steps to reproduce

  1. Share text chunk from any other application to Joplin (e. g. from text editor, OpenKeychain, todo list, etc.)
  2. Joplin is opened, initializes and presents default view.
  3. No new note is being created.

Describe what you expected to happen

Expectation: Upon sharing text toward Joplin, a new note should be created and pre-filled with the shared text, enabling the user to select the appropriate notebook and to save the note. This was the default behaviour in versions at least up until android-v1.0.316. I'm not sure about 318, and can't check back because if I try to downgrade to earlier versions, the app won't start due to database incompatibility.

Verification: I tried several applications to share text to Joplin, which all failed. I can share text to other applications with success. Force-closing and re-starting Joplin has no effect. Reboot of the phone has no effect.

Logfile

Here are some log lines from a time frame in which I tried to share text to Joplin. Afaict, they show no errors.

Date,Level,Message 04-01T16:26:22,30,"""RevisionService::maintenance: Done in 46593ms"" 04-01T16:26:22,30,"""RevisionService::collectRevisions: Created revisions for 0 notes"" 04-01T16:26:22,30,"""RevisionService::maintenance: Done in 112ms"" 04-01T16:26:22,30,"""RevisionService::maintenance: Starting..."" 04-01T16:26:22,30,"""RevisionService::maintenance: Service is enabled"" 04-01T16:25:36,30,"""RevisionService::maintenance: Service is enabled"" 04-01T16:25:36,30,"""RevisionService::maintenance: Starting..."" 04-01T16:25:05,30,"""RevisionService::maintenance: Done in 181ms"" 04-01T16:25:05,30,"""RevisionService::collectRevisions: Created revisions for 0 notes"" 04-01T16:25:05,30,"""RevisionService::maintenance: Service is enabled"" 04-01T16:25:05,30,"""RevisionService::maintenance: Starting..."" 04-01T16:24:24,30,"""RevisionService::maintenance: Done in 145ms"" 04-01T16:24:24,30,"""RevisionService::collectRevisions: Created revisions for 0 notes"" 04-01T16:24:24,30,"""RevisionService::maintenance: Starting..."" 04-01T16:24:24,30,"""RevisionService::maintenance: Service is enabled"" 04-01T16:23:41,30,"""ResourceService::deleteOrphanResources:", "[]"" 04-01T16:23:41,30,"""ResourceService::indexNoteResources: Completed"" 04-01T16:23:41,30,"""Settings have been saved."" 04-01T16:23:41,30,"""RevisionService::maintenance: Done in 166ms"" 04-01T16:23:41,30,"""RevisionService::collectRevisions: Created revisions for 0 notes"" 04-01T16:23:41,30,"""Saving settings..."" 04-01T16:23:41,30,"""RevisionService::maintenance: Service is enabled"" 04-01T16:23:41,30,"""RevisionService::maintenance: Starting..."" 04-01T16:23:41,30,"""ResourceService::indexNoteResources: Start"" 04-01T16:23:23,30,"""DecryptionWorker: completed decryption."" 04-01T16:23:23,30,"""DecryptionWorker: starting decryption..."" 04-01T16:23:23,30,"""Settings have been saved."" 04-01T16:23:23,30,"""Saving settings..."" 04-01T16:23:22,30,"""Garbage collecting alarms..."" 04-01T16:23:22,30,"""Updating all notifications..."" 04-01T16:23:22,30,"""Total notes: 77"" 04-01T16:23:22,30,"""Total resources: 10"" 04-01T16:23:22,30,"""Total folders: 5"" 04-01T16:23:22,30,"""fetchingTotal: -"" 04-01T16:23:22,30,"""Operations completed: "" 04-01T16:23:22,30,"""BasicDelta: Report: {"timestamp":1585731505000,"older":194,"newer":0,"equal":1}"" 04-01T16:23:21,30,"""SearchEngine: Updated FTS table in 34ms. Inserted: 0. Deleted: 0"" 04-01T16:23:21,30,"""Starting scheduled sync"" 04-01T16:23:21,30,"""Preparing scheduled sync"" 04-01T16:23:21,30,"""SearchEngine: Updating FTS table..."" 04-01T16:23:15,30,"""RevisionService::maintenance: Done in 276ms"" 04-01T16:23:15,30,"""RevisionService::collectRevisions: Created revisions for 0 notes"" 04-01T16:23:15,30,"""RevisionService::maintenance: Service is enabled"" 04-01T16:23:15,30,"""RevisionService::maintenance: Starting..."" 04-01T16:23:12,30,"""DecryptionWorker: completed decryption."" 04-01T16:23:12,30,"""DecryptionWorker: starting decryption..."" 04-01T16:23:11,30,"""ResourceFetcher: Auto-added resources: 0"" 04-01T16:23:11,30,"""Application initialized"" 04-01T16:23:11,30,"""RevisionService::runInBackground: Starting background service with revision collection interval 30000"" 04-01T16:23:11,30,"""Scheduling sync operation...", "10000"" 04-01T16:23:11,30,"""ResourceFetcher: Auto-add resources: Mode: always"" 04-01T16:23:10,30,"""Loading folders..."" 04-01T16:23:10,30,"""Loaded master keys: 1"" 04-01T16:23:10,30,"""Trying to load 2 master keys..."" 04-01T16:23:10,30,"""Sync target: 2"" 04-01T16:23:10,30,"""PluginAssetsLoader: Assets are up to date. Hash: XXX"" 04-01T16:23:10,30,"""Scheduling sync operation...", "10000"" 04-01T16:23:10,30,"""Loading settings..."" 04-01T16:23:10,30,"""Database is ready."" 04-01T16:23:10,30,"""Current database version", "28"" 04-01T16:23:10,30,"""Checking for database schema update..."" 04-01T16:23:10,30,"""Database was open successfully"" 04-01T16:23:09,30,"""Starting application net.cozic.joplin-mobile (prod)"" 04-01T16:23:09,30,"""====================================""

If Rahulm2310 is right, this functionality was removed for some reason. I think this is a rather useful feature for a note taking app - any chance of getting it back?
Thanks!

Can confirm I have this issue also. Been running Brave browser and am unable to share any URLs into the application. I also tried Chrome Browser and it also fails. I'm guessing something with the Share Intent is busted.

Environment
Samsung Galaxy S9+
Joplin version: 1.0.324
Platform: Android
OS specifics: Android 10

Same here. It doesn't matter on that page or app I am: after opening the system sharing menu, I click on Joplin and I just get redirected to the app. Nothing else happens.

Device: OnePlus 6T
OS: Android 10 (Oxygen OS)
Joplin version: 1.0.324

Yeah, it does not work at the moment. I'm working on it here: https://github.com/laurent22/joplin/pull/2870

I'm working on it here: #2870

Thanks!

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

still doesn't seem fixed. when is the pull going in to the released version

Thanks for the fix! When will this make it to the released version on our phones?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexanderadam picture alexanderadam  Â·  3Comments

kopfuss picture kopfuss  Â·  3Comments

jurgenhaas picture jurgenhaas  Â·  3Comments

jmcastagnetto picture jmcastagnetto  Â·  3Comments

yschutz picture yschutz  Â·  3Comments