Skip to main content

infobip_mobilemessaging_huawei 1.0.1 copy "infobip_mobilemessaging_huawei: ^1.0.1" to clipboard
infobip_mobilemessaging_huawei: ^1.0.1 copied to clipboard

PlatformAndroid

Android Flutter plugin for Infobip Huawei Mobile Messaging with HMS Push, Inbox, native and embedded Chat, outgoing RTC audio/video, and screen sharing.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'app.dart';
import 'setup/example_controller.dart';
import 'config/example_config.dart';
import 'config/example_test_config.template.dart';

void main() => runApp(
  ExampleApp(
    controller: ExampleController(
      config: ExampleConfig(
        applicationCode: ExampleTestConfig.infobipApplicationCode,
        externalUserId: ExampleTestConfig.externalUserId,
        jwtKid: ExampleTestConfig.jwtKid,
        jwtSecretKey: ExampleTestConfig.jwtSecretKey,
        jwtTtl: Duration(seconds: ExampleTestConfig.jwtTtlSeconds),
        rtcCallsConfigurationId: ExampleTestConfig.rtcCallsConfigurationId,
        rtcIdentity: ExampleTestConfig.rtcIdentity,
        chatAuth: ExampleTestConfig.chatAuthMode,
        chatWidgetId: ExampleTestConfig.chatWidgetId,
        chatKeyId: ExampleTestConfig.chatKeyId,
        chatSecretKey: ExampleTestConfig.chatSecretKey,
        chatJwtTtl: Duration(seconds: ExampleTestConfig.chatJwtTtlSeconds),
        jwtToken: ExampleTestConfig.jwtToken,
        chatJwtToken: ExampleTestConfig.chatJwtToken,
        firstName: ExampleTestConfig.firstName,
        lastName: ExampleTestConfig.lastName,
        email: ExampleTestConfig.email,
        phoneNumber: ExampleTestConfig.phoneNumber,
        inboxTopic: ExampleTestConfig.inboxTopic,
        inboxLimit: ExampleTestConfig.inboxLimit,
        expectedNotificationTitle: ExampleTestConfig.expectedNotificationTitle,
        expectedNotificationBody: ExampleTestConfig.expectedNotificationBody,
        expectedDeepLink: ExampleTestConfig.expectedDeepLink,
        environmentName: ExampleTestConfig.environmentName,
        enableAudioTesting: ExampleTestConfig.enableAudioTesting,
        enableVideoTesting: ExampleTestConfig.enableVideoTesting,
        installationPrimary: ExampleTestConfig.installationPrimary,
        installationPushEnabled: ExampleTestConfig.installationPushEnabled,
        installationAttributes: ExampleTestConfig.installationAttributes,
        invalidExternalUserId: ExampleTestConfig.invalidExternalUserId,
        chatMessage: ExampleTestConfig.chatMessage,
        chatContextualData: ExampleTestConfig.chatContextualData,
        chatTheme: ExampleTestConfig.chatTheme,
      ),
    ),
  ),
);
7
likes
160
points
79
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Android Flutter plugin for Infobip Huawei Mobile Messaging with HMS Push, Inbox, native and embedded Chat, outgoing RTC audio/video, and screen sharing.

Repository (GitHub)
View/report issues
Contributing

Topics

#flutter #huawei #infobip #notifications

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on infobip_mobilemessaging_huawei

Packages that implement infobip_mobilemessaging_huawei