- [fix] Hide messenger chat on component unmount.
- [fix] Ensure the
className
is a string.
- [fix] fix undefined className.
- [new] use Customer Chat SDK internally.
- [fix] Fix access parentNode from undefined
- [fix] fix removing fbsdk error
- [new] reload fbsdk when componentDidMount and props change #18
- [new] Support more customizing options,
greetingDialogDisplay
and greetingDialogDelay
:
<MessengerCustomerChat
pageId="<PAGE_ID>"
appId="<APP_ID>"
htmlRef="<REF_STRING>"
greetingDialogDisplay="show"
greetingDialogDelay={3}
/>
- [fix] Fix passing
false
value to minimized
.
- [new] Support more customizing options:
<MessengerCustomerChat
pageId="<PAGE_ID>"
appId="<APP_ID>"
htmlRef="<REF_STRING>"
themeColor="<HEX_COLOR_CODE>"
loggedInGreeting="<GREETING_MESSAGE_FOR_LOGGED_IN_USERS>"
loggedOutGreeting="<GREETING_MESSAGE_FOR_LOGGED_OUT_USERS>"
/>
- [fix] Rename
ref
to htmlRef
to fix prop key collision with React
- [fix] Unknown prop issue before React v16
- [new] Added
debug
prop to enter debug mode (load debug fbsdk)
- [fix] Removed unused state & props