Skip to main content

Initialization

Add the sdk to your Application class
Wave.initialize(application = this, apiKey = "apiKey")
where apiKey is the authentication key needed to start the flow. This information should be provided by Wave.

Starting the flow

To start the feature, use the start method in an activity (context should be the activity’s)
Wave.start(context = this, feature = Feature.Profile)
In the feature parameter, you can choose the route you want: Profile, OfferDetail or OfferList. There are some optional parameters for this method that you can use, such as:
  • addMetadata: is a metadata that will be used as a queryString