capacitor-community / capacitor-community/intercom

Android app keeps crashing right when opening

Open
#130 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
70
Forks
82
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
The title says it all. After I've installed the plugin, my app keeps crashing immediately on load after deploying the app-debug.apk to the android emulator. I was able to reproduce on a clean install. When I remove the plugin, my app works again.

**To Reproduce**
1. Install a clean Capacitor app using the [docs](https://capacitorjs.com/docs/getting-started) (I used the `npm init @capacitor/app@latest` command)
2. Add the android package.
3. Add the plugin package (v7.0.3).
4. Build the app.
5. Sync the app.
6. Run the app using `npx cap run android`.
7. After the gradle build and the deployment the emulator opens and the app crashes.

**Expected behavior**
The app should open and work as normal.

**Smartphone (please complete the following information):**
- Device: Pixel 8 Pro API 34 (emulator) (Pixel_8_Pro_API_34)
- OS: Android

**Additional information**
* Downgrading to v7.0.0 of the plugin fixes the problem, the app loads successfully.

Contributor guide

Open the contributing guide

Research direction

Reproduce the crash with a clean Capacitor app using the Android package, plugin v7.0.3, and `npx cap run android` on the Pixel 8 Pro API 34 emulator. Compare the behavior with plugin v7.0.0, which reportedly works; done means the app opens successfully with v7.0.3.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.