capacitor: bug: android performance issue
Bug Report
Capacitor Version
Latest Dependencies:
@capacitor/cli: 2.2.1
@capacitor/core: 2.2.1
@capacitor/android: 2.2.1
@capacitor/electron: 2.2.1
@capacitor/ios: 2.2.1
Installed Dependencies:
@capacitor/electron not installed
@capacitor/cli 2.0.2
@capacitor/core 2.0.2
@capacitor/android 2.0.2
@capacitor/ios 2.2.0
[success] Android looking great! �
[error] Xcode is not installed
Platform(s)
- Android 5.0.2 (HTC One m7)
- Android 10 (Pixel 2)
Current Behavior
The App is very slow on android. The iOS App is OK. Same app just with cordova is faster.
Expected Behavior
App should run fast.
Other Technical Details
npm --version
output:
6.14.4
node --version
output:
v12.18.0
See video for more details: https://youtu.be/z5eqC4249QM
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 44 (22 by maintainers)
Oke will try to share it ASAP.
I’ve just opened #3485 and at the end I noticed that when using a remote server, on iOS Capacitor works correctly but on Android it looks like it runs on a web platform, not natively. Maybe that’s related to these performance issues. You can check by opening the device dev tools via
chrome://inspect
and checking forwindow.Capacitor.isNative
. If it’sfalse
for you guys as well, then maybe this has something to do with it.I’ve tested on pixel 2 xl and its very laggy. On Virtual device and real devices.
I can confirm it too. I’ve tested on multiple android devices, quite new actually and same! Even tested on an older phone, Galaxy S8+ and same! Capacitor on Android is totally unusable…