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

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

Description

@alemdg

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions