Whitelist Capacitor Android / ios #1947
TinyLightBold
started this conversation in
General
Replies: 1 comment
-
Thank you very much! I've updated the docs. I also added a small section about how to detect origin on the client by using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working atm on an application build in Quasar Vite with dexie for the database and dexie-cloud as Cloud solution.
I had issues making myself clear what the Origin was for Android apps and possible Ios apps to make the Cloud work.
Could not find it anywhere how to do it.
This morning I found out it was actually very simple:
for Android:
npx dexie-cloud whitelist https://localhost
(this I am sure!)for Ios Capacitor it could be:
npx dexie-cloud whitelist capacitor://localhost
(don't have a Mac to try this out)Let's be clear, this is for the Capacitor version of application build. For normal development it could be different. (not my area)
For people who are in search what Origin is needed to Whitelist to make Cloud work on Android/Ios, this could make their lives easier ;).
Could be added to https://dexie.org/cloud/docs/cli#whitelist.
Beta Was this translation helpful? Give feedback.
All reactions