Skip to content

Commit

Permalink
Merge pull request #34 from sakebook/release/0.3.0
Browse files Browse the repository at this point in the history
Release 0.3.0
  • Loading branch information
sakebook authored Nov 11, 2019
2 parents d2e09d7 + 675bf46 commit 272bc06
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 14 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.3.0

* Add fields Icon and more.

## 0.2.1

* Update iOS pod repo.
Expand Down
22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ Mapping by view id
|MediaView|flutter_native_ad_media|
|Call To Action|flutter_native_ad_call_to_action|
|Attribution|flutter_native_ad_attribution|
|Icon|flutter_naitve_ad_icon|
|Star rating|flutter_naitve_ad_star|
|Store|flutter_naitve_ad_store|
|Price|flutter_naitve_ad_price|
|Advertiser|flutter_naitve_ad_advertiser|

### iOS
Mapping by Outlet
Expand Down Expand Up @@ -187,12 +192,16 @@ class MyApp extends StatelessWidget {
```

## Supported native ads fields
- Headline
- Body
- Media
- Call To Action
- Ad Attribution

- Headline(Required)
- Body(Required)
- Media(Required)
- Call To Action(Required)
- Ad Attribution(Required)
- Icon
- Star rating
- Store
- Price
- Advertiser

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

- No support [some native ads fields](https://support.google.com/admob/answer/6240809).
- No support [Mediation Ads](https://developers.google.com/admob/android/mediate).
Binary file modified art/android_capture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified art/ios_capture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ PODS:
- nanopb/encode (= 0.3.9011)
- nanopb/decode (0.3.9011)
- nanopb/encode (0.3.9011)
- native_ads (0.2.1):
- native_ads (0.3.0):
- Flutter
- Google-Mobile-Ads-SDK

Expand All @@ -56,7 +56,7 @@ SPEC CHECKSUMS:
GoogleAppMeasurement: 037f46d1d8ae8b312720f1042585ab961a1289e3
GoogleUtilities: f895fde57977df4e0233edda0dbeac490e3703b6
nanopb: 18003b5e52dab79db540fe93fe9579f399bd1ccd
native_ads: 8962a1e3c92cfdde302aa3515b6dd995643fbc8b
native_ads: 74a76d2873b0de09d7e7b8aad0057aaad9e5f18b

PODFILE CHECKSUM: b6a0a141693093b304368d08511b46cf3d1d0ac5

Expand Down
3 changes: 2 additions & 1 deletion example/ios/Runner/UnifiedNativeAdView.xib
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
<device id="retina5_5" orientation="portrait" appearance="dark"/>
<device id="retina5_5" orientation="portrait" appearance="light"/>
<dependencies>
<deployment version="4352" identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15509"/>
Expand Down Expand Up @@ -36,6 +36,7 @@
<constraint firstAttribute="height" constant="36" id="fRm-g5-hxl"/>
</constraints>
<fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.2.1"
version: "0.3.0"
path:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: native_ads_example
description: Demonstrates how to use the native_ads plugin.
publish_to: 'none'
version: 0.2.1
version: 0.3.0

environment:
sdk: ">=2.1.0 <3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion ios/native_ads.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
Pod::Spec.new do |s|
s.name = 'native_ads'
s.version = '0.2.1'
s.version = '0.3.0'
s.swift_version = '5.0'
s.summary = 'Flutter native ads with PlatformView'
s.description = <<-DESC
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: native_ads
description: Flutter plugin for AdMob Native Ads. Compatible with Android and iOS using PlatformView.
version: 0.2.1
version: 0.3.0
author: sakebook <[email protected]>
homepage: https://github.com/sakebook/flutter_native_ads

Expand Down

0 comments on commit 272bc06

Please sign in to comment.