SDK Initilization

The best place to initialize the client is in your Application subclass.

public class SampleApp extends Application {
  private static final String MFC_API_KEY = “<API_key>”
  private static final String CATEGORY_ID = “<Category_key>"

  @Override
  public void onCreate() {
    // Create a Spyne client with the given context, API key.
    Spyne.Init(this, MFC_API_KEY, CATEGORY_ID)
    
  }
}
339

What’s Next