EddyVerbruggen / Custom-URL-scheme

:link: Launch your Cordova/PhoneGap app by a Custom URL scheme like mycoolapp://
1.03k stars 365 forks source link

cordova platform ios 5.0.0 function handleOpenURL(url) doesn't work #300

Closed gasci closed 3 years ago

gasci commented 5 years ago

After the latest update, function handleOpenURL(url) doesnt't work on ios.

Xcode error: 2019-06-28 19:09:39.537173+0300 Curiosmo[23025:1580321] FB handle url: curiosmo://question/396 2019-06-28 19:09:39.727818+0300 Curiosmo[23025:1580518] <FIRAnalytics/WARNING> Implementation of application:openURL:sourceApplication:annotation: not found. Please add the handler into your App Delegate. Class: AppDelegate

tehdb commented 4 years ago

had a similar issue, just updated to cordova-ios@5.0.1 and the problem seems to be gone

thomas-alrek commented 4 years ago

@gasci @tehdb I am still having this issue on cordova-ios@5.0.1 and the latest version of this plugin. My custom URL scheme causes the app to open, but the handleOpenURL function is never called.

Where you able to solve this?

TimBosbec commented 4 years ago

Also I have the same problem with cordova-ios@5.0.1 . It works good when the app is running in the background but on coldstart the handleOpenUrl is not called. Works flawless on Android though

ludufre commented 4 years ago

+1

gasci commented 4 years ago

Unfortunately, I still have no solutions other than using cordova-ios@4.5.5

ludufre commented 4 years ago

In Ionic 4 I managed to make it work with ionic-plugin-deeplinks and a workaround.

If you use Ionic I can explain what I did

TimBosbec commented 4 years ago

In Ionic 4 I managed to make it work with ionic-plugin-deeplinks and a workaround.

If you use Ionic I can explain what I did

I actually solved it this way too. As ionics deeplinks plugin has support for deeplinking and custom schemes.

gasci commented 4 years ago

Have you found a solution? Unfortunately, I develop pure cordova apps without ionic.

abhishekdana1999 commented 1 year ago

Have you found a solution? Unfortunately, I develop pure cordova apps without ionic.

Same issue here