-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add name and properties to auto screen reporting * Make seg_topViewController handle tab and custom container VCs * Simplify SEGScreenReporting protocol Inspired by comments from @f2prateek, simplify the the `SEGScreenReporting` protocol to replace the name and properties fields with a single method (`seg_trackScreen`) that can be implemented when screen tracking for a specific view controller that needs a custom name, properties, or options. * Update Nimble to build with Xcode 10.2 * Add tests for seg_topViewController * fixed a crash in file storage when trying to get a string stored using old SDK version (#880) * Fixed issue where build/version were removed from Application Opened events from background state. * Publish filenames used for data storage (#865) * Remove tvos test from scheme setup. * Fixed selector reference. * Removed unused code. Co-authored-by: David Whetstone <[email protected]> Co-authored-by: Sergei Guselnikov <[email protected]> Co-authored-by: Brandon Sneed <[email protected]> Co-authored-by: Błażej Biesiada <[email protected]>
- Loading branch information
1 parent
df608de
commit ff5d309
Showing
19 changed files
with
272 additions
and
37 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,3 +32,4 @@ Carthage | |
# itself has no pod dependencies, only our tests do. | ||
Pods/ | ||
.clang-format | ||
.idea |
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#import <UIKit/UIKit.h> | ||
#import "SEGSerializableValue.h" | ||
|
||
/** Implement this protocol to override automatic screen reporting | ||
*/ | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@protocol SEGScreenReporting | ||
@optional | ||
-(void) seg_trackScreen:(UIViewController*)screen name:(NSString*)name; | ||
@property (readonly, nullable) UIViewController *seg_mainViewController; | ||
@end | ||
|
||
NS_ASSUME_NONNULL_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
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,9 +1,10 @@ | ||
#import <UIKit/UIKit.h> | ||
|
||
#import "SEGSerializableValue.h" | ||
|
||
@interface UIViewController (SEGScreen) | ||
|
||
+ (void)seg_swizzleViewDidAppear; | ||
+ (UIViewController *)seg_topViewController; | ||
|
||
@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
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
Oops, something went wrong.