Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
expo-ads-admob
Advanced tools
Provides support for the Google AdMob SDK (https://www.google.com/admob/) for mobile advertising. This module is largely based of the react-native-admob (https://github.com/sbugert/rea ct-native-admob) module, as the documentation and questions surroundin
Provides support for the Google AdMob SDK (https://www.google.com/admob/) for mobile advertising. This module is largely based of the react-native-admob (https://github.com/sbugert/rea ct-native-admob) module, as the documentation and questions surrounding that module may prove helpful. A simple example implementing AdMob SDK can be found at https://github.com/deadcoder0904/expo-goo gle-admob
This package is pre-installed in managed Expo projects. You may skip the rest of the installation guide if this applies to you.
For bare React Native projects, you must ensure that you have installed and configured the @unimodules/core
package before continuing.
npm install expo-ads-admob
Add the dependency to your Podfile
and then run pod install
.
pod 'EXAdsAdMob', path: '../node_modules/expo-ads-admob/ios'
android/settings.gradle
:include ':expo-ads-admob'
project(':expo-ads-admob').projectDir = new File(rootProject.projectDir, '../node_modules/expo-ads-admob/android')
android/app/build.gradle
:api project(':expo-ads-admob')
MainApplication.java
, import the package and add it to the ReactModuleRegistryProvider
list:import expo.modules.expo.modules.ads.admob.AdMobPackage;
private final ReactModuleRegistryProvider mModuleRegistryProvider = new ReactModuleRegistryProvider(Arrays.<Package>asList(
// Your other packages will be here
new AdMobPackage()
), Arrays.<SingletonModule>asList());
Contributions are very welcome! Please refer to guidelines described in the contributing guide.
FAQs
Provides support for the Google AdMob SDK (https://www.google.com/admob/) for mobile advertising. This module is largely based of the react-native-admob (https://github.com/sbugert/react-native-admob) module, as the documentation and questions surrounding
The npm package expo-ads-admob receives a total of 819 weekly downloads. As such, expo-ads-admob popularity was classified as not popular.
We found that expo-ads-admob demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 26 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.