bug: Android crash NullPointerException: Attempt to invoke virtual method
when clicking phone or email link
#6507
Labels
NullPointerException: Attempt to invoke virtual method
when clicking phone or email link
#6507
Bug Report
Capacitor Version
Platform(s)
Current Behavior
When the user clicks on a link, which references a phone number or an email address the app crashes.
Expected Behavior
Well, the app shouldn't crash, and instead start a phone call or open a mail program ;-)
Code Reproduction
I've created a reproduction repo, which you can find here:
https://github.com/tobiasmuecksch/cap-link-crash-demo
Just clone it, run it an click on one of the links on page 1.
If you prefer to create your own reproduction code, you only need to add the following lines to one of your components:
Other Technical Details
npm --version
output:9.5.0
node --version
output:v18.15.0
Stack Trace
Potential Error Source
It looks like this might be the line, where the error occurs, but I'm not sure yet.
The text was updated successfully, but these errors were encountered: