I need to run my app with SSL https:// scheme. Currently when I make a production build and open the app in android studio to run on my physical device, the app is served over “http://localhost”. This prevents me from calling secure APIs and store secure cookies from responses.
I have also tried changing capacitor.config.json as such, with no luck:
"hostname": "localhost", "androidScheme": "https"
Any ideas? This does work locally when running “–ssl” flag, but cannot change it on android builds.