PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV Mobile 2024 → android networkSecurity
android networkSecurity
Started by Ramon Diaz Rios, Oct., 01 2022 4:43 PM - No answer
Registered member
7 messages
Posted on October, 01 2022 - 4:43 PM
HI, does anyone know how to implement certificate fixation with windev mobile, I have already done what the google documentation indicates by adding the existence of the networkSecurityConfig file to the manifest and generating said file with the data of the certificate that I want to fix.

<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config>
<domain includeSubdomains="true">mydomain.com</domain>
<pin-set expiration="2022-11-19">
<pin digest="SHA-256">SjUG7k/7XSzfmvW9Ow0RWSFFR/yapzDbqxxxxxxxxxxxxx=</pin>
<pin digest="SHA-256">SRZ/xvbaCI8L2MoKGRnWAtCj2+cwPwobxxxxxxxxxxxxxxxxxx=</pin>
</pin-set>
</domain-config>
</network-security-config>

>even so my application does not validate the certificate to guarantee the identity of the WebService