Hi! I coded an android app using ionic vue and capacitor. Very nice framework!
However, I’m novice in https and networking and I wonder how to secure my api calls.
I use a wordpress backend as a remote server and I want to call it from the mobile app.
For now I used capacitor-http plugin and everything works nice locally in http.
But Integration time has come and I need to implement https to secure the connection to the backend.
I have been surfing the internet and documentation but I can’t find any resource to help me understand how to do this. I heard about SSL pinning but it looks like it is only for angular.
Any help to setup https in my ionic capacitor vue app would be appreciated, even if it’s just keywords and links toward useful resources.
The best would be an overview of what I should do and I’ll workout the details myself.
Thanks in advance
My infos:
Ionic:
Ionic CLI : 6.20.8 (…\npm\node_modules@ionic\cli)
Ionic Framework : @ionic/vue 6.3.8
Capacitor:
Capacitor CLI : 4.5.0
@capacitor/android : 4.5.0
@capacitor/core : 4.5.0
@capacitor/ios : not installed
Utility:
cordova-res : not installed globally
native-run : 1.7.1
System:
NodeJS : v18.13.0 (C:\Program Files\nodejs\node.exe)
npm : 8.19.3
OS : Windows 10