Comments (8)
Hi, Thank you for the feedback. We have added a feature to collapse the empty ad space and expand it only if the ad is loaded. We will be pushing the update in a day to two.
from facebook_audience_network.
@SachinGanesh Thank you so much. Waiting for the update...
from facebook_audience_network.
Hi. This feature is now available through ios branch. If everything works fine we will release it through pub.dev
You can use the below dependecy to test the integration
facebook_audience_network:
git:
url: [email protected]:dreamsoftin/facebook_audience_network.git
ref: ios
from facebook_audience_network.
Hi, the ios branch package is adding ~200% blank space below the NativeBanner.
from facebook_audience_network.
I was using page view (one item per page) so the collapse feature wasn't as useful for me but I came with this using stack, you can put loading behind the native ad so when the ad finishes loading it covers the loading progress indicator.
Stack(
children: [
Align(alignment : Alignment.center,child: CircularProgressIndicator()),
FacebookNativeAd(
placementId: "placement_id",
adType: NativeAdType.NATIVE_AD,
width: double.infinity,
height: MediaQuery.of(context).size.height/2,
backgroundColor: Colors.white,
titleColor: Colors.black87,
descriptionColor: Colors.black87,
buttonColor: Colors.deepOrange.withOpacity(0.6),
buttonTitleColor: Colors.white,
buttonBorderColor: Colors.deepOrange,
keepAlive: true,
keepExpandedWhileLoading: false,
expandAnimationDuraion: 300,
listener: (NativeAdResult result, value) {
print("Native Ad: $result --> $value");
},
),
],
)
from facebook_audience_network.
@henoktadesse What about Native Banner ads? After the update, native banner ads add some extra space under the ad. I am not able to understand the reason.
from facebook_audience_network.
@Omi231 Please share a screenshot to show the issue
from facebook_audience_network.
I fixed it by passing height property in NativeAd() widget. This is not mentioned in documentation.
Thank you for the good work. Please improve expandAnimation if possible. It looks glitchy thats why I opted to not use it.
Stay blessed!
from facebook_audience_network.
Related Issues (20)
- Undefined symbols for architecture arm64 HOT 1
- Deprecated version of the Android embedding! HOT 2
- Multiple Interstitial Ads
- Does it still work.(Bidding) HOT 7
- Has this project been abandoned? HOT 7
- The plugin `facebook_audience_network` uses a deprecated version of the Android embedding. HOT 4
- Undefined symbols for architecture arm64: HOT 1
- Could not resolve com.facebook.android:audience-network-sdk:6.+. Received status code 502 from server: Bad Gateway HOT 3
- Version Solving Failed
- Native Banner Ads and Banner Ads background or Title color is not change.
- App crash on release mode - Banner Ad
- did facebook_audience_network support Android V2 embedding ??
- Plugin not compatible with url_launcher
- Native Ad error but no error code HOT 1
- Use of the REQUEST_INSTALL_PACKAGES permission
- Did fan supports bidding with admob HOT 2
- Banner ad not showing
- IOS device not show test and HOT 6
- Rewarded Ad: RewardedVideoAdResult.ERROR HOT 2
- it's showing no fill on banner ad .
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facebook_audience_network.