Appsflyer Request: Delayed start
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- react-native, typescript
- 領域
- mobile-dev
調査の方向性
Start by locating the AppsflyerPlugin implementation and tracing how initSdk and startSdk are invoked when the plugin is added. Check the plugin lifecycle and existing tests, if present, then define and verify behavior where initialization remains available but starting waits until consent is supplied.
索引モデルが issue の本文から書いたものです。
説明
Hi we are ensuring our app & data pipeline adheres to GDPR. That means that we have implemented a CMP to collect consent, then we add the consent object to each segment event, no problem!
We've ran into an issue with Appsflyer, because it doesn't send it's data via Segment in the cloud, it sends data directly from the device with it's own SDK, and then tells Segment it happened, which fires an event.
We'd like appsFlyer.startSdk(); to be called after we have shown the CMP and obtained the users consent, so we can set the consent (with appsFlyer.setConsentData()). The init: appsFlyer.initSdk can still be called when we add the plugin.
We are doing this:
const segmentClient = createClient({...etc})
segmentClient.add({ plugin: new AppsflyerPlugin() });
Now, as it stands, the AppsflyerPlugin inits and starts Appsflyer. What is the best way for me to keep the init, but delay the start of Appsflyer? I can't add a consent param to the constructor, because I don't know the consent yet.
Do I just edit the code for the plugin to add this consent param, and if it's not given, only init, then remove + re-add the plugin later when consent is given? This is the main thing I can think of atm.
Hope this makes sense. Thanks.
- 主要言語
- TypeScript
- スター
- 383
- フォーク
- 206
- 平均マージ
- 14時間 45分
- マージ済み PR(30日)
- 11
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
segmentio/analytics-react-native のほかの issue
-
bug investigate
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
segmentio/analytics-react-native#1145 ·
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
segmentio/analytics-react-native#1328 ·
-
bug investigate
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
segmentio/analytics-react-native#1309 ·
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
segmentio/analytics-react-native#1114 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
segmentio/analytics-react-native#1109 ·
segmentio/analytics-react-native の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
mksglu/context-mode#1200 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
anthropics/claude-code#96687 ·
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
AOSSIE-Org/DebateAI#582 · コメント 2 件 ·