Jump to content


Photo

changes to how Accordance handles Shortcuts in iOS 13

bug report

  • Please log in to reply
4 replies to this topic

#1 jeff_melton

jeff_melton

    Member

  • Members
  • Pip
  • 4 posts
  • Gender:Male
  • Accordance Version:12.x
  • Platforms:Windows, iOS

Posted 25 September 2019 - 01:17 PM

I've been in conversation with Billy Mitchum from the Accordance Support team over the last few days, and though he's repro'd the issue on his side, he won't forward it on to the developers in-house. Instead, he asked me to open a topic here. The long and the short of it is that I have been successfully using Shortcuts to launch Accordance with a given set of resources since long before Apple bought and renamed Workflow. The generated URI has worked fine through Accordance 3.0.2 under iOS 12.4. My Shortcut generates the same URI under iOS 13/13.1 and iPadOS 13.1, but it does not work correctly under either Accordance 3.0.2/4.

 

Here's an example URI: accord:///NIV11-GK;read?ref=%20Psalm%2012;Proverbs%2017:1-5;1%20Corinthians%209:19-23

 

Under iOS 12.4, that will open the NIV-GK resource with Psalm 12, Proverbs 17:1-5, and 1 Corinthians 9:19-23 in a single view. Under iOS 13/13.1 and iPadOS 13.1, it simply opens Accordance to whatever the last view was. It seems obvious there's some issue created by the upgrade to iOS 13, but I don't have insight into what Accordance is doing with the URI once it gets there.

 

I can share the Shortcut if need be, but it seems irrelevant, since the output URI is really all we're concerned with. Plus, it'll take some time to get your head around what I'm doing, as it's fairly (and possibly needlessly) complex.



#2 R. Mansfield

R. Mansfield

    Ruby

  • Accordance
  • 5,085 posts
  • Twitter:@thislamp
  • Gender:Male
  • Location:Louisiana
  • Interests:Biblical studies/backgrounds & Patristics; Eastern Orthodox theology/practice; time w/my wife, Kathy & hound, Lucy Mae; cooking w/cast iron & Tabasco; excursions in my Jeep Wrangler
  • Accordance Version:13.x
  • Platforms:Mac OS X, Windows, iOS, Android

Posted 25 September 2019 - 01:41 PM

Jeff, that link fails for me not only under iOS 13, but also in macOS Mojave. As you described, it only launches Accordance. Sorry you had to type all this out after talking to support, too, but I'll make sure our developers see this.


Richard Mansfield

Technology Evangelist

Accordance Bible Software

 


#3 OSchrock

OSchrock

    Gold

  • Active Members
  • PipPipPipPip
  • 214 posts
  • Gender:Male
  • Location:USA / Brazil
  • Accordance Version:13.x
  • Platforms:Mac OS X, iOS

Posted 25 September 2019 - 09:18 PM

Seems strange that that URL scheme used to work but no longer works. It does not work for me and is a bit different from the URL schemes that I've used. The following URL works for me on Mac and iOS.

 

accord://read/NIV11-GK?Psalm%2012;Proverbs%2017:1-5;1%20Corinthians%209:19-23

I love using iOS shortcuts with Accordance and I hope the Accordance team maintains and advances how well they work together!



#4 Graham Buck

Graham Buck

    Platinum

  • Accordance
  • 617 posts
  • Gender:Male
  • Location:God's Country (New England)
  • Accordance Version:12.x
  • Platforms:Mac OS X, iOS

Posted 26 September 2019 - 05:28 AM

Jeff,

 

I did do work on URL handling for 3.0.3, but nothing that would have broken proper link handling.

 

Looking at your original link, I'm curious as to why it ever worked. If you look here (http://accordancefil...ommon_tasks.htm) you can see our url schema. This has been the same since we introduced url handling back in like 2015? so, like I said, I'm not sure why your former search would work.

 

You can see the query properly formatted from OSchrock's link.

 

My only thought is maybe the internal iOS parsing of that link style changed? Either way, I think a slight edit to your shortcut outlined by the above link will get you back in business! :)

 

[EDIT: http s://accordance.bible/link/read/NIV11-GK?Psalm_12;Proverbs_17:1-5;1_Corinthians_9:19-23 (space added after http to keep the board from auto linking (and compressing) it) is the link acquired by copying as a search url from the app. the 'https://accordance.bible/link/' is external, obviously, so that would get replaced with 'accord://'. If you ever want to check your urls you can always try the search and then copy the search out.]


Edited by Graham Buck, 26 September 2019 - 05:42 AM.

Graham Buck

 

iOS Developer
OakTree Software


#5 jeff_melton

jeff_melton

    Member

  • Members
  • Pip
  • 4 posts
  • Gender:Male
  • Accordance Version:12.x
  • Platforms:Windows, iOS

Posted 26 September 2019 - 06:32 PM

I’ll take a look at it. Thanks, all.





Also tagged with one or more of these keywords: bug report

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users