I’m trying to be able to open Google Maps but I keep getting the error:
(UIKitCore) <Notice>: -canOpenURL: failed for URL: "comgooglemaps://" - error: "This app is not allowed to query for scheme comgooglemaps"
It’s very odd though, because when I actually open the URL it works just fine, but the -canOpenURL doesn’t seem to want to detect that Google Maps can be opened. I’ve added the following to my config.xml
Good point! I don’t have an Apple computer, but I do notice that actually when I change .ipa to a zip and search the jumbled up Info.plist file, I can find comgooglemaps-x-callback and comgooglemapsurl but not the original comgooglemaps on its own… (there should be three, but only find two comgooglemaps in the whole document) it seems to not be included, as well as a couple of others.
You’re on the right track. On any operating system you can extract the .ipa using a zip extraction tool and you should find the Info.plist in there. It may be in binary format, but it still should be readable for the most part. You are welcome to share the .ipa or .plist with firstname.lastname@example.org if you need a hand.
Finally, I removed every single plugin available in my config.xml file, and this also for some reason kept removing large chunks of the items in the array, but keeping others (such as gzpit which is our other app, this is always retained).
As I’ve now tried compiling with all plugins removed, I’m rather scratching my head with this one. Is there something in the compiling process I’m missing that could also cause it?
I thought that perhaps it is toggling the options, so tried removing all those, but noticed none were appended and my original two stayed. So, I then tried keeping my two and adding all those items in the config.xml - and sadly, it stripped all those listed except for my two. (and ofcourse disabling the plugin, all remained). The only thing I can think of is that the code above does not have a “mode” attribute, and I can not figure out what the default behaviour is in those circumstances.