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

Not working in ios or android #69

Closed krisbrkrunch closed 5 years ago

krisbrkrunch commented 8 years ago

Have followed all the directions verified our apple-app-site-association defnitely have the correct applinks:url enabled in the xcode project but doesnt work no matter what I do. I have tried creating a native ios app with the same bundle id and entitlements and the universal links work perfectly fine. so its not a server issue not an apple issue certificate or provisioning profile, Its only in our cordova project that the links do not open the app. links are being clicked from imessage.

Weve tried on android as well and the links do not open there either. Seems like something is not right somewhere.

nikDemyankov commented 8 years ago

Have you tried to compare configurations in cordova project and native project? Also, are you testing plugin on your current app or on some empty project?

We can start investigation from Android since it's easier to set it up. Just create a new Cordova Android project, add this plugin to it. Then do the configuration in the config.xml similar to the one you already have. And then check if it's opened by running:

adb shell am start
        -W -a android.intent.action.VIEW
        -d <URI> <PACKAGE>

Everything is described here.

krisbrkrunch commented 8 years ago

Couldnt get android running on my mac but I did make some progress creating a test cordova ios app with the same settings as before in my native ios test the cordova test app launched and worked. I reopened my main cordova project that has the problem and verified all the settings are the same! I cannot figure out why its not working in our app, something must be overriding the universal links somewhere It just doesnt make any sense. I don't know what else to troubleshoot, any more ideas?

nikDemyankov commented 8 years ago

Can you give the list of plugins in your main ios project?

krisbrkrunch commented 8 years ago

android.json cordova-plugin-app-event cordova-plugin-camera cordova-plugin-compat cordova-plugin-device cordova-plugin-facebook4 cordova-plugin-splashscreen cordova-plugin-whitelist cordova-plugin-x-socialsharing cordova-universal-links-plugin de.appplant.cordova.plugin.local-notification fetch.json ios.json

nikDemyankov commented 8 years ago

Can't find anything, that blocks UL plugin... Have you tried to add them one by one to the working Cordova iOS project to understand, which one is breaking the UL support?

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.