431431
432432## Import
433433
434- ### ` import Intercom from '@intercom/intercom-react-native'; `
434+ ### ` import Intercom, { IntercomContent, Space } from '@intercom/intercom-react-native'; `
435435
436436___
437437
@@ -452,19 +452,20 @@ Sets the user hash necessary for validation when Identity Verification is enable
452452
453453___
454454
455- ### ` Intercom.registerUnidentifiedUser () `
455+ ### ` Intercom.loginUnidentifiedUser () `
456456
457- Registers an unidentified user with Intercom
457+ Login a unidentified user.
458+ This is a user that doesn't have any identifiable information such as a userId or email.
458459
459460### Returns
460461
461462` Promise<boolean> `
462463
463464___
464465
465- ### ` Intercom.registerIdentifiedUser ({email,userId}) `
466+ ### ` Intercom.loginUserWithUserAttributes ({email,userId}) `
466467
467- Registers an identified user with Intercom
468+ Login a user with identifiable information.
468469
469470### Options
470471
@@ -637,7 +638,7 @@ Open the conversation screen with the composer pre-populated text.
637638
638639___
639640
640- ### ` Intercom.displayHelpCenter() `
641+ ### ` Intercom.presentSpace(Space.helpCenter); `
641642
642643Open up your apps help center
643644
@@ -646,7 +647,7 @@ Open up your apps help center
646647` Promise<boolean> `
647648
648649___
649- ### ` Intercom.displayHelpCenterCollections( ) `
650+ ### ` Intercom.presentContent(IntercomContent.helpCenterCollectionsWithIds(collections) ) `
650651
651652Present the help center with specific collections only .
652653
@@ -702,7 +703,7 @@ Get a list of articles in the Help Center, filtered by a search term
702703` Promise<HelpCenterArticleSearchResult[]> `
703704
704705___
705- ### ` Intercom.displayArticle( articleId) `
706+ ### ` Intercom.presentContent(IntercomContent.articleWithArticleId( articleId) ) `
706707
707708Displays article with given id.
708709
@@ -716,7 +717,7 @@ Displays article with given id.
716717
717718___
718719
719- ### ` Intercom.displayCarousel( carouselId) `
720+ ### ` Intercom.presentContent(IntercomContent.carouselWithCarouselId( carouselId) ) `
720721
721722Displays carousel
722723
@@ -730,16 +731,6 @@ Displays carousel
730731
731732` Promise<boolean> `
732733
733- ### ` Intercom.displayArticle(articleId) `
734-
735- Opens an article
736-
737- ### Options
738-
739- | Type | Type | Required |
740- | ------- | -------- | -------- |
741- | articleId| string | yes |
742-
743734### Returns
744735
745736` Promise<boolean> `
0 commit comments