01-09-2014 03:19 PM
My app lets a user send links to the Remember app in two ways either by directly invoking the Remember app card, or via a Share invocation. In both cases the link gets prepopulated into the body of the note from a QString value. BB10 converts the value into an actual link, so when the note is viewed in either Remember or the BB10 native Evernote app, the link can be tapped and the BB10 Browser opens the link. All good so far.
The problem is that in both cases the link is converted from a http:// URI to a complicated invoke:// URI which works perfectly on a BB10 device, but is useless anywhere else. If you open the note in the desktop Evernote client the link looks fine on the page, but if you click on it, instead of the displayed text of the link, it tries to open something like:
If you click on the link nothing happens. The visible text of the link is the correct http:// URI so you can copy it and paste it into the URL field in the browser, but this is obviously less than optimal. If you share the link directly with the BB10 native Evernote app instead of going through the Remember app, the link string is not converted into an actual link at all so when you look at it in the desktop client you can't click on it, just copy and paste it.
One of Evernote's best features is its broad platform support and most of its users expect something saved from a BB10 device to work the same on any of the other platform clients as it does in the BB10 one. As it stands, the only place one of these invoke:// URIs will work is on an actual BB10 device.
Does anyone have any idea how to get Remember to stop converting http:// URIs in the body of a note into something that only works on a BB10 device?
01-10-2014 09:45 AM
I suggest you open a jira ticket for the issue you are experiencing. There, please include a working code snippet that would help our internal teams reproduce and investigate the issue further. Here's the link to Jira:
Once done, please also share the link to your ticket in this forum post.
01-10-2014 02:59 PM
Ok, no need for me to post any code... this is not an invocation or share problem, it is a Remember issue.
To duplicate this you can do it entirely from Remember:
You will notice that clicking on the link has no effect, and if you inspect the href for the link you will see that it is not an http:// URI but has instead been changed to invoke:// by Remember.
On the BB10 device where you created this note the invoke:// URI works as intended, launching the BB10 Browser to display the page, but when you open the Evernote note on any other platform the link is useless since invoke:// is not a valid URI there. This is a serious flaw in Remember<->Evernote syncing. If Remember wants to convert URLs to invocations for it's own purposes, that is fine, but when sending those notes to Evernote it should be converting them back into a valid http:// URI.