8000 intercom_flutter/intercom_flutter_web at master · CrewLAB/intercom_flutter · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

intercom_flutter_web

The web implementation of intercom_flutter.

Usage

This package is already included as part of the intercom_flutter package dependency, and will be included when using intercom_flutter as normal.

But if you want to use this package as alone, add the dependency intercom_flutter_web. You don't need to add Intercom script in the index.html file, it will be automatically injected. But you can pre-define some Intercom settings, if you want (optional), such as api_base, hide_default_launcher, etc.

<script>
    window.intercomSettings = {
        hide_default_launcher: true, // hide the launcher
    };
</script>

Following functions are not yet supported on Web:

  • unreadConversationCount
  • setInAppMessagesVisibility
  • sendTokenToIntercom
  • handlePushMessage
  • isIntercomPush
  • handlePush
  • displayCarousel
  • displayHelpCenterCollections
0