Skip to content

Bug autoplay not compatible with google ads  #70

@zakblacki

Description

@zakblacki

I have added ad banner condition on carousel like this

List<String> _carouselImages = [];
 Carousel(
                              autoplay: true,
                              autoplayDuration: Duration(microseconds: 1000),
                              images: _carouselImages
                                  .map((images) => images == "ad"
                                      ? BannerAdAdmob()
                                      : ExtendedImage.network(
                                          images,
                                          height: height * 0.26,
                                          width: width,
                                          fit: BoxFit.cover,
                                          cache: true,
                                        ))
                                  .toList()
                              ),

I have also enabled set autoplay: true,
but the carousel does not move it only moving with user input manually, but when I remove the google ads it works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions