Commit 1f8250e
LIBMOBILE-1277- fix androidx lifecycle causes analytics init in background crash (#158)
* LIBMOBILE-1277
- fix androidx lifecycle causes analytics init in background crash
* replace handler with main dispatcher
---------
Co-authored-by: Wenxi Zeng <wenxi.zeng@segment.com>1 parent 12d3560 commit 1f8250e
File tree
1 file changed
+17
-2
lines changed- android/src/main/java/com/segment/analytics/kotlin/android/plugins
1 file changed
+17
-2
lines changedLines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
72 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
73 | 81 | | |
74 | 82 | | |
75 | 83 | | |
| |||
260 | 268 | | |
261 | 269 | | |
262 | 270 | | |
263 | | - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
264 | 279 | | |
265 | 280 | | |
266 | 281 | | |
| |||
0 commit comments