Open ygyg70 opened 3 years ago
Having the exact same issue, 375px before sharing, 410px after
Ok, after searching the different issues (https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/861, https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/1084), it seems to be caused by cordova-plugin-keyboard
.
I removed it and replaced it by cordova-plugin-ionic-keyboard
and it worked.
Just updated the project to use ionic keyboard and web view plugins, problem solved. Thanks!
Switching from cordova-plugin-keyboard
to cordova-plugin-ionic-keyboard
worked for me, too. I used the following preferences:
<preference name="KeyboardResize" value="true" />
<preference name="KeyboardResizeMode" value="native" />
Using latest version of Cordova iOS (6.1.1) and WKWebView only option. iOS: 13.7 Plugin version 5.6.8 Behavior is very consistent. After sharing to some apps, such as iMessage and WhatsApp, the app looks normal after sharing After sharing to Gmail or Facebook and returning to the app, the size of the app increases and the screen shows a cropped portion of it. Reading window width from Javascript:
Any direction how I can further look for the root cause and fix is also appreciated