-
Discussion
-
Associate your ID for the current user with the Button session.
Note: This is required for attribution.
To correctly configure Button for attribution, make sure to:
-1. Pass your logged in user’s Id when configuring Button (use configureWithApplicationId:userId:completion:
).
-2. Call this method with your user’s id after a user successfully logs into your app.
-
-
If you don’t have the Id of your logged in user in at the time you call configureWithApplicationId:userId:completion:
-(typically in -application:didFinishLaunchingWithOptions:
), make sure you call this method once you’ve successfully
-acquired the Id for your logged in user.
-
-
Note that passing nil here is a noop and will not remove the user Id from the session.
-If your user is logging out, call logOut
to reset the session and user data in Button.
-*
-