We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb34044 commit 92194f3Copy full SHA for 92194f3
packages/core/android/src/main/java/com/segment/analytics/reactnative/core/RNAnalyticsModule.kt
@@ -207,6 +207,12 @@ class RNAnalyticsModule(context: ReactApplicationContext): ReactContextBaseJavaM
207
return promise.reject("E_SEGMENT_ERROR", e)
208
}
209
210
+ // This is invoking the logic used to track lifecycle events when a RN app goes through a cold-boot
211
+ // This logic should not be deleted
212
+ if (options.getBoolean("trackAppLifecycleEvents")) {
213
+ this.trackApplicationLifecycleEvents(writeKey)
214
+ }
215
+
216
RNAnalytics.setupCallbacks(analytics)
217
218
singletonJsonConfig = json
0 commit comments