Skip to content

Commit

Permalink
chore: update plugin to version 2.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
MortezaNedaei committed Aug 14, 2024
1 parent fae3e85 commit 6a73aae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
10 changes: 5 additions & 5 deletions src/jekyll/docs/plus-sdk/flutter/native-fa.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ toc: true

```dart
final zoneId = "theZoneIdYouHave";
TapsellPlus.instance.requestNativeAd(zoneId).then((responseId) {
// SAVE the responseId
}).catchError((error) {
// Error requesting for an ad
});
TapsellPlus.instance.requestNativeAd(zoneId, onResponse: (map) {
// SAVE the responseId
}, onError: (map) {
// Error requesting for an ad
});
```
خروجی تابع یک
Future
Expand Down
13 changes: 2 additions & 11 deletions src/jekyll/docs/plus-sdk/flutter/standard-fa.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,10 @@ TapsellPlus.instance
.requestStandardBannerAd(
zoneId, TapsellPlusBannerType.BANNER_320x50, onResponse: (map) {
// SAVE the responseId
}, onError: (map) {
}, onError: (map) {
// Error when requesting for an ad
}
}
});
TapsellPlus.instance
.requestStandardBannerAd(
zoneId, TapsellPlusBannerType.BANNER_320x100)
.then((responseId) {
// SAVE the responseId
}).catchError((error) {
// Error when requesting for an ad
});
```

BANNER_TYPE سایز نمایش بنر هست و میتواند مقادیر زیر باشد:
Expand Down

0 comments on commit 6a73aae

Please sign in to comment.