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

Subscribe not called when link clicked on facebook application. #251

Open
alemdg opened this issue Jun 16, 2021 · 0 comments
Open

Subscribe not called when link clicked on facebook application. #251

alemdg opened this issue Jun 16, 2021 · 0 comments

Comments

@alemdg
Copy link

alemdg commented Jun 16, 2021

Ionic V3.
"@ionic-native/deeplinks": "^4.20.0".

Looking into the source code:
File= IonicDeeplink.java
Line = 77
source = Log.d(TAG, "Got a new intent: " + intentString + " " + intent.getScheme() + " " + action + " " + url);

The action is com.facebook.application.xxxxxx ( xxxxx = applicationId )

The next function called is a validation:
if ( !Intent.ACTION_VIEW.equals(action) || url == null) { return; }

When a link is clicked from Facebook mobile application the action is not Intent.ACTION_VIEW so the event is not passed to ionic.

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

1 participant