expo-ads-facebook
Advanced tools
Comparing version 7.0.0 to 8.0.0
@@ -45,5 +45,5 @@ import { NativeModulesProxy } from '@unimodules/core'; | ||
setUrlPrefix(urlPrefix) { | ||
CTKAdSettingsManager.setUrlPrefix(urlPrefix); | ||
CTKAdSettingsManager.setUrlPrefix(urlPrefix || null); | ||
}, | ||
}; | ||
//# sourceMappingURL=AdSettings.js.map |
@@ -42,3 +42,3 @@ import nullthrows from 'nullthrows'; | ||
this._adOptionsViewContextValue = { | ||
nativeAdViewRef: this._nativeAdViewRef | ||
nativeAdViewRef: this._nativeAdViewRef, | ||
}; | ||
@@ -100,16 +100,14 @@ this._adIconViewContextValue = { | ||
let viewHierarchy = (<NativeAdView ref={this._nativeAdViewRef} adsManager={adsManager.placementId} onAdLoaded={this._handleAdLoaded}> | ||
<AdMediaViewContext.Provider value={this._adMediaViewContextValue}> | ||
<AdIconViewContext.Provider value={this._adIconViewContextValue}> | ||
<AdTriggerViewContext.Provider value={this._adTriggerViewContextValue}> | ||
<AdOptionsViewContext.Provider value={this._adOptionsViewContextValue}> | ||
{this.state.ad ? (<Component {...props} nativeAd={this.state.ad}/>) : null} | ||
</AdOptionsViewContext.Provider> | ||
</AdTriggerViewContext.Provider> | ||
</AdIconViewContext.Provider> | ||
</AdMediaViewContext.Provider> | ||
</NativeAdView>); | ||
<AdMediaViewContext.Provider value={this._adMediaViewContextValue}> | ||
<AdIconViewContext.Provider value={this._adIconViewContextValue}> | ||
<AdTriggerViewContext.Provider value={this._adTriggerViewContextValue}> | ||
<AdOptionsViewContext.Provider value={this._adOptionsViewContextValue}> | ||
{this.state.ad ? <Component {...props} nativeAd={this.state.ad}/> : null} | ||
</AdOptionsViewContext.Provider> | ||
</AdTriggerViewContext.Provider> | ||
</AdIconViewContext.Provider> | ||
</AdMediaViewContext.Provider> | ||
</NativeAdView>); | ||
if (NativeAdLayout) { | ||
return (<NativeAdLayout> | ||
{viewHierarchy} | ||
</NativeAdLayout>); | ||
return <NativeAdLayout>{viewHierarchy}</NativeAdLayout>; | ||
} | ||
@@ -116,0 +114,0 @@ return viewHierarchy; |
{ | ||
"name": "expo-ads-facebook", | ||
"version": "7.0.0", | ||
"version": "8.0.0", | ||
"description": "Facebook Audience SDK integration", | ||
@@ -43,3 +43,3 @@ "main": "build/index.js", | ||
}, | ||
"gitHead": "4e13b3cb88d9205f14bee7764038ab2dd9ef1fbd" | ||
"gitHead": "ec7878b9ce54f2537721218ae0fe4017e4004806" | ||
} |
@@ -21,3 +21,3 @@ # expo-ads-facebook | ||
``` | ||
npm install expo-ads-facebook | ||
expo install expo-ads-facebook | ||
``` | ||
@@ -24,0 +24,0 @@ |
@@ -50,4 +50,4 @@ import { NativeModulesProxy } from '@unimodules/core'; | ||
setUrlPrefix(urlPrefix: string): void { | ||
CTKAdSettingsManager.setUrlPrefix(urlPrefix); | ||
CTKAdSettingsManager.setUrlPrefix(urlPrefix || null); | ||
}, | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
154695
113
1365