Skip to content

Application crashes on iOS (simulator) when calling ZendeskChat.startChat #132

Open
@halftheopposite

Description

@halftheopposite

Hi everyone,

I've followed the Getting Started guide:

  • I've done a new pod install and even a pod install --repo-update.
    • Podfile was updated automatically.
  • I've created a ZenDesk account (currently in trial).
  • Obtained the YOUR_ZENDESK_ACCOUNT_KEY and APP_ID_PROVIDED_BY_ZENDESK keys.
  • Called ZendeskChat.init(...) in my index.js file.

But, when executing the code below in a Button press callback, my application crashes and I have absolutely no error message:

ZendeskChat.startChat({
	name: user.full_name,
	email: user.email,
});

I have no idea why this is happening and have no logs at all. I do have a few questions:

  • Do I need to do setup anything else from the ZenDesk iOS installation guide before going on with the Getting Started guide? Or should the auto link capabilities be enough?

Podfile.lock:

  - RNZendeskChat (0.4.1):
    - React-Core
    - ZendeskChatSDK (~> 2.9)
  - ZendeskChatProvidersSDK (2.11.2)
  - ZendeskChatSDK (2.11.1):
    - ZendeskChatProvidersSDK (~> 2.11.1)
    - ZendeskMessagingSDK (~> 3.8.2)
  - ZendeskCommonUISDK (6.1.2)
  - ZendeskMessagingAPISDK (3.8.3):
    - ZendeskSDKConfigurationsSDK (= 1.1.9)
  - ZendeskMessagingSDK (3.8.3):
    - ZendeskCommonUISDK (= 6.1.2)
    - ZendeskMessagingAPISDK (= 3.8.3)
  - ZendeskSDKConfigurationsSDK (1.1.9)

Environment:

  • iOS: simulator.
  • Dependencies:
    • "react-native": "0.64.1"
    • "react-native-zendesk-chat": "^0.4.1"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions