Skip to content

Commit 6fac1c4

Browse files
authored
Merge pull request #1 from grovs-io/development/v2.1
updated events handling and prepared 2.1
2 parents e8eade3 + 9c33747 commit 6fac1c4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Grovs.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'Grovs'
3-
s.version = '2.0'
3+
s.version = '2.1'
44
s.summary = 'Grovs is a powerful SDK that enables deep linking and universal linking within your iOS applications.'
55
s.homepage = 'https://grovs.io'
66
s.license = { :type => 'MIT', :file => 'LICENSE' }

Sources/Grovs/model/handlers/EventsHandler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ class EventsHandler {
304304

305305
/// Send events to backend if needed
306306
private func handleEventsIfNeeded(completion: GrovsEmptyClosure?) {
307-
if handledAppOrSceneDelegates && hasFetchedPayloadLink && isLeewayPassed() {
307+
if (handledAppOrSceneDelegates || isLeewayPassed()) && hasFetchedPayloadLink {
308308
sendNormalEventsToBackend(completion: completion)
309309
} else {
310310
completion?()

0 commit comments

Comments
 (0)