capacitor-community / capacitor-community/intercom
App crashes when using invalid api key format - Android
- Dominant language
- Java
- Stars
- 70
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
**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.
Contributor guide
Assessment
This issue has not been assessed yet.