Property 'uri' does not exist on type 'FileWriteResult'
zechigan opened this issue · comments
Zechi Gan commented
Hi, many thanks for the tutorial. I am trying to implement this on mobile but both line 95 and 96 gives me this error of 'Property 'uri' does not exist on type 'FileWriteResult''.
Any idea why this happens? Thank you in advance/
Matt Netkow commented
Hi, this is a new property as of Capacitor 2.0. Are you on that version (check for @capacitor/core: 2.x
. Otherwise, see the 1.0 release of this sample app's code for the original Capacitor 1.x implementation.