initialize method

Future<bool> initialize({
  1. String? applicationSecret,
  2. String? apiKey,
  3. String? apiSecret,
  4. String? domain,
  5. String? userId,
  6. bool? developmentApns,
})

Initialize Dimelo/Engage Digital Messaging SDK on the native side.

This method must be called before using any other functionality.

Parameters:

  • apiKey - Your Dimelo API key (required)
  • domain - The service domain/endpoint (required)
  • userId - Optional external user ID to bind the session
  • applicationSecret - Optional application secret
  • apiSecret - Optional API secret
  • developmentApns - Whether to use development APNS (iOS only)

Returns true if initialization was successful, false otherwise.

Implementation

Future<bool> initialize({
  String? applicationSecret,
  String? apiKey,
  String? apiSecret,
  String? domain,
  String? userId,
  bool? developmentApns,
}) {
  throw UnimplementedError('initialize() has not been implemented.');
}