Skip to content

Conversation

@brunolemos
Copy link

No description provided.

koenpunt added 30 commits August 2, 2017 12:53
please note, these changes are not backwards compatible.

The exported view properties now match the properties of the DFPBannerView.

I've now implemented the `validAdSizes` property, and replaced the `testDeviceID` property with `testDevices`. Also the simulator device id can be specified using `PublisherBanner.simulatorId` instead of `"EMULATOR"`.

The conversion of json to GADAdSize is now implemented using a RCTConvert category.

And lastly, the `loadBanner` method is now exposed to react, to allow easy banner refresh, and removes the need of checking which properties are available before making a request to admob.
this omits the need of explicit conversion
also, there are no nativeOnly events so removed those
instead of the mixed names like RNAdMobManager and BannerView they're all named like the implemented class, e.g. RNGADBannerView and RNGADBannerViewManager.
replaced deprecated RCTEventDispatcher with RCTEventEmitter
replaced deprecated RCTEventDispatcher with RCTEventEmitter
this is more or less the bare minimum, we should probably add some rules along the way
koenpunt and others added 29 commits August 2, 2017 23:11
the adUnitID can only be set once, and sometimes in unfortunate rerenders the prop is set twice, which caused a crash.
since app events are a DFP feature, and not an AdMob feature
- replace markdown tables with html, to make them more maintainable
- reformat prop definitions
- increment all headings
- move badge
- explicit react-native link
- reorder event table columns
- version disclaimer
add adFailedToOpen and videoStarted events
Moving forward: Version 2 beta.
* alpha => beta

* remove linking specifics

since there are no anomalies we can simply refer to the default linking guide

if that might not be sufficient we can always opt for an additional wiki page dedicated to linking the library
since events are not scoped to a module they did clash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants