Bonjour,
in gatsby react project with
capacitor for building
ios and android app,
i try to install Capacitor background runner
and after configuring
capacitor.config
when i sync with npx cap sync
return error
could not find .www in your projet
but mine webdir be on public directory!
and i not found a way for tell it
get on public for this
plugin
You can set webDir
in the Capacitor config file - Capacitor Configuration | Capacitor Documentation
solve it, thanks!
but for worker, background runner,
firebase,
stripe and google play,
exist in capacitor config
server{url and android sheme
i try to put it on existing
deep url like
com.entreprise.lang
on app sheme
and always give me
error on service worker
app-f6b3a2e9094d211ffa74.js:2 Error during service worker registration: TypeError: Failed to register a ServiceWorker for scope (‘https://localhost/’) with script (‘https://localhost/sw.js’): An unknown error occurred when fetching the script.
and always get on
localhost