-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log app open from notifications (#389)
* save for branch switch * skip swizzling for tests * use different type for each kind of opening notification * save for eod * eod-ish save * run only notification center checks on device and not tests * make the callback nullable * modularize notification delivery detetection logic and also refactor * implement background processing and cleanup * clean up * version restrict background processing * clean up * clean up * clean up * move swizzle out of init * add swift name * change init of background jobs * move swizzling back into init * do not add notifications if we do not have permissions * change name to native setup * log all app opens for now * add info to metadata * change to metadata fields * change name to conversionSource * change casing * only log either notification open or normal app open * do nothing for the method notification * formatting * remove dead comment * remember notification permission into radar state * change logging level * move the call so that it does not perform in test env * temp adding webhook pings to bg tasks so we have a better idea on when they fire * changes and fixes, server side working * add more logging * fix potential race condition * remove clearing of pending notifications when the app foregrounds * first pass removing deliverbility stuff * format * white space * change conversion type for testing * add more logging * add thread dispatch * remove logging and temp conversion name * typo * change name to completionhandler * review changes * refactor interface * added feature gating * clean up * clean up * save for eod * temp change event name for testing * update git ignore * change back conversion name * add comments as documentation * change name and usage of useOpenedAppConversion * address review * version bump * minor version bump * default to true for useOpenedAppConversion
- Loading branch information
1 parent
947b790
commit d2c2928
Showing
24 changed files
with
402 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'RadarSDK' | ||
s.version = '3.17.0' | ||
s.version = '3.18.0' | ||
s.summary = 'iOS SDK for Radar, the leading geofencing and location tracking platform' | ||
s.homepage = 'https://radar.com' | ||
s.author = { 'Radar Labs, Inc.' => '[email protected]' } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// RadarInitializeOptions.h | ||
// RadarSDK | ||
// | ||
// Created by Kenny Hu on 9/10/24. | ||
// Copyright © 2024 Radar Labs, Inc. All rights reserved. | ||
// | ||
|
||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@interface RadarInitializeOptions : NSObject | ||
|
||
@property (assign, nonatomic) BOOL autoLogNotificationConversions; | ||
|
||
@end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.