Skip to content
Discussion options

You must be logged in to vote

Ok sorry for the auto-answer but I just found out why after looking for hours...
In my service I imported the Filesystem the wrong way using import { Filesystem } from '@capacitor/core';

The correct way of importing (as of Capcitor 2.*) is

import { Plugins } from '@capacitor/core';
const { Filesystem } = Plugins;

The thing is you don't get any error and it's working fine on android and without livereload so it's hard to spot

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by brospars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant