Commit f966fce
feat: add session sync callback (#1292)
* feat(android): add session sync callback (#1281)
* feat(android): add SRSyncCallback
* feat: implement and test syncCallback CP side
* feat(example): use SRSyncCallback in example app
* ci: fix tests
* fix: export session data type
* fix(example): use session data type
* fix(android):remove data modifier
* fix(android): add property modifiers
* fix(android): update test case
* fix: enhance test case
* fix: update session data type
* fix: add more session metadata to setSyncCallback
* fix: update syncCallback test
* feat: add launchType to session metadata for setSyncCallback
* fix: import type
* fix: assert evaluate sync returns correct value
* fix: import type
* fix: cleanup
* chore: update js doc
* fix: typo
* fix: follow interface naming convention
* fix: update type
* fix: refactor syncCallback
* fix: default syncing session to true
* fix: convert network logs to readable array
* chore: add discriptive comment
* chore: use readable map for session metadata
* fix: setSyncCallback should sync in case of exception
* fix: move SessionMetadata to models
* fix: update SessionMetadata type import
* fix: report bug e2e test
---------
Co-authored-by: Ahmed Elrefaey <68241710+a7medev@users.noreply.github.com>
* feat(ios): add session sync callback (#1282)
* feat(android): add SRSyncCallback
* feat: implement and test syncCallback CP side
* feat(example): use SRSyncCallback in example app
* ci: fix tests
* fix: export session data type
* fix(example): use session data type
* fix(android):remove data modifier
* fix(android): add property modifiers
* fix(android): update test case
* fix: enhance test case
* fix(ios): update network log signature
* chore(ios): integrate dynamic sampling snapshot
* fix:update IOS network log unit test
* fix: update session metadata
* feat(ios): add setSyncCallback
* fix: pod.lock file
* fix: update session data type
* fix: add more session metadata to setSyncCallback
* fix: update syncCallback test
* feat: add launchType to session metadata for setSyncCallback
* fix: import type
* fix: enhance test case
* fix: add more session metadata to setSyncCallback
* fix: update syncCallback test
* feat: add launchType to session metadata for setSyncCallback
* fix: import type
* feat(ios): add launchType metadata to session syncCallback
* fix: add unknown type to launch types
* fix: assert evaluate sync returns correct value
* fix: import type
* fix: cleanup
* chore: update js doc
* fix: typo
* fix: follow interface naming convention
* fix: update type
* fix: refactor syncCallback
* fix: default syncing session to true
* fix: convert network logs to readable array
* chore: add discriptive comment
* chore: use readable map for session metadata
* fix: setSyncCallback should sync in case of exception
* fix: move SessionMetadata to models
* fix: update SessionMetadata type import
* fix: report bug e2e test
* chore (ios): update snapshot
* chore (ios): refactor callback
* fix: return network logs
* chore: update podfile.lock
* chore: fix formatting
* chore: revert Podfile.lock
* chore: fix ci
* fix: launchType typo
* fix: update class sessionEvaluationCompletion atomicity
* chore: enhance syncCallback formatting
* chore: update evaluateSync formatting
* fix: fix test SetSyncCallback
* fix: update getNetworkLogsArray return value
---------
Co-authored-by: Ahmed Elrefaey <68241710+a7medev@users.noreply.github.com>
* Revert "fix(ios): update network log signature"
This reverts commit 8d9036e.
* chore(ios): update snapshot
* fix: ios network logging test after reverting
* fix: convert sendEvent arg from writable to readable map
* chore(android): update snapshot
* fix(android): refactor getSessionMetadataMap to tolerate null values
* fix(ios): update fulfill exception wait time in test
* fix(android): convert session metadat map to readable map
* chore: update docs
* fix: remove hot launch type
* fix: increase timeout expectation in test case
* Revert "fix: increase timeout expectation in test case"
This reverts commit be32acd.
* feat(example): add features and buttons implementation (#1280)
Jira ID: RL-224
* fix(android): add unknown launch type
* chore: update documentation
* feat: upgrade to 14.0.0
* feat: upgrade to 14.0.0
* feat: upgrade to 14.0.0
* merge dev
* merge dev
* merge dev
* fix: test case
---------
Co-authored-by: Ahmed Elrefaey <68241710+a7medev@users.noreply.github.com>
Co-authored-by: YoussefFouadd <yfouad@instabug.com>
Co-authored-by: Ahmed alaa <aalaa@instabug.com>1 parent 469caee commit f966fce
File tree
23 files changed
+488
-40
lines changed- android/src
- main/java/com/instabug/reactlibrary
- utils
- test/java/com/instabug/reactlibrary
- examples/default
- e2e
- ios
- InstabugTests
- src
- ios/RNInstabug
- src
- models
- modules
- native
- utils
- test
- mocks
- modules
23 files changed
+488
-40
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
| |||
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
238 | 240 | | |
239 | 241 | | |
240 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
241 | 257 | | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
Lines changed: 115 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | | - | |
8 | 10 | | |
9 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
10 | 15 | | |
| 16 | + | |
11 | 17 | | |
| 18 | + | |
| 19 | + | |
12 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
13 | 24 | | |
14 | 25 | | |
15 | 26 | | |
16 | | - | |
| 27 | + | |
17 | 28 | | |
18 | 29 | | |
19 | 30 | | |
20 | 31 | | |
21 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
22 | 43 | | |
23 | 44 | | |
24 | 45 | | |
| |||
79 | 100 | | |
80 | 101 | | |
81 | 102 | | |
82 | | - | |
| 103 | + | |
83 | 104 | | |
84 | 105 | | |
85 | 106 | | |
| |||
97 | 118 | | |
98 | 119 | | |
99 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
100 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
101 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
102 | 213 | | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
Lines changed: 52 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| 10 | + | |
6 | 11 | | |
7 | | - | |
8 | | - | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
12 | | - | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
16 | | - | |
| 19 | + | |
17 | 20 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 21 | + | |
| 22 | + | |
24 | 23 | | |
| 24 | + | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
47 | | - | |
48 | | - | |
| 51 | + | |
| 52 | + | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
| |||
107 | 111 | | |
108 | 112 | | |
109 | 113 | | |
110 | | - | |
| 114 | + | |
111 | 115 | | |
112 | 116 | | |
113 | 117 | | |
| |||
136 | 140 | | |
137 | 141 | | |
138 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
139 | 178 | | |
140 | 179 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
0 commit comments