update deps

Seto committed Nov 22, 2025 at 09:49 UTC f254a049b6f2b1d351c8765994d3cc78c56ccacf
6 files changed +68 -35
.gitignore
+3
@@ -20,3 +20,6 @@ dist
20
21 # Project exclude paths
22 /android/.gradle/
23 +
24 +# Editor
25 +.zed
Cargo.toml
+1 -1
@@ -1,7 +1,7 @@
1 [package]
2 name = "tauri-plugin-admob"
3 version = "0.0.4"
4 -authors = [ "You" ]
4 +authors = [ "Tauri plugin admob authors" ]
5 description = "Tauri Plugin admob"
6 license = "MIT"
7 edition = "2021"
android/.gitignore
+3
@@ -1,2 +1,5 @@
1 /build
2 /.tauri
3 +
4 +# Android Studio
5 +*.properties
android/build.gradle.kts
+8 -8
@@ -5,7 +5,7 @@ plugins {
5
6 android {
7 namespace = "com.plugin.admob"
8 - compileSdk = 34
8 + compileSdk = 36
9
10 defaultConfig {
11 minSdk = 21
@@ -36,13 +36,13 @@ android {
36
37 dependencies {
38 // admob plugin
39 - implementation("com.google.android.gms:play-services-ads:23.2.0")
40 - implementation("androidx.core:core-ktx:1.9.0")
41 - implementation("androidx.appcompat:appcompat:1.6.0")
42 - implementation("com.google.android.material:material:1.7.0")
43 - implementation("com.google.android.ump:user-messaging-platform:2.2.0")
39 + implementation("com.google.android.gms:play-services-ads:24.5.0")
40 + implementation("androidx.core:core-ktx:1.17.0")
41 + implementation("androidx.appcompat:appcompat:1.7.1")
42 + implementation("com.google.android.material:material:1.13.0")
43 + implementation("com.google.android.ump:user-messaging-platform:4.0.0")
44 testImplementation("junit:junit:4.13.2")
45 - androidTestImplementation("androidx.test.ext:junit:1.1.5")
46 - androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
45 + androidTestImplementation("androidx.test.ext:junit:1.3.0")
46 + androidTestImplementation("androidx.test.espresso:espresso-core:3.7.0")
47 implementation(project(":tauri-android"))
48 }
permissions/autogenerated/reference.md
+2
@@ -2,6 +2,8 @@
2
3 Default permissions for the plugin
4
5 +#### This default permission set includes the following:
6 +
7 - `allow-adCreate`
8 - `allow-adHide`
9 - `allow-adIsLoaded`
permissions/schemas/schema.json
+51 -26
@@ -297,127 +297,152 @@
297 {
298 "description": "Enables the adCreate command without any pre-configured scope.",
299 "type": "string",
300 - "const": "allow-adCreate"
300 + "const": "allow-adCreate",
301 + "markdownDescription": "Enables the adCreate command without any pre-configured scope."
302 },
303 {
304 "description": "Denies the adCreate command without any pre-configured scope.",
305 "type": "string",
305 - "const": "deny-adCreate"
306 + "const": "deny-adCreate",
307 + "markdownDescription": "Denies the adCreate command without any pre-configured scope."
308 },
309 {
310 "description": "Enables the adHide command without any pre-configured scope.",
311 "type": "string",
310 - "const": "allow-adHide"
312 + "const": "allow-adHide",
313 + "markdownDescription": "Enables the adHide command without any pre-configured scope."
314 },
315 {
316 "description": "Denies the adHide command without any pre-configured scope.",
317 "type": "string",
315 - "const": "deny-adHide"
318 + "const": "deny-adHide",
319 + "markdownDescription": "Denies the adHide command without any pre-configured scope."
320 },
321 {
322 "description": "Enables the adIsLoaded command without any pre-configured scope.",
323 "type": "string",
320 - "const": "allow-adIsLoaded"
324 + "const": "allow-adIsLoaded",
325 + "markdownDescription": "Enables the adIsLoaded command without any pre-configured scope."
326 },
327 {
328 "description": "Denies the adIsLoaded command without any pre-configured scope.",
329 "type": "string",
325 - "const": "deny-adIsLoaded"
330 + "const": "deny-adIsLoaded",
331 + "markdownDescription": "Denies the adIsLoaded command without any pre-configured scope."
332 },
333 {
334 "description": "Enables the adLoad command without any pre-configured scope.",
335 "type": "string",
330 - "const": "allow-adLoad"
336 + "const": "allow-adLoad",
337 + "markdownDescription": "Enables the adLoad command without any pre-configured scope."
338 },
339 {
340 "description": "Denies the adLoad command without any pre-configured scope.",
341 "type": "string",
335 - "const": "deny-adLoad"
342 + "const": "deny-adLoad",
343 + "markdownDescription": "Denies the adLoad command without any pre-configured scope."
344 },
345 {
346 "description": "Enables the adShow command without any pre-configured scope.",
347 "type": "string",
340 - "const": "allow-adShow"
348 + "const": "allow-adShow",
349 + "markdownDescription": "Enables the adShow command without any pre-configured scope."
350 },
351 {
352 "description": "Denies the adShow command without any pre-configured scope.",
353 "type": "string",
345 - "const": "deny-adShow"
354 + "const": "deny-adShow",
355 + "markdownDescription": "Denies the adShow command without any pre-configured scope."
356 },
357 {
358 "description": "Enables the configRequest command without any pre-configured scope.",
359 "type": "string",
350 - "const": "allow-configRequest"
360 + "const": "allow-configRequest",
361 + "markdownDescription": "Enables the configRequest command without any pre-configured scope."
362 },
363 {
364 "description": "Denies the configRequest command without any pre-configured scope.",
365 "type": "string",
355 - "const": "deny-configRequest"
366 + "const": "deny-configRequest",
367 + "markdownDescription": "Denies the configRequest command without any pre-configured scope."
368 },
369 {
370 "description": "Enables the configure command without any pre-configured scope.",
371 "type": "string",
360 - "const": "allow-configure"
372 + "const": "allow-configure",
373 + "markdownDescription": "Enables the configure command without any pre-configured scope."
374 },
375 {
376 "description": "Denies the configure command without any pre-configured scope.",
377 "type": "string",
365 - "const": "deny-configure"
378 + "const": "deny-configure",
379 + "markdownDescription": "Denies the configure command without any pre-configured scope."
380 },
381 {
382 "description": "Enables the isPrivacyOptionsRequired command without any pre-configured scope.",
383 "type": "string",
370 - "const": "allow-isPrivacyOptionsRequired"
384 + "const": "allow-isPrivacyOptionsRequired",
385 + "markdownDescription": "Enables the isPrivacyOptionsRequired command without any pre-configured scope."
386 },
387 {
388 "description": "Denies the isPrivacyOptionsRequired command without any pre-configured scope.",
389 "type": "string",
375 - "const": "deny-isPrivacyOptionsRequired"
390 + "const": "deny-isPrivacyOptionsRequired",
391 + "markdownDescription": "Denies the isPrivacyOptionsRequired command without any pre-configured scope."
392 },
393 {
394 "description": "Enables the register_listener command without any pre-configured scope.",
395 "type": "string",
380 - "const": "allow-register-listener"
396 + "const": "allow-register-listener",
397 + "markdownDescription": "Enables the register_listener command without any pre-configured scope."
398 },
399 {
400 "description": "Denies the register_listener command without any pre-configured scope.",
401 "type": "string",
385 - "const": "deny-register-listener"
402 + "const": "deny-register-listener",
403 + "markdownDescription": "Denies the register_listener command without any pre-configured scope."
404 },
405 {
406 "description": "Enables the requestTrackingAuthorization command without any pre-configured scope.",
407 "type": "string",
390 - "const": "allow-requestTrackingAuthorization"
408 + "const": "allow-requestTrackingAuthorization",
409 + "markdownDescription": "Enables the requestTrackingAuthorization command without any pre-configured scope."
410 },
411 {
412 "description": "Denies the requestTrackingAuthorization command without any pre-configured scope.",
413 "type": "string",
395 - "const": "deny-requestTrackingAuthorization"
414 + "const": "deny-requestTrackingAuthorization",
415 + "markdownDescription": "Denies the requestTrackingAuthorization command without any pre-configured scope."
416 },
417 {
418 "description": "Enables the showPrivacyOptionsForm command without any pre-configured scope.",
419 "type": "string",
400 - "const": "allow-showPrivacyOptionsForm"
420 + "const": "allow-showPrivacyOptionsForm",
421 + "markdownDescription": "Enables the showPrivacyOptionsForm command without any pre-configured scope."
422 },
423 {
424 "description": "Denies the showPrivacyOptionsForm command without any pre-configured scope.",
425 "type": "string",
405 - "const": "deny-showPrivacyOptionsForm"
426 + "const": "deny-showPrivacyOptionsForm",
427 + "markdownDescription": "Denies the showPrivacyOptionsForm command without any pre-configured scope."
428 },
429 {
430 "description": "Enables the trackingAuthorizationStatus command without any pre-configured scope.",
431 "type": "string",
410 - "const": "allow-trackingAuthorizationStatus"
432 + "const": "allow-trackingAuthorizationStatus",
433 + "markdownDescription": "Enables the trackingAuthorizationStatus command without any pre-configured scope."
434 },
435 {
436 "description": "Denies the trackingAuthorizationStatus command without any pre-configured scope.",
437 "type": "string",
415 - "const": "deny-trackingAuthorizationStatus"
438 + "const": "deny-trackingAuthorizationStatus",
439 + "markdownDescription": "Denies the trackingAuthorizationStatus command without any pre-configured scope."
440 },
441 {
418 - "description": "Default permissions for the plugin",
442 + "description": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-adCreate`\n- `allow-adHide`\n- `allow-adIsLoaded`\n- `allow-adLoad`\n- `allow-adShow`\n- `allow-configRequest`\n- `allow-configure`\n- `allow-requestTrackingAuthorization`\n- `allow-trackingAuthorizationStatus`\n- `allow-isPrivacyOptionsRequired`\n- `allow-showPrivacyOptionsForm`",
443 "type": "string",
420 - "const": "default"
444 + "const": "default",
445 + "markdownDescription": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-adCreate`\n- `allow-adHide`\n- `allow-adIsLoaded`\n- `allow-adLoad`\n- `allow-adShow`\n- `allow-configRequest`\n- `allow-configure`\n- `allow-requestTrackingAuthorization`\n- `allow-trackingAuthorizationStatus`\n- `allow-isPrivacyOptionsRequired`\n- `allow-showPrivacyOptionsForm`"
446 }
447 ]
448 }