@logrocket/react-native 1.59.6 → 1.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -289,7 +289,7 @@ RCT_EXPORT_METHOD(shutdown:(RCTPromiseResolveBlock)resolve
289
289
  rejecter:(RCTPromiseRejectBlock)reject)
290
290
  {
291
291
  @try {
292
- [LROSDK endSession];
292
+ [LROSDK shutdown];
293
293
  resolve(@(true));
294
294
  }
295
295
 
@@ -299,6 +299,20 @@ RCT_EXPORT_METHOD(shutdown:(RCTPromiseResolveBlock)resolve
299
299
  }
300
300
  }
301
301
 
302
+ RCT_EXPORT_METHOD(endSession:(RCTPromiseResolveBlock)resolve
303
+ rejecter:(RCTPromiseRejectBlock)reject)
304
+ {
305
+ @try {
306
+ [LROSDK endSession];
307
+ resolve(@(true));
308
+ }
309
+
310
+ @catch (NSException *e) {
311
+ NSLog(@"Failed to end LogRocket SDK session");
312
+ resolve(@(false));
313
+ }
314
+ }
315
+
302
316
  RCT_EXPORT_METHOD(track:(NSString *)customEventName eventProperties:(NSDictionary *)eventProperties)
303
317
  {
304
318
  @try {
@@ -10,5 +10,13 @@
10
10
  <integer>0</integer>
11
11
  </dict>
12
12
  </dict>
13
+ <key>SuppressBuildableAutocreation</key>
14
+ <dict>
15
+ <key>58B511DA1A9E6C8500147676</key>
16
+ <dict>
17
+ <key>primary</key>
18
+ <true/>
19
+ </dict>
20
+ </dict>
13
21
  </dict>
14
22
  </plist>
@@ -0,0 +1,266 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Bucket
3
+ uuid = "29E47F9D-3072-45C9-8F85-E265D047C20A"
4
+ type = "0"
5
+ version = "2.0">
6
+ <Breakpoints>
7
+ <BreakpointProxy
8
+ BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
9
+ <BreakpointContent
10
+ uuid = "072B9F86-E0AF-4F44-8F54-F71458A67C5C"
11
+ shouldBeEnabled = "Yes"
12
+ ignoreCount = "0"
13
+ continueAfterRunningActions = "No"
14
+ filePath = "LogRocketNativeModule.m"
15
+ startingColumnNumber = "9223372036854775807"
16
+ endingColumnNumber = "9223372036854775807"
17
+ startingLineNumber = "420"
18
+ endingLineNumber = "420">
19
+ </BreakpointContent>
20
+ </BreakpointProxy>
21
+ <BreakpointProxy
22
+ BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
23
+ <BreakpointContent
24
+ uuid = "02051479-BEA6-4BF8-9C19-82FFCB1E6170"
25
+ shouldBeEnabled = "Yes"
26
+ ignoreCount = "0"
27
+ continueAfterRunningActions = "No"
28
+ filePath = "LogRocketNativeModule.m"
29
+ startingColumnNumber = "9223372036854775807"
30
+ endingColumnNumber = "9223372036854775807"
31
+ startingLineNumber = "409"
32
+ endingLineNumber = "409">
33
+ </BreakpointContent>
34
+ </BreakpointProxy>
35
+ <BreakpointProxy
36
+ BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
37
+ <BreakpointContent
38
+ uuid = "52534BA0-25B1-414E-8301-F31C65E2AD4B"
39
+ shouldBeEnabled = "Yes"
40
+ ignoreCount = "0"
41
+ continueAfterRunningActions = "No"
42
+ filePath = "LogRocketNativeModule.m"
43
+ startingColumnNumber = "9223372036854775807"
44
+ endingColumnNumber = "9223372036854775807"
45
+ startingLineNumber = "418"
46
+ endingLineNumber = "418">
47
+ </BreakpointContent>
48
+ </BreakpointProxy>
49
+ <BreakpointProxy
50
+ BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
51
+ <BreakpointContent
52
+ uuid = "420D2A31-F3F3-43B9-9EE2-AD570A0D6143"
53
+ shouldBeEnabled = "Yes"
54
+ ignoreCount = "0"
55
+ continueAfterRunningActions = "No"
56
+ filePath = "LogRocketNativeModule.m"
57
+ startingColumnNumber = "9223372036854775807"
58
+ endingColumnNumber = "9223372036854775807"
59
+ startingLineNumber = "421"
60
+ endingLineNumber = "421">
61
+ </BreakpointContent>
62
+ </BreakpointProxy>
63
+ <BreakpointProxy
64
+ BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
65
+ <BreakpointContent
66
+ uuid = "31EA81A1-26AB-4700-A224-9A08D71F03C8"
67
+ shouldBeEnabled = "Yes"
68
+ ignoreCount = "0"
69
+ continueAfterRunningActions = "No"
70
+ filePath = "LogRocketNativeModule.m"
71
+ startingColumnNumber = "9223372036854775807"
72
+ endingColumnNumber = "9223372036854775807"
73
+ startingLineNumber = "419"
74
+ endingLineNumber = "419">
75
+ </BreakpointContent>
76
+ </BreakpointProxy>
77
+ <BreakpointProxy
78
+ BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
79
+ <BreakpointContent
80
+ uuid = "1ED2A79E-1C62-4AA0-A0CF-D02EE117CEB4"
81
+ shouldBeEnabled = "Yes"
82
+ ignoreCount = "0"
83
+ continueAfterRunningActions = "No"
84
+ filePath = "LogRocketNativeModule.m"
85
+ startingColumnNumber = "9223372036854775807"
86
+ endingColumnNumber = "9223372036854775807"
87
+ startingLineNumber = "429"
88
+ endingLineNumber = "429">
89
+ </BreakpointContent>
90
+ </BreakpointProxy>
91
+ <BreakpointProxy
92
+ BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
93
+ <BreakpointContent
94
+ uuid = "DB6EC2D1-3CCF-42F4-B04B-9EEA39B06D61"
95
+ shouldBeEnabled = "Yes"
96
+ ignoreCount = "0"
97
+ continueAfterRunningActions = "No"
98
+ filePath = "LogRocketNativeModule.m"
99
+ startingColumnNumber = "9223372036854775807"
100
+ endingColumnNumber = "9223372036854775807"
101
+ startingLineNumber = "430"
102
+ endingLineNumber = "430">
103
+ </BreakpointContent>
104
+ </BreakpointProxy>
105
+ <BreakpointProxy
106
+ BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
107
+ <BreakpointContent
108
+ uuid = "44B16A72-897B-411C-9482-26332D1C1969"
109
+ shouldBeEnabled = "Yes"
110
+ ignoreCount = "0"
111
+ continueAfterRunningActions = "No"
112
+ filePath = "LogRocketNativeModule.m"
113
+ startingColumnNumber = "9223372036854775807"
114
+ endingColumnNumber = "9223372036854775807"
115
+ startingLineNumber = "179"
116
+ endingLineNumber = "179"
117
+ landmarkName = "+createConfig:config:"
118
+ landmarkType = "7">
119
+ </BreakpointContent>
120
+ </BreakpointProxy>
121
+ <BreakpointProxy
122
+ BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
123
+ <BreakpointContent
124
+ uuid = "98FB6A37-EC07-4958-A6E8-C8925A6CF124"
125
+ shouldBeEnabled = "Yes"
126
+ ignoreCount = "0"
127
+ continueAfterRunningActions = "No"
128
+ filePath = "LogRocketNativeModule.m"
129
+ startingColumnNumber = "9223372036854775807"
130
+ endingColumnNumber = "9223372036854775807"
131
+ startingLineNumber = "180"
132
+ endingLineNumber = "180"
133
+ landmarkName = "+createConfig:config:"
134
+ landmarkType = "7">
135
+ </BreakpointContent>
136
+ </BreakpointProxy>
137
+ <BreakpointProxy
138
+ BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
139
+ <BreakpointContent
140
+ uuid = "8D65DD3E-17A6-460E-9DC2-173E7C93C27C"
141
+ shouldBeEnabled = "Yes"
142
+ ignoreCount = "0"
143
+ continueAfterRunningActions = "No"
144
+ filePath = "LogRocketNativeModule.m"
145
+ startingColumnNumber = "9223372036854775807"
146
+ endingColumnNumber = "9223372036854775807"
147
+ startingLineNumber = "181"
148
+ endingLineNumber = "181"
149
+ landmarkName = "+createConfig:config:"
150
+ landmarkType = "7">
151
+ </BreakpointContent>
152
+ </BreakpointProxy>
153
+ <BreakpointProxy
154
+ BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
155
+ <BreakpointContent
156
+ uuid = "DD8C608E-7150-4309-B3DA-DEFB08C24EC3"
157
+ shouldBeEnabled = "Yes"
158
+ ignoreCount = "0"
159
+ continueAfterRunningActions = "No"
160
+ filePath = "LogRocketNativeModule.m"
161
+ startingColumnNumber = "9223372036854775807"
162
+ endingColumnNumber = "9223372036854775807"
163
+ startingLineNumber = "182"
164
+ endingLineNumber = "182"
165
+ landmarkName = "+createConfig:config:"
166
+ landmarkType = "7">
167
+ </BreakpointContent>
168
+ </BreakpointProxy>
169
+ <BreakpointProxy
170
+ BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
171
+ <BreakpointContent
172
+ uuid = "056279BD-BE49-4FA0-BBE0-E8FB1FCB3296"
173
+ shouldBeEnabled = "Yes"
174
+ ignoreCount = "0"
175
+ continueAfterRunningActions = "No"
176
+ filePath = "LogRocketNativeModule.m"
177
+ startingColumnNumber = "9223372036854775807"
178
+ endingColumnNumber = "9223372036854775807"
179
+ startingLineNumber = "134"
180
+ endingLineNumber = "134"
181
+ landmarkName = "+createConfig:config:"
182
+ landmarkType = "7">
183
+ </BreakpointContent>
184
+ </BreakpointProxy>
185
+ <BreakpointProxy
186
+ BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
187
+ <BreakpointContent
188
+ uuid = "0DA14876-2D13-4E06-AB06-614751A68A7A"
189
+ shouldBeEnabled = "Yes"
190
+ ignoreCount = "0"
191
+ continueAfterRunningActions = "No"
192
+ filePath = "LogRocketNativeModule.m"
193
+ startingColumnNumber = "9223372036854775807"
194
+ endingColumnNumber = "9223372036854775807"
195
+ startingLineNumber = "135"
196
+ endingLineNumber = "135"
197
+ landmarkName = "+createConfig:config:"
198
+ landmarkType = "7">
199
+ </BreakpointContent>
200
+ </BreakpointProxy>
201
+ <BreakpointProxy
202
+ BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
203
+ <BreakpointContent
204
+ uuid = "FEA46EA1-AE9C-419B-AD7A-F727D2EE1223"
205
+ shouldBeEnabled = "Yes"
206
+ ignoreCount = "0"
207
+ continueAfterRunningActions = "No"
208
+ filePath = "LogRocketNativeModule.m"
209
+ startingColumnNumber = "9223372036854775807"
210
+ endingColumnNumber = "9223372036854775807"
211
+ startingLineNumber = "136"
212
+ endingLineNumber = "136"
213
+ landmarkName = "+createConfig:config:"
214
+ landmarkType = "7">
215
+ </BreakpointContent>
216
+ </BreakpointProxy>
217
+ <BreakpointProxy
218
+ BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
219
+ <BreakpointContent
220
+ uuid = "3E157174-60EC-45F7-BABF-DAA8AA582C1E"
221
+ shouldBeEnabled = "Yes"
222
+ ignoreCount = "0"
223
+ continueAfterRunningActions = "No"
224
+ filePath = "LogRocketNativeModule.m"
225
+ startingColumnNumber = "9223372036854775807"
226
+ endingColumnNumber = "9223372036854775807"
227
+ startingLineNumber = "137"
228
+ endingLineNumber = "137"
229
+ landmarkName = "+createConfig:config:"
230
+ landmarkType = "7">
231
+ </BreakpointContent>
232
+ </BreakpointProxy>
233
+ <BreakpointProxy
234
+ BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
235
+ <BreakpointContent
236
+ uuid = "00A8E2A8-3BE6-411D-9C92-BAD3A653186D"
237
+ shouldBeEnabled = "Yes"
238
+ ignoreCount = "0"
239
+ continueAfterRunningActions = "No"
240
+ filePath = "LogRocketNativeModule.m"
241
+ startingColumnNumber = "9223372036854775807"
242
+ endingColumnNumber = "9223372036854775807"
243
+ startingLineNumber = "138"
244
+ endingLineNumber = "138"
245
+ landmarkName = "+createConfig:config:"
246
+ landmarkType = "7">
247
+ </BreakpointContent>
248
+ </BreakpointProxy>
249
+ <BreakpointProxy
250
+ BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
251
+ <BreakpointContent
252
+ uuid = "0846E761-3884-40DA-B470-E497C8E9CAE1"
253
+ shouldBeEnabled = "Yes"
254
+ ignoreCount = "0"
255
+ continueAfterRunningActions = "No"
256
+ filePath = "LogRocketNativeModule.m"
257
+ startingColumnNumber = "9223372036854775807"
258
+ endingColumnNumber = "9223372036854775807"
259
+ startingLineNumber = "139"
260
+ endingLineNumber = "139"
261
+ landmarkName = "+createConfig:config:"
262
+ landmarkType = "7">
263
+ </BreakpointContent>
264
+ </BreakpointProxy>
265
+ </Breakpoints>
266
+ </Bucket>
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
16
16
  s.source_files = "ios/**/*.{h,c,m,swift}"
17
17
  s.requires_arc = true
18
18
 
19
- s.dependency "LogRocket", "1.59.6"
19
+ s.dependency "LogRocket", "1.60.0"
20
20
  s.dependency "React"
21
21
 
22
22
  if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@logrocket/react-native",
3
3
  "title": "Logrocket Native Module",
4
- "version": "1.59.6",
4
+ "version": "1.60.0",
5
5
  "description": "LogRocket SDK for react-native",
6
6
  "typings": "types.d.ts",
7
7
  "files": [