Closed mark-veenstra closed 5 years ago
This crashes with
TypeError: xml2js.Builder is not a function at Object.writeJsonAsXml
.hooks/lib/xmlHelper.js:36:22 at Object.writePreferences
android/updateAndroidManifest.js:23:15
...Note: https://github.com/nordnet/cordova-universal-links-plugin/pull/114 works fine
👋 Hi! Thank you for your interest in this repo.
😢 We are not using nordnet/cordova-universal-links-plugin anymore, and we lack the manpower and the experience needed to maintain it. We are aware of the inconveniece that this may cause you. Feel free to use it as is, or create your own fork.
🔒 This will now be closed & locked.
ℹ️ Please see #160 for more information.
Refactored the plugin hooks to be compatible with pre cordova 7 and post cordova 7. Also made sure the new entitlements style of XCode is respected, so building from command line works.
This PR solves:
117 - Since it creates an unique intent
115
110
106
I did some tests on Android and iOS and all seems to work. I did not test any path specific links, but they should work also.
My
config.xml
looks like this:On the domain
https://myapp.mydomain.org
I have a fileapple-app-site-association
, filled as follows:Also I have a
build.json
that covers my builds, like:Now when I build from the command line all works like a charm.