And what's the rest of this code?
I`m trying to display BannerAd in the home page whenever I try to run the app throwing exception
Votes
1
Replies
24
Participants
Unknown
Messages
25
@everyone
@everyone
the rest of this Code is just navigation from page to another
@everyone
if I comment the DisplayBanner(),
@everyone
The code run nomral
Uhm...are you running a windows desktop app?
The package is only supported on mobile devices
@everyone
I`m running the app on emulator
Where's the exception?
@everyone
Cuz I commented DisplayBanner widget so no exception
Would you please share the rest of the code from this file?
So you're still getting the same exception running on an emulator?
@everyone
yes
@everyone
@everyone
This is the BannerAd code
@everyone
if there`s anymistake should be here
Would you please share a screenshot of the exception?
Uhhh you can't just throw unimplemented...
@everyone
its by default
You need.to implement it
@everyone
are u free for a few mins
?
Sorry I am not.
Also, FYI, this is a discord server for Appwrite (https://appwrite.io/). For general flutter help, you might find more help in a flutter specific discord server.
@everyone
okay thx
Also, did you call MobileAds.instance.initialize() on app start?
@everyone
Yes I did