
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
tauri-plugin-admob-api
Advanced tools
> For now this is just a copy of [admob-plus](https://github.com/admob-plus/admob-plus) in the future I would like to refactor the code to be more Tauri friendly.
For now this is just a copy of admob-plus in the future I would like to refactor the code to be more Tauri friendly.
The plugin currently only supports android. If you want iOS support, please feel free to create a pull request
Since this plugin is yet not published to crates.io or npm registery, we can install it using github link directly.
npm i https://github.com/Dreaming-Codes/tauri-plugin-admob.git
You might need to update your tauri version to "2.4.0" or more
src-tauri directory run this commandcargo add tauri-plugin-admob --git https://github.com/Dreaming-Codes/tauri-plugin-admob.git
-Xskip-metadata-version-check// src-tauri/gen/android/app/build.gradle.kts
kotlinOptions {
// ...
freeCompilerArgs += "-Xskip-metadata-version-check"
}
<meta-data> tag with android:name="com.google.android.gms.ads.APPLICATION_ID". You can find your
app ID in the AdMob web interface. For android:value, insert your own AdMob app ID, surrounded by quotation
marks.<!-- ./src-tauri/gen/android/app/src/main/AndroidManifest.xml -->
<manifest>
<application>
<!-- Sample AdMob app ID: ca-app-pub-3940256099942544~3347511713 -->
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy"/>
<meta-data
android:name="com.google.android.gms.ads.DELAY_APP_MEASUREMENT_INIT"
android:value="true"/>
</application>
</manifest>
import { BannerAd } from "tauri-plugin-admob-api";
const showBanner = async () => {
const banner = new BannerAd({
adUnitId: "ca-app-pub-3940256099942544/9214589741",
position: "bottom",
});
await banner.load();
await banner.show();
};
For more details on how to use it check the documentation of admob-plus
FAQs
> For now this is just a copy of [admob-plus](https://github.com/admob-plus/admob-plus) in the future I would like to refactor the code to be more Tauri friendly.
We found that tauri-plugin-admob-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.