-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Plugin, Flush, Event filtering, Source config download, Networking, Application life cycle, Record screen views have been refactored. Introduced count based flush policy. Introduced exponential retry policy. Bug Fixed: - App tracking consent should be set irrespective of advertisementId. - Message level options and global options should be merged. - Last event timestamp should set to nil when reset is called.
- Loading branch information
1 parent
cb223ee
commit 72be93b
Showing
161 changed files
with
9,107 additions
and
8,293 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ @implementation AppDelegate | |
|
||
|
||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { | ||
RSConfig *config = [[RSConfig alloc] initWithWriteKey:WRITE_KEY]; | ||
Config *config = [[Config alloc] initWithWriteKey:WRITE_KEY]; | ||
[config dataPlaneURL:DATA_PLANE_URL]; | ||
[config loglevel:RSLogLevelDebug]; | ||
[config trackLifecycleEvents:YES]; | ||
|
@@ -43,11 +43,11 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( | |
[client setAppTrackingConsent:RSAppTrackingConsentAuthorize]; | ||
[client setAnonymousId:@"example_anonymous_id"]; | ||
RSOption *defaultOption = [[RSOption alloc] init]; | ||
Option *defaultOption = [[Option alloc] init]; | ||
[defaultOption putIntegration:@"Amplitude" isEnabled:YES]; | ||
[client setOption:defaultOption]; | ||
RSOption *eventOption = [[RSOption alloc] init]; | ||
Option *eventOption = [[Option alloc] init]; | ||
[eventOption putIntegration:@"Amplitude" isEnabled:YES]; | ||
[eventOption putExternalId:@"brazeExternalId" withId:@"some_external_id_1"]; | ||
[client identify:@"user_id" traits:@{@"email": @"[email protected]"} option:eventOption]; | ||
|
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
Oops, something went wrong.