File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
android/src/main/java/com/intercom/reactnative Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 77import com .facebook .react .bridge .ReactContextBaseJavaModule ;
88import com .facebook .react .bridge .ReactMethod ;
99import com .facebook .react .bridge .WritableMap ;
10+ import com .facebook .react .module .annotations .ReactModule ;
1011import com .facebook .react .modules .core .DeviceEventManagerModule ;
1112
1213import javax .annotation .Nullable ;
1718import io .intercom .android .sdk .Intercom ;
1819import io .intercom .android .sdk .UnreadConversationCountListener ;
1920
21+ @ ReactModule (name = IntercomEventEmitter .NAME )
2022public class IntercomEventEmitter extends ReactContextBaseJavaModule {
2123
22- private static final String NAME = "IntercomEventEmitter" ;
24+ public static final String NAME = "IntercomEventEmitter" ;
2325 private static final String UNREAD_COUNT_CHANGE_NOTIFICATION = "IntercomUnreadConversationCountDidChangeNotification" ;
2426 private int activeListenersCount = 0 ;
2527 private final UnreadConversationCountListener unreadConversationCountListener = new UnreadConversationCountListener () {
You can’t perform that action at this time.
0 commit comments