I managed to solve it this way.
on the page where there was the button that sends the content to Whatsapp, it was like this :
<a href='whatsapp://send' data-text='' data-href='http://playfcapp.com.br/gol/?id=".$regis_01['id']."' class='wa_btn wa_btn_l' style='display:none'><div id='social_whatsapp' style='background:url(http://playfcapp.com.br/gol/img/social_whatsapp.png) center center no-repeat #10c246; background-size:contain; height:38px; margin-top:10px;'></div></a>
but not on IOS 10 the button did not work (was without action), only when the link was Whatsapp://send.
So I tried to send first to a web page where the user would be redirected to Whatsapp, it did not work because the app tried to open this page by Phonegap Webview, when I sent to open by default browser ai worked:
window.open('"endereço da página de redirecionamento"', '_system', 'location=no');
_system makes all the difference, because webview cannot open Whatsapp.
But it’s not necessary to create a popup for this, just create a link not? However I don’t have iOS 10 to test :/
– Guilherme Nascimento
In Safari browser in iOS 10 the link works?
– Guilherme Nascimento
Yes it works! It just doesn’t work inside the application made in Cordova.
– Jefferson Augusto Lopes
I get it, so it must be something left to release in webview or permissions, I don’t use Cordova but I’ll try to see if I can find out, post the webView code and permissions please.
– Guilherme Nascimento
I switched to not open in webview, but in the default browser, now it opens Whats but does not send the text
– Jefferson Augusto Lopes
Without code it’s hard to know exactly what you did
– Guilherme Nascimento
I managed to solve, I will put the solution here ![
– Jefferson Augusto Lopes