forked from sbugert/react-native-admob
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: lazy load each module, update eslint config
- Loading branch information
Showing
5 changed files
with
25 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
import AdMobBanner from './RNAdMobBanner'; | ||
import AdMobInterstitial from './RNAdMobInterstitial'; | ||
import PublisherBanner from './RNPublisherBanner'; | ||
import AdMobRewarded from './RNAdMobRewarded'; | ||
|
||
export { AdMobBanner, AdMobInterstitial, PublisherBanner, AdMobRewarded }; | ||
/* eslint-disable global-require */ | ||
module.exports = { | ||
get AdMobBanner() { | ||
return require('./RNAdMobBanner').default; | ||
}, | ||
get AdMobInterstitial() { | ||
return require('./RNAdMobInterstitial').default; | ||
}, | ||
get PublisherBanner() { | ||
return require('./RNPublisherBanner').default; | ||
}, | ||
get AdMobRewarded() { | ||
return require('./RNAdMobRewarded').default; | ||
}, | ||
}; |
This file contains 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