Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug/fix build preivew #591

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 2 additions & 3 deletions RNAdMobBanner.js
Expand Up @@ -2,12 +2,12 @@ import { arrayOf, func, string } from 'prop-types';
import React, { Component } from 'react';
import {
findNodeHandle,
requireNativeComponent,
UIManager,
ViewPropTypes,
} from 'react-native';
import { createErrorFromErrorData } from './utils';

const requireNativeComponent = require('react-native').requireNativeComponent;

class AdMobBanner extends Component {
constructor() {
super();
Expand Down Expand Up @@ -62,7 +62,6 @@ class AdMobBanner extends Component {
AdMobBanner.simulatorId = 'SIMULATOR';

AdMobBanner.propTypes = {
...ViewPropTypes,

/**
* AdMob iOS library banner size constants
Expand Down
5 changes: 2 additions & 3 deletions RNPublisherBanner.js
Expand Up @@ -2,12 +2,12 @@ import { arrayOf, func, string } from 'prop-types';
import React, { Component } from 'react';
import {
findNodeHandle,
requireNativeComponent,
UIManager,
ViewPropTypes,
} from 'react-native';
import { createErrorFromErrorData } from './utils';

const requireNativeComponent = require('react-native').requireNativeComponent;

class PublisherBanner extends Component {
constructor() {
super();
Expand Down Expand Up @@ -71,7 +71,6 @@ class PublisherBanner extends Component {
PublisherBanner.simulatorId = 'SIMULATOR';

PublisherBanner.propTypes = {
...ViewPropTypes,

/**
* DFP iOS library banner size constants
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Expand Up @@ -22,5 +22,5 @@ android {

dependencies {
implementation 'com.facebook.react:react-native:+'
implementation 'com.google.android.gms:play-services-ads:+'
implementation 'com.google.android.gms:play-services-ads:16.0.0'
}