|
40 | 40 |
|
41 | 41 | **● ready**: *`false`* = false
|
42 | 42 |
|
43 |
| -*Defined in [analytics.ts:146](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L146)* |
| 43 | +*Defined in [analytics.ts:152](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L152)* |
44 | 44 |
|
45 | 45 | Whether the client is ready to send events to Segment.
|
46 | 46 |
|
|
56 | 56 |
|
57 | 57 | ▸ **alias**(newId: *`string`*, options?: *[Options]()*): `Promise`<`void`>
|
58 | 58 |
|
59 |
| -*Defined in [analytics.ts:324](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L324)* |
| 59 | +*Defined in [analytics.ts:330](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L330)* |
60 | 60 |
|
61 | 61 | Merge two user identities, effectively connecting two sets of user data as one. This may not be supported by all integrations.
|
62 | 62 |
|
|
78 | 78 |
|
79 | 79 | ▸ **catch**(handler: *[ErrorHandler]()*): `this`
|
80 | 80 |
|
81 |
| -*Defined in [analytics.ts:161](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L161)* |
| 81 | +*Defined in [analytics.ts:167](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L167)* |
82 | 82 |
|
83 | 83 | Catch React-Native bridge errors
|
84 | 84 |
|
|
99 | 99 |
|
100 | 100 | ▸ **disable**(): `Promise`<`void`>
|
101 | 101 |
|
102 |
| -*Defined in [analytics.ts:363](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L363)* |
| 102 | +*Defined in [analytics.ts:369](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L369)* |
103 | 103 |
|
104 | 104 | Completely disable the sending of any analytics data.
|
105 | 105 |
|
|
114 | 114 |
|
115 | 115 | ▸ **enable**(): `Promise`<`void`>
|
116 | 116 |
|
117 |
| -*Defined in [analytics.ts:353](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L353)* |
| 117 | +*Defined in [analytics.ts:359](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L359)* |
118 | 118 |
|
119 | 119 | Enable the sending of analytics data. Enabled by default.
|
120 | 120 |
|
|
129 | 129 |
|
130 | 130 | ▸ **flush**(): `Promise`<`void`>
|
131 | 131 |
|
132 |
| -*Defined in [analytics.ts:344](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L344)* |
| 132 | +*Defined in [analytics.ts:350](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L350)* |
133 | 133 |
|
134 | 134 | Trigger an upload of all queued events.
|
135 | 135 |
|
|
144 | 144 |
|
145 | 145 | ▸ **getAnonymousId**(): `Promise`<`string`>
|
146 | 146 |
|
147 |
| -*Defined in [analytics.ts:368](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L368)* |
| 147 | +*Defined in [analytics.ts:374](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L374)* |
148 | 148 |
|
149 | 149 | Retrieve the anonymousId.
|
150 | 150 |
|
|
157 | 157 |
|
158 | 158 | ▸ **group**(groupId: *`string`*, traits?: *[JsonMap]()*, options?: *[Options]()*): `Promise`<`void`>
|
159 | 159 |
|
160 |
| -*Defined in [analytics.ts:311](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L311)* |
| 160 | +*Defined in [analytics.ts:317](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L317)* |
161 | 161 |
|
162 | 162 | Associate a user with a group, organization, company, project, or w/e _you_ call them.
|
163 | 163 |
|
|
180 | 180 |
|
181 | 181 | ▸ **identify**(user: *`string`*, traits?: *[JsonMap]()*, options?: *[Options]()*): `Promise`<`void`>
|
182 | 182 |
|
183 |
| -*Defined in [analytics.ts:298](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L298)* |
| 183 | +*Defined in [analytics.ts:304](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L304)* |
184 | 184 |
|
185 | 185 | Associate a user with their unique ID and record traits about them.
|
186 | 186 |
|
|
203 | 203 |
|
204 | 204 | ▸ **middleware**(middleware: *[Middleware]()*): `this`
|
205 | 205 |
|
206 |
| -*Defined in [analytics.ts:207](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L207)* |
| 206 | +*Defined in [analytics.ts:213](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L213)* |
207 | 207 |
|
208 | 208 | Append a new middleware to the middleware chain.
|
209 | 209 |
|
|
241 | 241 |
|
242 | 242 | ▸ **reset**(): `Promise`<`void`>
|
243 | 243 |
|
244 |
| -*Defined in [analytics.ts:334](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L334)* |
| 244 | +*Defined in [analytics.ts:340](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L340)* |
245 | 245 |
|
246 | 246 | Reset any user state that is cached on the device.
|
247 | 247 |
|
|
256 | 256 |
|
257 | 257 | ▸ **screen**(name: *`string`*, properties?: *[JsonMap]()*, options?: *[Options]()*): `Promise`<`void`>
|
258 | 258 |
|
259 |
| -*Defined in [analytics.ts:283](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L283)* |
| 259 | +*Defined in [analytics.ts:289](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L289)* |
260 | 260 |
|
261 | 261 | Record the screens or views your users see.
|
262 | 262 |
|
|
279 | 279 |
|
280 | 280 | ▸ **setIDFA**(idfa: *`string`*): `void`
|
281 | 281 |
|
282 |
| -*Defined in [analytics.ts:171](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L171)* |
| 282 | +*Defined in [analytics.ts:177](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L177)* |
283 | 283 |
|
284 | 284 | Sets the IDFA value on iOS. Customers are now responsible for collecting IDFA on their own.
|
285 | 285 |
|
|
298 | 298 |
|
299 | 299 | ▸ **setup**(writeKey: *`string`*, configuration?: *[Configuration](../interfaces/analytics.configuration.md)*): `Promise`<`void`>
|
300 | 300 |
|
301 |
| -*Defined in [analytics.ts:246](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L246)* |
| 301 | +*Defined in [analytics.ts:252](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L252)* |
302 | 302 |
|
303 | 303 | Setup the Analytics module. All calls made before are queued and only executed if the configuration was successful.
|
304 | 304 |
|
|
328 | 328 |
|
329 | 329 | ▸ **track**(event: *`string`*, properties?: *[JsonMap]()*, options?: *[Options]()*): `Promise`<`void`>
|
330 | 330 |
|
331 |
| -*Defined in [analytics.ts:265](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L265)* |
| 331 | +*Defined in [analytics.ts:271](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L271)* |
332 | 332 |
|
333 | 333 | Record the actions your users perform.
|
334 | 334 |
|
|
351 | 351 |
|
352 | 352 | ▸ **useNativeConfiguration**(): `this`
|
353 | 353 |
|
354 |
| -*Defined in [analytics.ts:219](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L219)* |
| 354 | +*Defined in [analytics.ts:225](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/analytics.ts#L225)* |
355 | 355 |
|
356 | 356 | Use the native configuration.
|
357 | 357 |
|
|
0 commit comments