googleads / googleads-mobile-flutter

A Flutter plugin for the Google Mobile Ads SDK
Apache License 2.0
343 stars 285 forks source link

Plugin causes crashes on Xiaomi Phones #448

Closed KevinCCucumber closed 2 years ago

KevinCCucumber commented 2 years ago

Plugin Version

0.12.1+1

Steps to Reproduce

  1. Include the Plugin into any app and show an ad banner
  2. Install the app onto any Xiaomi device (XIAOMI REDMI NOTE 10S for example) using Android
  3. App crashes as soon as the ad is being loaded

Expected results: The Ad is showing Actual results: App crashes

Logs ``` Logs are not available due to no Xiaomi devices available as Android emulators and I dont own one. Issue occurs on: ``` ``` Analyzing app_flutter... info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\collectible\art.dart:649:30 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\collectible\art.dart:932:14 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\collectible\collectible_list.dart:106:13 - deprecated_member_use info - Unused import: 'package:flutter_ac/dbhelper.dart' - lib\collectible\fish.dart:16:8 - unused_import info - The value of the local variable 'locale' isn't used - lib\collectible\fish.dart:1181:9 - unused_local_variable info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\collectible\fish.dart:1490:3 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\collectible\fish.dart:1503:12 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\collectible\fish.dart:1558:14 - deprecated_member_use info - The value of the field '_filterCaught' isn't used - lib\collectible\fish.dart:2068:8 - unused_field info - The value of the local variable 'parents' isn't used - lib\collectible\flower.dart:827:24 - unused_local_variable info - The value of the local variable 'offsprings' isn't used - lib\collectible\flower.dart:828:27 - unused_local_variable info - The value of the local variable 'listPosition' isn't used - lib\collectible\flower.dart:1138:15 - unused_local_variable info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\collectible\flower.dart:1300:36 - deprecated_member_use info - The value of the local variable 'locale' isn't used - lib\collectible\food.dart:497:9 - unused_local_variable info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\collectible\fossil.dart:448:14 - deprecated_member_use info - The value of the field '_filterCaught' isn't used - lib\collectible\fossil.dart:569:8 - unused_field info - The value of the field '_filterCurrently' isn't used - lib\collectible\fossil.dart:570:8 - unused_field info - The value of the field '_filterThisMonth' isn't used - lib\collectible\fossil.dart:571:8 - unused_field info - The value of the local variable 'locale' isn't used - lib\collectible\furniture.dart:1008:9 - unused_local_variable info - The value of the local variable 'locale' isn't used - lib\collectible\gyroid.dart:508:9 - unused_local_variable info - Unused import: '../dbhelper.dart' - lib\collectible\insect.dart:19:8 - unused_import info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\collectible\insect.dart:1355:3 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\collectible\insect.dart:1368:12 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\collectible\insect.dart:1423:14 - deprecated_member_use info - The value of the field '_filterCaught' isn't used - lib\collectible\insect.dart:1944:8 - unused_field info - The value of the local variable 'locale' isn't used - lib\collectible\interieur.dart:566:9 - unused_local_variable info - The value of the local variable 'locale' isn't used - lib\collectible\music.dart:284:9 - unused_local_variable info - The value of the local variable 'width' isn't used - lib\collectible\music.dart:395:12 - unused_local_variable info - The operand can't be null, so the condition is always false - lib\collectible\reaction.dart:316:31 - unnecessary_null_comparison info - The operand can't be null, so the condition is always false - lib\collectible\reaction.dart:433:38 - unnecessary_null_comparison info - The operand can't be null, so the condition is always false - lib\collectible\reaction.dart:436:47 - unnecessary_null_comparison info - The operand can't be null, so the condition is always false - lib\collectible\reaction.dart:440:42 - unnecessary_null_comparison info - The operand can't be null, so the condition is always false - lib\collectible\reaction.dart:443:51 - unnecessary_null_comparison info - The value of the local variable 'locale' isn't used - lib\collectible\recipe.dart:1343:9 - unused_local_variable info - Unused import: '../dbhelper.dart' - lib\collectible\seafood.dart:18:8 - unused_import info - The value of the local variable 'locale' isn't used - lib\collectible\seafood.dart:829:9 - unused_local_variable info - The value of the local variable 'locale' isn't used - lib\collectible\seafood.dart:942:9 - unused_local_variable info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\collectible\seafood.dart:1164:3 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\collectible\seafood.dart:1177:12 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\collectible\seafood.dart:1232:14 - deprecated_member_use info - The value of the field '_filterCaught' isn't used - lib\collectible\seafood.dart:1612:8 - unused_field info - The value of the local variable 'month' isn't used - lib\collectible\special\eventitem.dart:18:7 - unused_local_variable info - The value of the local variable 'locale' isn't used - lib\collectible\special\menu.dart:20:10 - unused_local_variable info - The value of the local variable 'locale' isn't used - lib\collectible\special\photo_poster.dart:610:9 - unused_local_variable info - The value of the local variable 'month' isn't used - lib\collectible\special\seasonalitem.dart:18:7 - unused_local_variable info - The value of the local variable 'month' isn't used - lib\collectible\special\special_npc_item.dart:19:7 - unused_local_variable info - The operand can't be null, so the condition is always false - lib\collectible\special\special_npc_item.dart:108:36 - unnecessary_null_comparison info - The value of the local variable 'locale' isn't used - lib\collectible\special\tools.dart:494:9 - unused_local_variable info - The value of the local variable 'localization' isn't used - lib\collectible\villager.dart:789:9 - unused_local_variable info - The value of the local variable 'locale' isn't used - lib\collectible\villager.dart:855:9 - unused_local_variable info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: IslandCreator.isEditmode, IslandCreator.isInitialCreation, IslandCreator.islandSavingID, IslandCreator.islandHemisphere, IslandCreator.islandFruit, IslandCreator.islandName, IslandCreator.dreamAddress - lib\creation_island.dart:24:7 - must_be_immutable info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\creation_island.dart:174:38 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\creation_island.dart:193:38 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\creation_island.dart:267:38 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\creation_island.dart:286:38 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\creation_island.dart:310:38 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\creation_island.dart:329:38 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\creation_island.dart:353:38 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\creation_island.dart:373:36 - deprecated_member_use info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: VillagerCreator.isEditmode, VillagerCreator.isInitialCreation, VillagerCreator.villagerOnlyCreation, VillagerCreator.islandSavingID, VillagerCreator.islandHemisphere, VillagerCreator.islandFruit, VillagerCreator.islandName, VillagerCreator.dreamAddress, VillagerCreator.villagerGender, VillagerCreator.villagerName, VillagerCreator.villagerFriendcode, VillagerCreator.villagerHHNcode, VillagerCreator.villagerCreatorID, VillagerCreator.villagerJoinDate, VillagerCreator.villagerBirthday, VillagerCreator.villagerIslandleader, VillagerCreator.activeItems - lib\creation_villager.dart:24:7 - must_be_immutable info - The declaration 'showBirthdayDialog' isn't referenced - lib\creation_villager.dart:222:10 - unused_element info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\creation_villager.dart:293:38 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\creation_villager.dart:312:38 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\creation_villager.dart:375:29 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\creation_villager.dart:416:29 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\creation_villager.dart:511:36 - deprecated_member_use info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: VillagerLooksCreator.isEditmode, VillagerLooksCreator.isInitialCreation, VillagerLooksCreator.villagerOnlyCreation, VillagerLooksCreator.islandSavingID, VillagerLooksCreator.villagerSavingID, VillagerLooksCreator.islandHemisphere, VillagerLooksCreator.islandFruit, VillagerLooksCreator.islandName, VillagerLooksCreator.dreamAddress, VillagerLooksCreator.villagerGender, VillagerLooksCreator.villagerName, VillagerLooksCreator.villagerFriendcode, VillagerLooksCreator.villagerHHNcode, VillagerLooksCreator.villagerCreatorID, VillagerLooksCreator.villagerJoinDate, VillagerLooksCreator.villagerBirthday, VillagerLooksCreator.villagerIslandleader, VillagerLooksCreator.activeEditingField, VillagerLooksCreator.activeItems - lib\creation_villager_looks.dart:22:7 - must_be_immutable info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\creation_villager_looks.dart:796:32 - deprecated_member_use info - Unused import: 'dart:developer' - lib\credits.dart:1:8 - unused_import info - Unused import: 'package:flutter_ac/main.dart' - lib\credits.dart:5:8 - unused_import info - The value of the local variable 'locale' isn't used - lib\credits.dart:33:9 - unused_local_variable info - Unused import: 'package:provider/provider.dart' - lib\dbhelper.dart:4:8 - unused_import info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: DeepLinkHandler.allCollectibles, DeepLinkHandler.settings, DeepLinkHandler.child - lib\deep_link_handler.dart:16:7 - must_be_immutable info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\deep_link_handler.dart:73:17 - deprecated_member_use info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: CatalogImporter._catalogHash, CatalogImporter._allCollectibles, CatalogImporter._settings - lib\deep_link_handler.dart:118:7 - must_be_immutable info - The operand can't be null, so the condition is always false - lib\deep_link_handler.dart:205:16 - unnecessary_null_comparison info - Unused import: 'package:flutter_ac/collectible/collectible.dart' - lib\guides\balloons.dart:4:8 - unused_import info - Unused import: 'package:flutter_ac/nooklets/nook_constants.dart' - lib\guides\balloons.dart:12:8 - unused_import info - Unused import: '../deep_link_handler.dart' - lib\guides\balloons.dart:16:8 - unused_import info - The value of the local variable 'locale' isn't used - lib\guides\balloons.dart:45:9 - unused_local_variable info - The value of the local variable 'cell' isn't used - lib\guides\balloons.dart:47:9 - unused_local_variable info - The value of the local variable 'cell1' isn't used - lib\guides\balloons.dart:52:9 - unused_local_variable info - The value of the local variable 'cell3' isn't used - lib\guides\bunnyday2021.dart:62:9 - unused_local_variable info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\guides\catalogscanner.dart:157:23 - deprecated_member_use info - The value of the local variable 'locale' isn't used - lib\guides\celeste.dart:43:9 - unused_local_variable info - The value of the local variable 'cell2' isn't used - lib\guides\cj.dart:62:9 - unused_local_variable info - The value of the local variable 'cell2' isn't used - lib\guides\daisymae.dart:62:9 - unused_local_variable info - The value of the local variable 'cell' isn't used - lib\guides\dreamland.dart:46:9 - unused_local_variable info - The value of the local variable 'cell' isn't used - lib\guides\festivale.dart:52:9 - unused_local_variable info - The value of the local variable 'cell' isn't used - lib\guides\friendship.dart:46:9 - unused_local_variable info - The value of the local variable 'cell2' isn't used - lib\guides\friendship.dart:56:9 - unused_local_variable info - Unused import: 'package:flutter_ac/guides/balloons.dart' - lib\guides\guidemenu.dart:6:8 - unused_import info - Unused import: 'package:flutter_ac/guides/islandvisitors.dart' - lib\guides\guidemenu.dart:14:8 - unused_import info - Duplicate import - lib\guides\guidemenu.dart:25:8 - duplicate_import info - Duplicate import - lib\guides\guidemenu.dart:30:8 - duplicate_import info - Unused import: 'package:flutter_ac/nooklets/collectible_tab.dart' - lib\guides\guidemenu.dart:31:8 - unused_import info - The value of the local variable 'locale' isn't used - lib\guides\guidemenu.dart:130:9 - unused_local_variable info - The value of the local variable 'cell' isn't used - lib\guides\islandbackup.dart:45:9 - unused_local_variable info - The value of the local variable 'cell1' isn't used - lib\guides\islandbackup.dart:50:9 - unused_local_variable info - The value of the local variable 'cell4' isn't used - lib\guides\islandbackup.dart:65:9 - unused_local_variable info - The value of the local variable 'cell1' isn't used - lib\guides\islandvisitors.dart:49:9 - unused_local_variable info - The value of the local variable 'cell6' isn't used - lib\guides\islandvisitors.dart:73:9 - unused_local_variable info - The value of the local variable 'cell7' isn't used - lib\guides\islandvisitors.dart:78:9 - unused_local_variable info - The value of the local variable 'cell8' isn't used - lib\guides\islandvisitors.dart:83:9 - unused_local_variable info - The value of the local variable 'cell' isn't used - lib\guides\moneytreeeeeeee.dart:45:9 - unused_local_variable info - The value of the local variable 'cell1' isn't used - lib\guides\moneytreeeeeeee.dart:50:9 - unused_local_variable info - The value of the local variable 'cell2' isn't used - lib\guides\moneytreeeeeeee.dart:55:9 - unused_local_variable info - The value of the local variable 'cell3' isn't used - lib\guides\moneytreeeeeeee.dart:60:9 - unused_local_variable info - The value of the local variable 'cell4' isn't used - lib\guides\moneytreeeeeeee.dart:65:9 - unused_local_variable info - The value of the local variable 'cell7' isn't used - lib\guides\moneytreeeeeeee.dart:79:9 - unused_local_variable info - The value of the local variable 'cell' isn't used - lib\guides\mysteryislands.dart:45:9 - unused_local_variable info - Unused import: 'package:flutter_ac/collectible/collectible.dart' - lib\guides\patreon.dart:4:8 - unused_import info - Unused import: '../deep_link_handler.dart' - lib\guides\patreon.dart:15:8 - unused_import info - The value of the local variable 'locale' isn't used - lib\guides\patreon.dart:44:9 - unused_local_variable info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\guides\patreon.dart:76:13 - deprecated_member_use info - 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\guides\patreon.dart:122:13 - deprecated_member_use info - The value of the local variable 'title' isn't used - lib\guides\patreon.dart:155:12 - unused_local_variable info - The value of the local variable 'catalogHash' isn't used - lib\guides\patreon.dart:157:12 - unused_local_variable info - The declaration 'prepareCatalogImport' isn't referenced - lib\guides\patreon.dart:159:10 - unused_element info - The value of the local variable 'cell' isn't used - lib\guides\pumpkins.dart:45:9 - unused_local_variable info - The value of the local variable 'cell1' isn't used - lib\guides\pumpkins.dart:50:9 - unused_local_variable info - The value of the local variable 'cell2' isn't used - lib\guides\pumpkins.dart:55:9 - unused_local_variable info - The value of the local variable 'cell3' isn't used - lib\guides\pumpkins.dart:60:9 - unused_local_variable info - The value of the local variable 'cell6' isn't used - lib\guides\pumpkins.dart:74:9 - unused_local_variable info - The value of the local variable 'cell2' isn't used - lib\guides\redd.dart:62:9 - unused_local_variable info - The value of the local variable 'cell2' isn't used - lib\guides\snowboy.dart:61:9 - unused_local_variable info - The value of the local variable 'cell2' isn't used - lib\guides\toyday.dart:61:9 - unused_local_variable info - Unused import: 'package:flutter_ac/main.dart' - lib\home.dart:11:8 - unused_import info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: Home.child, Home.title - lib\home.dart:46:7 - must_be_immutable info - The value of the local variable 'updatenotifier' isn't used - lib\home.dart:319:13 - unused_local_variable info - The declaration '_showSoontDialog' isn't referenced - lib\home.dart:500:6 - unused_element info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\home.dart:511:13 - deprecated_member_use info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: IdMigrator.child, IdMigrator._settings - lib\id_migration.dart:17:7 - must_be_immutable info - The value of the local variable '_dbHelper' isn't used - lib\id_migration.dart:88:14 - unused_local_variable info - The declaration '_idMapOld0' isn't referenced - lib\id_migration.dart:25439:21 - unused_element info - Unused import: 'dart:convert' - lib\main.dart:1:8 - unused_import info - Unused import: 'package:flutter_ac/id_migration.dart' - lib\main.dart:15:8 - unused_import info - Unused import: 'package:http/http.dart' - lib\main.dart:22:8 - unused_import info - Unused import: 'package:flutter_ac/dbhelper.dart' - lib\main.dart:24:8 - unused_import info - Unused import: 'network/authTypeSelector.dart' - lib\main.dart:26:8 - unused_import info - Unused import: 'network/auth_platform.dart' - lib\main.dart:27:8 - unused_import info - Unused import: 'nooklets/nook_constants.dart' - lib\main.dart:40:8 - unused_import info - The value of the field '_deviceData' isn't used - lib\main.dart:101:24 - unused_field info - Unused import: 'dart:convert' - lib\network\authTypeSelector.dart:1:8 - unused_import info - Unused import: 'dart:developer' - lib\network\authTypeSelector.dart:2:8 - unused_import info - Unused import: 'package:flutter_ac/network/backendservices.dart' - lib\network\authTypeSelector.dart:5:8 - unused_import info - Unused import: 'package:openid_client/openid_client_io.dart' - lib\network\authTypeSelector.dart:10:8 - unused_import info - Unused import: 'package:url_launcher/url_launcher.dart' - lib\network\authTypeSelector.dart:12:8 - unused_import info - Unused import: 'package:http/http.dart' - lib\network\authTypeSelector.dart:13:8 - unused_import info - Unused import: '../nooklets/nook_constants.dart' - lib\network\authTypeSelector.dart:15:8 - unused_import info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: AuthTypeSelector.child - lib\network\authTypeSelector.dart:18:7 - must_be_immutable info - 'showSnackBar' is deprecated and shouldn't be used. Use ScaffoldMessenger.showSnackBar. This feature was deprecated after v1.23.0-14.0.pre. - lib\network\authTypeSelector.dart:32:26 - deprecated_member_use info - Unused import: 'dart:io' - lib\network\backendservices.dart:3:8 - unused_import info - Unused import: 'package:flutter/foundation.dart' - lib\network\backendservices.dart:6:8 - unused_import info - Unused import: 'package:flutter/services.dart' - lib\network\backendservices.dart:8:8 - unused_import info - Unused import: 'package:flutter_ac/collectible/collectible_list.dart' - lib\network\backendservices.dart:12:8 - unused_import info - Unused import: 'package:flutter_ac/collectible/reaction.dart' - lib\network\backendservices.dart:13:8 - unused_import info - Unused import: 'package:flutter_ac/main.dart' - lib\network\backendservices.dart:15:8 - unused_import info - Unused import: 'package:flutter_ac/turnippricewebview.dart' - lib\network\backendservices.dart:18:8 - unused_import info - Unused import: 'package:flutter_ac/util.dart' - lib\network\backendservices.dart:19:8 - unused_import info - Unused import: 'package:flutter_ac/translationmatching.dart' - lib\network\backendservices.dart:20:8 - unused_import info - Unused import: 'package:url_launcher/url_launcher.dart' - lib\network\backendservices.dart:26:8 - unused_import info - The value of the local variable 'localization' isn't used - lib\network\backendservices.dart:623:22 - unused_local_variable info - The value of the local variable 'localization' isn't used - lib\network\backendservices.dart:771:20 - unused_local_variable info - Unused import: 'dart:io' - lib\network\public\patreons.dart:3:8 - unused_import info - Unused import: 'package:flutter_ac/nooklets/nook_constants.dart' - lib\network\public\patreons.dart:5:8 - unused_import info - Unused import: 'dart:io' - lib\network\public\unlocks.dart:3:8 - unused_import info - Unused import: 'package:flutter_ac/collectible/collectible.dart' - lib\network\public\unlocks.dart:5:8 - unused_import info - Unused import: 'package:flutter_ac/nooklets/nook_constants.dart' - lib\network\public\unlocks.dart:6:8 - unused_import info - Unused import: 'dart:developer' - lib\nooklets\nook_button.dart:1:8 - unused_import info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\nooklets\nook_dialog.dart:58:26 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\nooklets\nook_dialog.dart:67:17 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\nooklets\nook_dialog.dart:99:17 - deprecated_member_use info - 'overflow' is deprecated and shouldn't be used. Use clipBehavior instead. See the migration guide in flutter.dev/go/clip-behavior. This feature was deprecated after v1.22.0-12.0.pre. - lib\nooklets\nook_display.dart:71:9 - deprecated_member_use info - 'Overflow' is deprecated and shouldn't be used. Use clipBehavior instead. See the migration guide in flutter.dev/go/clip-behavior. This feature was deprecated after v1.22.0-12.0.pre. - lib\nooklets\nook_display.dart:71:19 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\nooklets\nook_filter.dart:94:17 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\nooklets\nook_filter.dart:141:16 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\nooklets\nook_filter.dart:195:16 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\nooklets\nook_hints.dart:63:13 - deprecated_member_use info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: VillagerPictureRenderer.activeItems - lib\nooklets\nook_renderer.dart:4:7 - must_be_immutable info - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: NookletRowButton.onTap - lib\nooklets\nook_text.dart:415:7 - must_be_immutable info - The value of the local variable 'localization' isn't used - lib\nooklets\nook_time.dart:347:22 - unused_local_variable info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\nooklets\nook_time.dart:492:26 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\nooklets\nook_time.dart:607:23 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\nooklets\nook_time.dart:628:23 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\nooklets\nook_time.dart:639:19 - deprecated_member_use info - The declaration 'hemisphereAndFruit' isn't referenced - lib\profile.dart:236:10 - unused_element info - Dead code - lib\profile.dart:366:77 - dead_code info - Dead code - lib\profile.dart:381:81 - dead_code info - Dead code - lib\profile.dart:404:81 - dead_code info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\profile.dart:1195:23 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\profile.dart:1215:32 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\profile.dart:1236:32 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\profile.dart:1265:32 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\profile.dart:1300:32 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\profile.dart:1318:32 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\profile.dart:1347:22 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\profile.dart:1385:13 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\profile.dart:1431:13 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\profile.dart:1491:13 - deprecated_member_use info - Unused import: 'package:flutter_ac/network/auth_platform.dart' - lib\settings.dart:7:8 - unused_import info - Unused import: 'package:flutter_ac/network/backendservices.dart' - lib\settings.dart:8:8 - unused_import info - Unused import: 'package:flutter_styled_toast/flutter_styled_toast.dart' - lib\settings.dart:14:8 - unused_import info - The value of the local variable 'existingItem' isn't used - lib\settings.dart:699:27 - unused_local_variable info - The value of the local variable 'packageName' isn't used - lib\settings.dart:821:12 - unused_local_variable info - The value of the local variable 'menuItems' isn't used - lib\settings.dart:834:9 - unused_local_variable info - The value of the local variable 'localization' isn't used - lib\settings.dart:1062:9 - unused_local_variable info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\settings.dart:1121:11 - deprecated_member_use info - The value of the local variable 'locale' isn't used - lib\settings.dart:1249:9 - unused_local_variable info - The value of the local variable 'locale' isn't used - lib\turnippriceprophet.dart:16:10 - unused_local_variable info - The value of the local variable 'locale' isn't used - lib\turnippriceprophet.dart:60:11 - unused_local_variable info - The value of the local variable 'locale' isn't used - lib\turnippricewebview.dart:13:10 - unused_local_variable info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\turnippricewebview.dart:71:13 - deprecated_member_use info - 'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. - lib\turnippricewebview.dart:78:13 - deprecated_member_use info - The value of the local variable 'locale' isn't used - lib\turnippricewebview.dart:93:9 - unused_local_variable info - Unused import: 'dart:developer' - lib\util.dart:1:8 - unused_import 216 issues found. (ran in 8.2s) ``` ``` [√] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.19043.1348], locale de-DE) • Flutter version 2.5.3 at C:\SDKs\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 18116933e7 (6 weeks ago), 2021-10-15 10:46:35 -0700 • Engine revision d3ea636dc5 • Dart version 2.14.4 [√] Android toolchain - develop for Android devices (Android SDK version 32.0.0-rc1) • Android SDK at C:\Users\Patrick\AppData\Local\Android\sdk • Platform android-31, build-tools 32.0.0-rc1 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01) • All Android licenses accepted. [√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe [√] Android Studio (version 4.1) • Android Studio at C:\Program Files\Android\Android Studio • 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-b01) [√] IntelliJ IDEA Ultimate Edition (version 2021.2) • IntelliJ at C:\Program Files\IntelliJ IDEA • 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 [√] VS Code (version 1.62.3) • VS Code at C:\Users\Patrick\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.28.0 [√] Connected device (2 available) • Chrome (web) • chrome • web-javascript • Google Chrome 96.0.4664.45 • Edge (web) • edge • web-javascript • Microsoft Edge 96.0.1054.29 • No issues found! ```
maheshj01 commented 2 years ago

