Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import React, { Component } from 'react';
import { NativeAdsManager, AdSettings } from 'react-native-fbads';
import { Container } from 'native-base';
import { nativeAdPlacementId } from '../Variables/index';
import NativeAdView from './NativeAdView';
AdSettings.clearTestDevices();
AdSettings.setLogLevel('debug');
AdSettings.addTestDevice(AdSettings.currentDeviceHash);
const adsManager = new NativeAdsManager(nativeAdPlacementId);
export default class NativeAd extends Component {
render() {
return (