Hi Miguel, how are you?
I have a problem that this plugin, using the latest version targeting MABS 8, is incompatible with, for instance, InAppBrowser.
It seems that the problem is related with 2 things:
Did you noticed this before?
Thanks,
Pedro Domingues
Hi Pedro,
I tried to build the application in my mac using the cordova apache and I was able to reproduce the error.
After checking the log for the error I saw this message:
/QRScanner.swift:471:49: error: 'UIApplicationOpenSettingsURLString' has been renamed to 'UIApplication.openSettingsURLString'
guard let settingsUrl = URL(string: UIApplicationOpenSettingsURLString) else {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UIApplication.openSettingsURLStringAfter correcting the error the app was successfully build.
Try do to the same in your resource file and generate the app again.
King Regards
Sergio
Hi Sérgio,
Your solution, along with removing the following line of code from plugin.xml solved the issue.
<dependency id="cordova-plugin-add-swift-support" spec="~1.7.2" />
Thanks a lot for your help.
Hello
We are currently facing the same issue. Can you please tell us where is the plugin.xml file to remove that dependency?
Thanks!
Hello Rita,
The plugin.xml file is available on the GitHub repository.
You need to download the zip file and open the source folder inside that zip file.
After changing the plugin.xml file you need to zip it again and start using that zip file as the source of your plugin instead of the GitHub URL.