Open super-maoMao opened 4 years ago
same issue here。 anyone else income this problem?
Anyone have an update on this? I too think
I am experiencing the same issue. Works just fine on Android. But as I started dabbling in Universal Links, its no longer working.
After a bit of testing, I discovered that simply defining an Associated Domain
in the iOS Xcode project will prevent the openHandleURL from working. With or without actual Universal Links defined in the config.xml
file (using the plugin). However, I saw on another thread, someone using Capacitor, had to wrap the openHandleURL function in an event listener to get it to work. Something like:
App.addListener('appUrlOpen', data => {
window.handleOpenURL(data.url);
});
I am assuming something similar can be done here for regular Cordova and Ionic projects. I won't be testing it on the current rev of my project....I will move to ULs in the next rev because I will still need URL Schemes to work.
ionic 3.20.0 ios cordova 4.5.5 cordova-plugin-customurlscheme 4.3.0 xcode 9.2 swfit 3.0
(window as any).handleOpenURL method no longer responds