This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var path = require('path'); | |
var webpack = require('webpack'); | |
var HtmlWebpackPlugin = require('html-webpack-plugin'); | |
module.exports = { | |
devtool: 'eval-source-map', | |
entry: [ | |
'webpack-hot-middleware/client?reload=true', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const advert = firebase.admob().rewarded('ca-app-pub-4796389498971323~7794037532'); | |
class HomeScreen extends PureComponent { | |
componentDidMount() { | |
const AdRequest = firebase.admob.AdRequest; | |
const request = new AdRequest(); | |
advert.loadAd(request.build()); | |
console.log(firebase) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {Component} from 'react'; | |
import { | |
TouchableOpacity, | |
Text, | |
View, | |
Image, | |
Animated, | |
PanResponder, | |
StyleSheet, | |
ScrollView, |