@ququplay/admob 5.3.1 → 5.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ require 'json'
3
3
  package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
4
 
5
5
  Pod::Spec.new do |s|
6
- s.name = 'CapacitorCommunityAdmob'
6
+ s.name = 'QuquplayAdmob'
7
7
  s.version = package['version']
8
8
  s.summary = package['description']
9
9
  s.license = package['license']
@@ -44,26 +44,18 @@ class ConsentExecutor: NSObject {
44
44
  return
45
45
  }
46
46
 
47
- if UMPConsentInformation.sharedInstance.consentStatus == UMPConsentStatus.required {
48
- form?.present(from: rootViewController, completionHandler: { dismissError in
49
- if dismissError != nil {
50
- call.reject(dismissError?.localizedDescription ?? "Consent dismiss error")
51
- return
52
- }
53
-
54
- call.resolve([
55
- "status": self.getConsentStatusString(UMPConsentInformation.sharedInstance.consentStatus),
56
- "canShowAds": self.canShowAds(),
57
- "canShowPersonalizedAds": self.canShowPersonalizedAds()
58
- ])
59
- })
60
- } else {
47
+ form?.present(from: rootViewController, completionHandler: { dismissError in
48
+ if dismissError != nil {
49
+ call.reject(dismissError?.localizedDescription ?? "Consent dismiss error")
50
+ return
51
+ }
52
+
61
53
  call.resolve([
62
54
  "status": self.getConsentStatusString(UMPConsentInformation.sharedInstance.consentStatus),
63
55
  "canShowAds": self.canShowAds(),
64
56
  "canShowPersonalizedAds": self.canShowPersonalizedAds()
65
57
  ])
66
- }
58
+ })
67
59
  })
68
60
  } else {
69
61
  call.reject("Consent Form not available")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ququplay/admob",
3
- "version": "5.3.1",
3
+ "version": "5.3.2",
4
4
  "description": "A native plugin for AdMob",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -14,7 +14,7 @@
14
14
  "android/build.gradle",
15
15
  "dist/",
16
16
  "ios/Plugin/",
17
- "CapacitorCommunityAdmob.podspec"
17
+ "QuquplayAdmob.podspec"
18
18
  ],
19
19
  "author": "Masahiko Sakakibara <sakakibara@rdlabo.jp>",
20
20
  "license": "MIT",
@@ -25,9 +25,6 @@
25
25
  "bugs": {
26
26
  "url": "git@github.com:capacitor-community/admob.git/issues"
27
27
  },
28
- "publishConfig": {
29
- "access": "public"
30
- },
31
28
  "scripts": {
32
29
  "verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
33
30
  "verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..",