Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

IOS Deeplinks Opens App but not enters to match or nomatch #237

Open
sbalija-work opened this issue Oct 26, 2020 · 1 comment
Open

IOS Deeplinks Opens App but not enters to match or nomatch #237

sbalija-work opened this issue Oct 26, 2020 · 1 comment

Comments

@sbalija-work
Copy link

sbalija-work commented Oct 26, 2020

Configured the deeplinks, I can see app is opened but cant able to see logs in the match or nomatch.
Url: myOrg://myOrg.local/links

"URL_SCHEME": "myOrg",
"DEEPLINK_HOST": "myOrg.local",
"DEEPLINK_SCHEME": "myOrg",

This is working fine on Android device.

Here is the configuration that I used.

Ionic:

Ionic CLI : 7.3.9
Ionic Framework : @ionic/angular 4.11.5
@angular-devkit/build-angular : 0.13.9
@angular-devkit/schematics :7.3.9
@angular/cli : 7.3.9
@ionic/angular-toolkit : 1.5.1

Cordova:
cordova-ios: 5.1.1
cordova-plugin-ionic-keyboard 2.2.0,
cordova-plugin-ionic-webview 4.1.3,

@lindon88
Copy link
Contributor

lindon88 commented Nov 3, 2020

Hi @sbalija-work

I have the same issue on iOS. I realised that openUrl is not called from plugins/ionic-plugin-deeplinks/src/ios/AppDelegate+IonicDeeplink.m

I also user cordova-plugin-firebasex where also there is defined an openUrl method in file: plugins/cordova-plugin-firebasex/src/ios/AppDelegate+FirebasePlugin.m

When I commented this block of code from plugins/cordova-plugin-firebasex/src/ios/AppDelegate+FirebasePlugin.m, the match/notmatch was triggered
- (BOOL)application:(nonnull UIApplication *)application openURL:(nonnull NSURL *)url options:(nonnull NSDictionary<NSString *, id> *)options { return [[GIDSignIn sharedInstance] handleURL:url]; }

I am not sure if there is a more elegant solution to this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants