Appsflyer Request: Delayed start
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- react-native, typescript
- Área
- mobile-dev
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 384
- Forks
- 205
- Merge medio
- 12 h 17 min
- PR fusionados (30 d)
- 3
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de segmentio/analytics-react-native
-
chunk() never resets its size counter: past 500 KB every queued event is uploaded as its own requestAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
segmentio/analytics-react-native#1334 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
bug investigate
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
segmentio/analytics-react-native#1145 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 68/100
segmentio/analytics-react-native#1328 ·
Los mantenedores suelen responder en 1 día
-
bug investigate
Dificultad 3/5 1-2 días Aptitud para principiantes 78/100
segmentio/analytics-react-native#1309 ·
Los mantenedores suelen responder en 1 día
-
Dont merge user traitsAbiertoenhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
segmentio/analytics-react-native#1114 ·
Los mantenedores suelen responder en 1 día
Todos los issues de segmentio/analytics-react-native
Issues similares
-
area/core status/need-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
google-gemini/gemini-cli#29602 ·
Los mantenedores suelen responder en 1 día
-
area: backend enhancement priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
snapotter-hq/SnapOtter#1879 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Tencent/BrowserSkill#390 ·
Los mantenedores suelen responder en 1 día
-
good first issue status: needs triaging type: bug version: 2.0
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
medusajs/medusa#17094 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día