appsflyer-react-native-plugin icon indicating copy to clipboard operation
appsflyer-react-native-plugin copied to clipboard

Fix Expo support on Android

Open iway1 opened this issue 1 year ago • 5 comments

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.

iway1 avatar Jun 06 '24 03:06 iway1

👋 Hi @iway1 and Thank you for reaching out to us. In order for us to provide optimal support, please submit a ticket to our support team at [email protected]. When submitting the ticket, please specify:

  • ✅ your AppsFlyer sign-up (account) email
  • ✅ app ID
  • ✅ production steps
  • ✅ logs
  • ✅ code snippets
  • ✅ and any additional relevant information.

github-actions[bot] avatar Jun 06 '24 18:06 github-actions[bot]

@pazlavi I already talked to support about this, it was not helpful. This is not a "support" ticket, this is an issue with this library that needs to be fixed with code changes.

Additionally, I already fixed the issue in my own project with the linked pull request, so I don't need support because my project is working perfectly. I am opening this issue so that AppsFlyer team is aware that Expo support on Android is broken.

You should remove the support label from this issue and fix this issue, this is not a good look for AppsFlyer. Consider merging my pull request that fixes the issue.

iway1 avatar Jun 07 '24 13:06 iway1

I am also experiencing this issue.

akinzalowevidation avatar Jun 07 '24 16:06 akinzalowevidation

Same issue. Suggest to reopen and merge the PR from @iway1 , or have anther release branches.

chenyangyuAC avatar Aug 20 '24 22:08 chenyangyuAC

I'm also experiencing this issue.

edwinvrgs avatar Sep 12 '24 22:09 edwinvrgs

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Jul 26 '25 10:07 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Aug 09 '25 10:08 github-actions[bot]