Hi @KevinCCucumber, I have verified the ads plugin on Xiaomi k20 pRO (android 11) and the ads do load fine for me. I would advise you to please

Purus commented 2 years ago

I am facing the same issue with my Redmi Note 7 pro. All I see is a white screen in the app.

When I disabled the below line, app works.. and also test ads shown(my device is configured as test device and also using test id in debug mode).

await MobileAds.instance.initialize()

Here is output of flutter run -v : https://gist.github.com/Purus/707bd62fa1145ef91b614dfaf764c591

maheshj01 commented 2 years ago

When I disabled the below line, the app works.

@Purus you seem to be hitting this issue https://github.com/googleads/googleads-mobile-flutter/issues/429, not relevant to this issue. Please follow up on the linked issue.

vijaypareek13 commented 2 years ago

I got the same issue with Redmi note 7, it crashes on production mode but working fine in debug mode. And surprisingly, it works with other devices in production mode without failure.

LSP4096 commented 2 years ago

Me too me too !!!!!!!

maheshj01 commented 2 years ago

I am unable to reproduce this on Xiaomi k20 pro (Android 11) with google_mobile_ads: ^1.0.1, Any one who is able to reproduce this can you please share the complete logs flutter run -v and the device name and Android version on which this was reproduced along with the version of the ads plugin.

Thank you.

BitBlueDevStudio commented 2 years ago

Same issue.

github-actions[bot] commented 2 years ago

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output of 'flutter doctor -v'. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.

vijaypareek13 commented 2 years ago

Upgrading the plugin solved this problem