analytics-react-native icon indicating copy to clipboard operation
analytics-react-native copied to clipboard

Cannot configure `timeToWaitForATTUserAuthorization` for `AppsflyerPlugin`

Open ebeigarts opened this issue 1 year ago • 1 comments

Currently there is no way to configure timeToWaitForATTUserAuthorization for AppsflyerPlugin. It is hardcoded as 60. In our app the tracking prompt is not triggered on the first screen, so we want to increase the timeout.

https://github.com/segmentio/analytics-react-native/blob/master/packages/plugins/plugin-appsflyer/src/AppsflyerPlugin.tsx#L28

Expected behavior

new AppsflyerPlugin({ timeToWaitForATTUserAuthorization: 120 })

ebeigarts avatar Mar 12 '24 08:03 ebeigarts

I'll add an option for this in the configuration.

oscb avatar Mar 18 '24 22:03 oscb

addressed in #945

alanjcharles avatar May 28 '24 15:05 alanjcharles