Closed looklookson closed 1 year ago
Also please rebase
Hello @looklookson @distante,
I think we need to do a rollback for this pull request ( My PR https://github.com/capacitor-community/admob/pull/308 ) because it causes problems when we are on a Banner with a TOP_CENTER position, and it also distorts the Banner's height. I believe we should guide developers towards using a plugin like https://github.com/AlwaysLoveme/capacitor-plugin-safe-area to handle such issues in their JavaScript code rather than coding it natively. Here is also an image showing that it causes problems on iOS and, moreover, I no longer have the same behavior between Android and iOS, which is a bit bothersome.
Hello @looklookson @distante,
I think we need to do a rollback for this pull request ( My PR #308 ) because it causes problems when we are on a Banner with a TOP_CENTER position, and it also distorts the Banner's height. I believe we should guide developers towards using a plugin like https://github.com/AlwaysLoveme/capacitor-plugin-safe-area to handle such issues in their JavaScript code rather than coding it natively. Here is also an image showing that it causes problems on iOS and, moreover, I no longer have the same behavior between Android and iOS, which is a bit bothersome.
I don't suggest to rollback this fix because some user currently use this feature. I suggest to add a option to allow user to disable this feature just in case they don't need it.
Fixing https://github.com/capacitor-community/admob/issues/160
iOs banner overlapping content on iPhone with rounded corners iPhones with rounded corners appeared 12 sept of 2018 Since that release date iOs "view" gives a "safeAreaLayoutGuide"