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!