bug: Android application fails to launch using capacitor 4.0.1 and next version of plugin
lte-deankier opened this issue · 5 comments
Plugin version:
0.0.1-dev.497102e.1660326274
Platform(s):
android
Current behavior:
application terminates before completing launch. application built using Ionic Appflow
Expected behavior:
application starts and NFC plugin is available
Steps to reproduce:
Updated demo app to Capacitor
- upgrade capacitor core and base plugins to 4.0.1
- update plugin to next version
- run
npx cap sync
- commit changes
- push to repository
- Appflow builds app
Related code:
presence of plugin is enough to cause termination
Other information:
Specifically tested on Samsung S20+ Android 12
Happens with cordova phonegap-nfc plugins as well. Adding a plugin for NFC with Capacitor 4.0.1 causes the crash. Does not require code to use the plugin.
Same code executes fine with Capacitor 3.X
Capacitor doctor:
Capacitor Doctor
Latest Dependencies:
@capacitor/cli: 4.0.1
@capacitor/core: 4.0.1
@capacitor/android: 4.0.1
@capacitor/ios: 4.0.1
Installed Dependencies:
@capacitor/cli: 4.0.1
@capacitor/android: 4.0.1
@capacitor/core: 4.0.1
@capacitor/ios: 4.0.1
[success] Android looking great! 👌
[error] Xcode is not installed
Thank you for your request.
I'll take a look at it and try to reproduce the issue.
If there is anything else I can provide, please let me know.
@lte-deankier The problem should be fixed now. Feel free to try the following version:
npm i @capawesome-team/capacitor-nfc@0.0.1-dev.3aa997a.1660764298
This version is also available via the next
tag.
Note: I updated the version in my comment.
Perfect, thank you