Closed Panacea-Soft closed 2 years ago
Hi @Panacea-Soft, please provide a completed and minimal reproducible code sample so that we may verify this. Also, please provide the output of flutter doctor -v
as well.
Thank you!
Hi @Panacea-Soft, please provide a completed and minimal reproducible code sample so that we may verify this. Also, please provide the output of
flutter doctor -v
as well. Thank you!
Please take a look at here for the sample project : https://drive.google.com/file/d/138uaZ7fdLzH217yha4UfnqGyDVY7nYsK/view?usp=sharing
Here is our testing video : https://drive.google.com/file/d/1wsMGfCc4wwr15s-YE4j9R8MyzDDjRhkg/view?usp=sharing
When you test please make sure for your phone and app need to be Arabic language.
Cheers!
Hi @Panacea-Soft, thanks for providing the sample code. This issue is reproducible on the latest stable
and master
Flutter channels.
Plugin version: google_mobile_ads: ^2.0.1
Change to Arabic
button..click
area (gray area). It opens ads (redirects to store or web page for example) The issue is only happening on Android. On iOS, it works as expected.
✅: No Issue ❌: Issue reproduced
Could you verify on iOS and confirm the same behavior?
I also tried creating a pure Flutter sample code (without ads) to check that when changing the language to Arabic, the click areas are not disturbed. And it works as intended (The click areas work properly and are not disturbed).
Hi,
Yes it is working on iOS : https://drive.google.com/file/d/1unTaADzb7ir-waS95bTs0YpjcSBjdJsM/view?usp=sharing But it is not working on Android : https://drive.google.com/file/d/1_KWT837I_1lv0VzYvtiNuOOl7Pv4u9Xh/view?usp=sharing
Here is our flutter doctor -v
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.2.1 21D62 darwin-x64, locale en-GB)
• Flutter version 3.0.5 at /Users/pspanaceasoft/Library/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision f1875d570e (10 weeks ago), 2022-07-13 11:24:16 -0700
• Engine revision e85ea0e79c
• Dart version 2.17.6
• DevTools version 2.12.2
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/pspanaceasoft/Library/Android/sdk
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.71.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.48.0
[✓] Connected device (3 available)
• iPhone 12 Pro Max (mobile) • 5CC895BF-3C25-4B5F-9A98-B3E67B790773 • ios • com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator)
• macOS (desktop) • macos • darwin-x64 • macOS 12.2.1 21D62 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 105.0.5195.125
[✓] HTTP Host Availability
• All required HTTP hosts are available
If you need anything then please let me know.
Cheers, Han
@Panacea-Soft I try testing again with a minimal sample code as below (without using 3rd plugins) and see that the issue is not reproducible anymore on Android.
The issue may come from easy_localization
. Please try removing it from your project and confirm.
@Panacea-Soft I try testing again with a minimal sample code as below (without using 3rd plugins) and see that the issue is not reproducible anymore on Android.
Demo Sample code The issue may come from
easy_localization
. Please try removing it from your project and confirm.
When we try according to your suggestion like this
There is the issue. You can take a look our full source code at here also : https://drive.google.com/file/d/17yYh-usNbWzBW_0lNd1yRVqKNgV3jKhs/view?usp=sharing
Cheers, Han
Hi @Panacea-Soft
There is the issue
Do you confirm the issue caused by easy_localization
?
Hi @Panacea-Soft
There is the issue
Do you confirm the issue caused by
easy_localization
?
When we not using easy_localization
it is still remain the issue. So I don't think it is come from easy_localization
.
You can take a look at our sharing code also.
@Panacea-Soft I remove flutter_braintree
from your provided code in https://github.com/googleads/googleads-mobile-flutter/issues/651#issuecomment-1255935796 and see the issue doesn't happen. Please try this from your side and confirm the same behavior.
@Panacea-Soft I remove
flutter_braintree
from your provided code in #651 (comment) and see the issue doesn't happen. Please try this from your side and confirm the same behavior.
When remove flutter_braintree
then it is ok but our project need to use that module for paypal payment integration. So, it is not ok to remove it. Is there any others solution?
@Panacea-Soft It is related to a 3rd party plugin rather than to Flutter/googleads-mobile-flutter itself. Please open the issue in the dedicated repository for further support there. I feel safe to close this issue from here, if you disagree please write in the comments and I will reopen it. Thank you!
We are using the latest google_mobile_ads 2.0.1 for flutter app development. It is ok for phone language is English but it is not working for phone language is Arabic so I would like to explain more details at below :
English Language on Phone : https://drive.google.com/file/d/1C06o7LKzv_LjdlyFAkZN8LsHH39Vj_0E/view?usp=sharing It is ok to detect to normal cell or ads cell.
Arabic Language on Phone : https://drive.google.com/file/d/1ET2EJBVP6wSODvRXkwwbHtHDFBc-hJ2b/view?usp=sharing there is issue because it is detect to ads cell only.
So, I hope that to fix that issue at next version update.
Cheers, Han