Skip to content

App crashes when using invalid api key format - Android #129

@edwinhilgersom

Description

@edwinhilgersom

Describe the bug
A clear and concise description of what the bug is.

Causing app crashes on Android when using an invalid format of the api key.

  • I used the correct api key -> Of course works (expected)
  • Changed 1 character in the api key to invalidate it -> App doesn't crash, intercom just gives the warning "something went wrong" (expected)
  • Removed a few characters from the api key to make it an unaccepted format -> App crashes

To Reproduce
Steps to reproduce the behavior:

  1. Use 6.0.2 of @capacitor-community/intercom
  2. Use an invalid format for the android_sdk-[id] api key.
  3. Initialize intercom, by registering a user

Expected behavior
A clear and concise description of what you expected to happen.
No app crash, just an error.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6] Pixel 9 Pro
  • OS: [e.g. iOS8.1] Android (api 35)
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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