- Start the PWA first. Check executing the PWA.
- Create a certificate authority. You can use:
openssl x509 -in "$(mkcert -CAROOT)/rootCA.pem" -signkey "$(mkcert -CAROOT)/rootCA-key.pem" -extfile android_options.txt -out ".cert/CA.crt"
where android_options.txt
is:
basicConstraints=CA:true
- Install it into the Android device as a valid CA.
- Run the app from Android Studio.