Skip to content

Sample App Updates#6

Open
jared-singular wants to merge 14 commits intosingular-labs:masterfrom
jared-singular:master
Open

Sample App Updates#6
jared-singular wants to merge 14 commits intosingular-labs:masterfrom
jared-singular:master

Conversation

@jared-singular
Copy link
Contributor

Sample App Updates:

  • Updated to latest SDK 11.0.1
  • Added ESP Domain Support
  • Updated Deeplink Handler as there was an error with nil crashing the app when no passthrough was provided
  • Updated AppDelegate to use the SingularConfig on all entry points
  • Added examples of: implementing ATT, support for non-singular links, revenue events with args(using dictionary), data privacy options (gdpr, ccpa, age-gate methods), and displayed the identifiers with share option.

}
self.s_idfa = [[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString];
self.s_idfv = [[[UIDevice currentDevice] identifierForVendor] UUIDString];
[self.idfa_value setText:self.s_idfa];

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

set the Labels value in main queue. App may crash sometimes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tapasyat - I am not sure what this means. Can you elaborate?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updating the UI in main thread.
dispatch_async(dispatch_get_main_queue(), ^{
[self.idfa_value setText:self.s_idfa];
[self.idfv_value setText:self.s_idfv];
[self.att_value setText:self.att_state];
DataDelegate.sharedMessage = [NSString stringWithFormat:@"Sample App Device Info:\n\nAdvertising ID (IDFA): %@ \n\nIDFV: %@",self.s_idfa,self.s_idfv];
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants