Last active
March 23, 2018 18:38
-
-
Save adrianhall/f67456d80cbe8f4e1b45d62b34162863 to your computer and use it in GitHub Desktop.
Creates an Amazon Pinpoint client manager
This file contains hidden or 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
AWSMobileClient.getInstance().initialize(this).execute() | |
pinpointManager = PinpointManager( | |
PinpointConfiguration(this, | |
AWSMobileClient.getInstance().credentialsProvider, | |
AWSMobileClient.getInstance().configuration) | |
) | |
pinpointManager?.apply { | |
it.sessionClient.startSession() | |
it.analyticsClient.submitEvents() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment