Skip to content

Fix Expo support on Android #558

Open
@iway1

Description

@iway1

Report

Plugin Version

6.14.3

On what Platform are you having the issue?

Android

Description

Hello,

Expo support in this library is currently broken / incomplete on Android. Specifically, after following the installations steps, onDeepLink handler will not be fired in case the app is backgrounded / running when the deep link is pressed.

This is because for this to work the MainActivity code has to override onNewIntent as specified here: https://dev.appsflyer.com/hc/docs/rn_deeplinkintegrate

However, this is not viable in Expo managed workflow because it involves manually editing native code. A config plugins should be added to modify this code during generation.

So, the expo setup guide is incomplete as it will not work on Android, and a config plugin is missing. Without this config plugin, this library does not support Expo since this critical functionality is missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions