Skip to content

Commit 272bc06

Browse files
authored
Merge pull request #34 from sakebook/release/0.3.0
Release 0.3.0
2 parents d2e09d7 + 675bf46 commit 272bc06

10 files changed

Lines changed: 27 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.3.0
2+
3+
* Add fields Icon and more.
4+
15
## 0.2.1
26

37
* Update iOS pod repo.

README.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@ Mapping by view id
110110
|MediaView|flutter_native_ad_media|
111111
|Call To Action|flutter_native_ad_call_to_action|
112112
|Attribution|flutter_native_ad_attribution|
113+
|Icon|flutter_naitve_ad_icon|
114+
|Star rating|flutter_naitve_ad_star|
115+
|Store|flutter_naitve_ad_store|
116+
|Price|flutter_naitve_ad_price|
117+
|Advertiser|flutter_naitve_ad_advertiser|
113118

114119
### iOS
115120
Mapping by Outlet
@@ -187,12 +192,16 @@ class MyApp extends StatelessWidget {
187192
```
188193

189194
## Supported native ads fields
190-
- Headline
191-
- Body
192-
- Media
193-
- Call To Action
194-
- Ad Attribution
195-
195+
- Headline(Required)
196+
- Body(Required)
197+
- Media(Required)
198+
- Call To Action(Required)
199+
- Ad Attribution(Required)
200+
- Icon
201+
- Star rating
202+
- Store
203+
- Price
204+
- Advertiser
196205

197206
## Event callback
198207
Receive callbacks for some events by passing to the NativeAdView constructor
@@ -208,5 +217,4 @@ Receive callbacks for some events by passing to the NativeAdView constructor
208217
This is just an initial version of the plugin. There are still some
209218
limitations:
210219

211-
- No support [some native ads fields](https://support.google.com/admob/answer/6240809).
212220
- No support [Mediation Ads](https://developers.google.com/admob/android/mediate).

art/android_capture.png

565 KB
Loading

art/ios_capture.png

-1.4 MB
Loading

example/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ PODS:
2929
- nanopb/encode (= 0.3.9011)
3030
- nanopb/decode (0.3.9011)
3131
- nanopb/encode (0.3.9011)
32-
- native_ads (0.2.1):
32+
- native_ads (0.3.0):
3333
- Flutter
3434
- Google-Mobile-Ads-SDK
3535

@@ -56,7 +56,7 @@ SPEC CHECKSUMS:
5656
GoogleAppMeasurement: 037f46d1d8ae8b312720f1042585ab961a1289e3
5757
GoogleUtilities: f895fde57977df4e0233edda0dbeac490e3703b6
5858
nanopb: 18003b5e52dab79db540fe93fe9579f399bd1ccd
59-
native_ads: 8962a1e3c92cfdde302aa3515b6dd995643fbc8b
59+
native_ads: 74a76d2873b0de09d7e7b8aad0057aaad9e5f18b
6060

6161
PODFILE CHECKSUM: b6a0a141693093b304368d08511b46cf3d1d0ac5
6262

example/ios/Runner/UnifiedNativeAdView.xib

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
3-
<device id="retina5_5" orientation="portrait" appearance="dark"/>
3+
<device id="retina5_5" orientation="portrait" appearance="light"/>
44
<dependencies>
55
<deployment version="4352" identifier="iOS"/>
66
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15509"/>
@@ -36,6 +36,7 @@
3636
<constraint firstAttribute="height" constant="36" id="fRm-g5-hxl"/>
3737
</constraints>
3838
<fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
39+
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
3940
<nil key="highlightedColor"/>
4041
<userDefinedRuntimeAttributes>
4142
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ packages:
6666
path: ".."
6767
relative: true
6868
source: path
69-
version: "0.2.1"
69+
version: "0.3.0"
7070
path:
7171
dependency: transitive
7272
description:

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: native_ads_example
22
description: Demonstrates how to use the native_ads plugin.
33
publish_to: 'none'
4-
version: 0.2.1
4+
version: 0.3.0
55

66
environment:
77
sdk: ">=2.1.0 <3.0.0"

ios/native_ads.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
Pod::Spec.new do |s|
55
s.name = 'native_ads'
6-
s.version = '0.2.1'
6+
s.version = '0.3.0'
77
s.swift_version = '5.0'
88
s.summary = 'Flutter native ads with PlatformView'
99
s.description = <<-DESC

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: native_ads
22
description: Flutter plugin for AdMob Native Ads. Compatible with Android and iOS using PlatformView.
3-
version: 0.2.1
3+
version: 0.3.0
44
author: sakebook <[email protected]>
55
homepage: https://github.com/sakebook/flutter_native_ads
66

0 commit comments

Comments
 (0)