@affiliateo/react-native 1.0.1 → 1.0.2
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.
- package/package.json +1 -1
- package/src/provider.tsx +1 -1
package/package.json
CHANGED
package/src/provider.tsx
CHANGED
|
@@ -153,7 +153,7 @@ export function AffiliateoProvider({
|
|
|
153
153
|
client.sendEvents(campaignId, deviceId, [
|
|
154
154
|
{ type: 'session_start', timestamp: new Date().toISOString() },
|
|
155
155
|
]).catch(() => {})
|
|
156
|
-
} else if (nextState === 'background'
|
|
156
|
+
} else if (nextState === 'background') {
|
|
157
157
|
client.sendEvents(campaignId, deviceId, [
|
|
158
158
|
{ type: 'session_end', timestamp: new Date().toISOString() },
|
|
159
159
|
]).catch(() => {})
|