Skip to content
This repository has been archived by the owner on Mar 12, 2022. It is now read-only.

App freeze when app has no interent connection #6

Closed
sushilbalami opened this issue Feb 14, 2021 · 2 comments
Closed

App freeze when app has no interent connection #6

sushilbalami opened this issue Feb 14, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@sushilbalami
Copy link

sushilbalami commented Feb 14, 2021

When there are no internet connection app freezes while loading ads on the app
I put the below code on the bottom navigation bar so when there is no internet connection app freezes.
while loading native ads

NativeAd(
            controller: _nativAdController,
            height: 60,
            buildLayout: adBannerLayoutBuilder,
            loading: Text('Loading'),
            error: Text('Error'),
            icon: AdImageView(padding: EdgeInsets.only(left: 6)),
            headline: AdTextView(
              style: TextStyle(color: Colors.black),
              maxLines: 1,
            ),
            advertiser: AdTextView(style: TextStyle(color: Colors.black)),
            body: AdTextView(style: TextStyle(color: Colors.black)),
            media: AdMediaView(height: 70, width: 120),
            button: AdButtonView(
              margin: EdgeInsets.only(left: 6, right: 6),
              textStyle: TextStyle(color: Colors.green, fontSize: 14),
            ),
          ),

Sometimes on internet connection too
Screenshot_2021-02-14-14-01-52-277_com.miui.bugreport.jpg
Screenshot_2021-02-14-14-01-54-387_com.miui.bugreport.jpg
Screenshot_2021-02-14-14-02-18-256_com.miui.bugreport.jpg

@bdlukaa bdlukaa added the bug Something isn't working label Feb 14, 2021
@bdlukaa
Copy link
Owner

bdlukaa commented Feb 14, 2021

Thanks for reporting this error. I just released a new version (v0.8.2) with the fix for it. If you still see the error with that version, please open a new issue with more details.

@bdlukaa bdlukaa closed this as completed Feb 14, 2021
@sushilbalami
Copy link
Author

ok

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants