iOS Question webview self-signed url

web-yacht

Member
Licensed User
Longtime User
hi,
i'm using webview
is there a way to call https url with self signed certificate?

in b4a i'm using UltimateWebView and UltimateWebView1_ReceivedSslError callback to manage it

thank you
 

aminoacid

Active Member
Licensed User
Longtime User
hi,
i'm using webview
is there a way to call https url with self signed certificate?

in b4a i'm using UltimateWebView and UltimateWebView1_ReceivedSslError callback to manage it

thank you

Not sure if this will work, but try:

#ATSEnabled: False

This allows http access. So it "may" be forgiving about https sites will invalid or self-signed certs.
 
Upvote 0

web-yacht

Member
Licensed User
Longtime User
thank you,
I already tried with #ATSEnabled: False and http but it doesn't work.
Also added exception with:
B4X:
#PlistExtra: <key>NSAppTransportSecurity</key><dict><key>NSAllowsArbitraryLoads</key><true/>
#PlistExtra: <key>NSExceptionDomains</key><dict>
...

but it doesn't work
 
Upvote 0
Top