nordnet / cordova-universal-links-plugin

[DEPRECATED] - Cordova plugin to support Universal/Deep Links for iOS/Android.
https://github.com/nordnet/cordova-universal-links-plugin/issues/160
MIT License
349 stars 529 forks source link

Help, I kept getting UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'manifest' of undefined after defining host for universal links #134

Closed blue2609 closed 5 years ago

blue2609 commented 6 years ago

I have no idea what happened, one second the universal links plugin was working just fine and then suddenly now whenever I tried to define a host in the config.xml file I always got this error:

(node:xxxxx) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'manifest' of undefined

as a result of me doing "cordova run android"

However, once I get rid of the

<host name="....."> </host>

section, doing "cordova run android" will build the project with no issue whatsoever. Please help! I don't know what's wrong with this project and the error message is not exactly helping me either.

dorman99 commented 6 years ago

do i need to inject? or do something to get the plugin files ? i still cant find it

hiepxanh commented 6 years ago

image it just place in (your project root) \plugins\cordova-universal-links-plugin\hooks\lib\android\manifestWriter.js

if still can't find it, show me your project folder? remember, search in plugins folder, not node_modules, or hooks or anything else

stefusilviu commented 6 years ago

@joughbagh Thank you! It worked for me also.

nordnet-deprecation-bot commented 5 years ago

👋 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.