Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71530

Error with opening external application via custom url scheme

$
0
0

@cloudteam wrote:

We have a POS app we’ve written in Ionic that uses a bluetooth card reader (iOS only). This reader can be interfaced with by using the genius:// url scheme. I can build successfully and the app works, however, when I try to launch the external app from inside my Ionic app using window.open OR document.location (in the debug console) , I get the following error:

“Failed to load resource: unsupported URL”

I can get maps:// to work just fine using either of those methods.

We use Ionic PRO to build the package for what it’s worth.

It appears that I am supposed to add an entry to config.xml (which I of course have) that will allow the genius:// url scheme. That entry looks like this:

 <edit-config file="*-Info.plist" mode="merge" target="LSApplicationQueriesSchemes">
            <array>
                <string>genius</string>
            </array>
 </edit-config>

Any suggestions would be greatly appreciated!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71530

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>