How to call your own iOS app with a custom URL scheme?

I’ve built an iOS app with the SDK. Works great. I’ve got a custom URL scheme for the app, but whenever I have another app call it (or type the url in Safari), the app will launch and come to the front, but then the FM Go library is tries to open a database (obviously, my Launcher db is already open and running).

If I try:

myurlscheme://Launcher

myurlscheme://Launcher.fmp12

myurlscheme://Launcher.fmp12?script=OnFirstWindowOpen

I get:

The file “.fmp12” could not be opened. Either the host is not available, or the file is not available on that host.