@ququplay/admob 8.0.8 → 8.1.0

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.
Files changed (39) hide show
  1. package/Package.swift +1 -1
  2. package/QuquplayAdmob.podspec +1 -1
  3. package/README.md +178 -0
  4. package/android/build.gradle +1 -1
  5. package/android/src/main/java/com/getcapacitor/community/admob/AdMob.java +26 -0
  6. package/android/src/main/java/com/getcapacitor/community/admob/nativead/NativeAdExecutor.java +336 -0
  7. package/android/src/main/java/com/getcapacitor/community/admob/nativead/NativeAdPluginEvents.kt +9 -0
  8. package/android/src/main/res/layout/admob_native_ad_strip.xml +112 -0
  9. package/android/src/main/res/values/strings.xml +4 -0
  10. package/android/src/main/res/values-pl/strings.xml +4 -0
  11. package/dist/docs.json +483 -0
  12. package/dist/esm/definitions.d.ts +2 -1
  13. package/dist/esm/definitions.js.map +1 -1
  14. package/dist/esm/index.d.ts +1 -0
  15. package/dist/esm/index.js +1 -0
  16. package/dist/esm/index.js.map +1 -1
  17. package/dist/esm/native-ad/index.d.ts +3 -0
  18. package/dist/esm/native-ad/index.js +4 -0
  19. package/dist/esm/native-ad/index.js.map +1 -0
  20. package/dist/esm/native-ad/native-ad-definitions.interface.d.ts +68 -0
  21. package/dist/esm/native-ad/native-ad-definitions.interface.js +2 -0
  22. package/dist/esm/native-ad/native-ad-definitions.interface.js.map +1 -0
  23. package/dist/esm/native-ad/native-ad-options.interface.d.ts +35 -0
  24. package/dist/esm/native-ad/native-ad-options.interface.js +2 -0
  25. package/dist/esm/native-ad/native-ad-options.interface.js.map +1 -0
  26. package/dist/esm/native-ad/native-ad-plugin-events.enum.d.ts +10 -0
  27. package/dist/esm/native-ad/native-ad-plugin-events.enum.js +13 -0
  28. package/dist/esm/native-ad/native-ad-plugin-events.enum.js.map +1 -0
  29. package/dist/esm/web.d.ts +4 -0
  30. package/dist/esm/web.js +9 -0
  31. package/dist/esm/web.js.map +1 -1
  32. package/dist/plugin.cjs.js +22 -0
  33. package/dist/plugin.cjs.js.map +1 -1
  34. package/dist/plugin.js +22 -0
  35. package/dist/plugin.js.map +1 -1
  36. package/ios/Sources/AdMobPlugin/AdMobPlugin.swift +30 -0
  37. package/ios/Sources/AdMobPlugin/NativeAd/NativeAdExecutor.swift +306 -0
  38. package/ios/Sources/AdMobPlugin/NativeAd/NativeAdPluginEvents.swift +7 -0
  39. package/package.json +1 -1
@@ -0,0 +1,112 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- A native ad as a strip across the top of the screen: icon, "Ad" badge, headline, body and the call to action.
3
+ Colours are set from the JS style options. The AdChoices icon sits in the top right corner; the wider end padding
4
+ keeps the button clear of it. A hairline along the bottom separates the ad from the screen below. -->
5
+ <com.google.android.gms.ads.nativead.NativeAdView xmlns:android="http://schemas.android.com/apk/res/android"
6
+ android:id="@+id/admob_native_ad_view"
7
+ android:layout_width="match_parent"
8
+ android:layout_height="wrap_content">
9
+
10
+ <LinearLayout
11
+ android:layout_width="match_parent"
12
+ android:layout_height="wrap_content"
13
+ android:orientation="vertical">
14
+
15
+ <LinearLayout
16
+ android:layout_width="match_parent"
17
+ android:layout_height="wrap_content"
18
+ android:gravity="center_vertical"
19
+ android:minHeight="56dp"
20
+ android:orientation="horizontal"
21
+ android:paddingStart="12dp"
22
+ android:paddingTop="6dp"
23
+ android:paddingEnd="20dp"
24
+ android:paddingBottom="7dp">
25
+
26
+ <ImageView
27
+ android:id="@+id/admob_native_ad_icon"
28
+ android:layout_width="40dp"
29
+ android:layout_height="40dp"
30
+ android:layout_marginEnd="10dp"
31
+ android:adjustViewBounds="true"
32
+ android:contentDescription="@null"
33
+ android:scaleType="fitCenter" />
34
+
35
+ <LinearLayout
36
+ android:layout_width="0dp"
37
+ android:layout_height="wrap_content"
38
+ android:layout_weight="1"
39
+ android:orientation="vertical">
40
+
41
+ <LinearLayout
42
+ android:layout_width="match_parent"
43
+ android:layout_height="wrap_content"
44
+ android:gravity="center_vertical"
45
+ android:orientation="horizontal">
46
+
47
+ <TextView
48
+ android:id="@+id/admob_native_ad_badge"
49
+ android:layout_width="wrap_content"
50
+ android:layout_height="wrap_content"
51
+ android:layout_marginEnd="6dp"
52
+ android:minWidth="18dp"
53
+ android:minHeight="16dp"
54
+ android:paddingStart="4dp"
55
+ android:paddingEnd="4dp"
56
+ android:text="@string/admob_native_ad_badge"
57
+ android:textSize="10sp"
58
+ android:textStyle="bold" />
59
+
60
+ <TextView
61
+ android:id="@+id/admob_native_ad_headline"
62
+ android:layout_width="0dp"
63
+ android:layout_height="wrap_content"
64
+ android:layout_weight="1"
65
+ android:ellipsize="end"
66
+ android:maxLines="1"
67
+ android:textSize="14sp"
68
+ android:textStyle="bold" />
69
+ </LinearLayout>
70
+
71
+ <TextView
72
+ android:id="@+id/admob_native_ad_body"
73
+ android:layout_width="match_parent"
74
+ android:layout_height="wrap_content"
75
+ android:layout_marginTop="2dp"
76
+ android:ellipsize="end"
77
+ android:maxLines="1"
78
+ android:textSize="12sp" />
79
+ </LinearLayout>
80
+
81
+ <Button
82
+ android:id="@+id/admob_native_ad_call_to_action"
83
+ android:layout_width="wrap_content"
84
+ android:layout_height="36dp"
85
+ android:layout_marginStart="10dp"
86
+ android:maxWidth="120dp"
87
+ android:minWidth="64dp"
88
+ android:minHeight="0dp"
89
+ android:ellipsize="end"
90
+ android:maxLines="1"
91
+ android:paddingStart="12dp"
92
+ android:paddingTop="0dp"
93
+ android:paddingEnd="12dp"
94
+ android:paddingBottom="0dp"
95
+ android:stateListAnimator="@null"
96
+ android:textAllCaps="false"
97
+ android:textSize="13sp"
98
+ android:textStyle="bold" />
99
+ </LinearLayout>
100
+
101
+ <View
102
+ android:id="@+id/admob_native_ad_divider"
103
+ android:layout_width="match_parent"
104
+ android:layout_height="1px" />
105
+ </LinearLayout>
106
+
107
+ <com.google.android.gms.ads.nativead.AdChoicesView
108
+ android:id="@+id/admob_native_ad_choices"
109
+ android:layout_width="wrap_content"
110
+ android:layout_height="wrap_content"
111
+ android:layout_gravity="top|end" />
112
+ </com.google.android.gms.ads.nativead.NativeAdView>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <resources>
3
+ <string name="admob_native_ad_badge">Ad</string>
4
+ </resources>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <resources>
3
+ <string name="admob_native_ad_badge">Reklama</string>
4
+ </resources>
package/dist/docs.json CHANGED
@@ -6,6 +6,7 @@
6
6
  "tags": [],
7
7
  "extends": [
8
8
  "BannerDefinitions",
9
+ "NativeAdDefinitions",
9
10
  "RewardDefinitions",
10
11
  "RewardInterstitialDefinitions",
11
12
  "InterstitialDefinitions",
@@ -738,6 +739,282 @@
738
739
  ],
739
740
  "slug": "addlistenerinterstitialadplugineventsshowed-"
740
741
  },
742
+ {
743
+ "name": "showNativeAd",
744
+ "signature": "(options: NativeAdOptions) => Promise<void>",
745
+ "parameters": [
746
+ {
747
+ "name": "options",
748
+ "docs": "NativeAdOptions",
749
+ "type": "NativeAdOptions"
750
+ }
751
+ ],
752
+ "returns": "Promise<void>",
753
+ "tags": [
754
+ {
755
+ "name": "group",
756
+ "text": "NativeAd"
757
+ },
758
+ {
759
+ "name": "param",
760
+ "text": "options NativeAdOptions"
761
+ },
762
+ {
763
+ "name": "since",
764
+ "text": "8.1.0"
765
+ }
766
+ ],
767
+ "docs": "Show a native ad as a strip across the top of the screen.\nShows the ad loaded before when there is one and it has not expired, otherwise loads a new one.\nAndroid and iOS; resolves without showing anything on the web.",
768
+ "complexTypes": [
769
+ "NativeAdOptions"
770
+ ],
771
+ "slug": "shownativead"
772
+ },
773
+ {
774
+ "name": "hideNativeAd",
775
+ "signature": "() => Promise<void>",
776
+ "parameters": [],
777
+ "returns": "Promise<void>",
778
+ "tags": [
779
+ {
780
+ "name": "group",
781
+ "text": "NativeAd"
782
+ },
783
+ {
784
+ "name": "since",
785
+ "text": "8.1.0"
786
+ }
787
+ ],
788
+ "docs": "Hide the native ad but keep it, so showNativeAd brings back the same ad.",
789
+ "complexTypes": [],
790
+ "slug": "hidenativead"
791
+ },
792
+ {
793
+ "name": "removeNativeAd",
794
+ "signature": "() => Promise<void>",
795
+ "parameters": [],
796
+ "returns": "Promise<void>",
797
+ "tags": [
798
+ {
799
+ "name": "group",
800
+ "text": "NativeAd"
801
+ },
802
+ {
803
+ "name": "since",
804
+ "text": "8.1.0"
805
+ }
806
+ ],
807
+ "docs": "Destroy the native ad, remove it from screen.",
808
+ "complexTypes": [],
809
+ "slug": "removenativead"
810
+ },
811
+ {
812
+ "name": "addListener",
813
+ "signature": "(eventName: NativeAdPluginEvents.SizeChanged, listenerFunc: (info: AdMobBannerSize) => void) => Promise<PluginListenerHandle>",
814
+ "parameters": [
815
+ {
816
+ "name": "eventName",
817
+ "docs": "nativeAdSizeChanged",
818
+ "type": "NativeAdPluginEvents.SizeChanged"
819
+ },
820
+ {
821
+ "name": "listenerFunc",
822
+ "docs": "",
823
+ "type": "(info: AdMobBannerSize) => void"
824
+ }
825
+ ],
826
+ "returns": "Promise<PluginListenerHandle>",
827
+ "tags": [
828
+ {
829
+ "name": "group",
830
+ "text": "NativeAd"
831
+ },
832
+ {
833
+ "name": "param",
834
+ "text": "eventName nativeAdSizeChanged"
835
+ },
836
+ {
837
+ "name": "param",
838
+ "text": "listenerFunc"
839
+ },
840
+ {
841
+ "name": "since",
842
+ "text": "8.1.0"
843
+ }
844
+ ],
845
+ "docs": "",
846
+ "complexTypes": [
847
+ "PluginListenerHandle",
848
+ "NativeAdPluginEvents",
849
+ "AdMobBannerSize"
850
+ ],
851
+ "slug": "addlistenernativeadplugineventssizechanged-"
852
+ },
853
+ {
854
+ "name": "addListener",
855
+ "signature": "(eventName: NativeAdPluginEvents.Loaded, listenerFunc: () => void) => Promise<PluginListenerHandle>",
856
+ "parameters": [
857
+ {
858
+ "name": "eventName",
859
+ "docs": "nativeAdLoaded",
860
+ "type": "NativeAdPluginEvents.Loaded"
861
+ },
862
+ {
863
+ "name": "listenerFunc",
864
+ "docs": "",
865
+ "type": "() => void"
866
+ }
867
+ ],
868
+ "returns": "Promise<PluginListenerHandle>",
869
+ "tags": [
870
+ {
871
+ "name": "group",
872
+ "text": "NativeAd"
873
+ },
874
+ {
875
+ "name": "param",
876
+ "text": "eventName nativeAdLoaded"
877
+ },
878
+ {
879
+ "name": "param",
880
+ "text": "listenerFunc"
881
+ },
882
+ {
883
+ "name": "since",
884
+ "text": "8.1.0"
885
+ }
886
+ ],
887
+ "docs": "",
888
+ "complexTypes": [
889
+ "PluginListenerHandle",
890
+ "NativeAdPluginEvents"
891
+ ],
892
+ "slug": "addlistenernativeadplugineventsloaded-"
893
+ },
894
+ {
895
+ "name": "addListener",
896
+ "signature": "(eventName: NativeAdPluginEvents.FailedToLoad, listenerFunc: (info: AdMobError) => void) => Promise<PluginListenerHandle>",
897
+ "parameters": [
898
+ {
899
+ "name": "eventName",
900
+ "docs": "nativeAdFailedToLoad",
901
+ "type": "NativeAdPluginEvents.FailedToLoad"
902
+ },
903
+ {
904
+ "name": "listenerFunc",
905
+ "docs": "",
906
+ "type": "(info: AdMobError) => void"
907
+ }
908
+ ],
909
+ "returns": "Promise<PluginListenerHandle>",
910
+ "tags": [
911
+ {
912
+ "name": "group",
913
+ "text": "NativeAd"
914
+ },
915
+ {
916
+ "name": "param",
917
+ "text": "eventName nativeAdFailedToLoad"
918
+ },
919
+ {
920
+ "name": "param",
921
+ "text": "listenerFunc"
922
+ },
923
+ {
924
+ "name": "since",
925
+ "text": "8.1.0"
926
+ }
927
+ ],
928
+ "docs": "",
929
+ "complexTypes": [
930
+ "PluginListenerHandle",
931
+ "NativeAdPluginEvents",
932
+ "AdMobError"
933
+ ],
934
+ "slug": "addlistenernativeadplugineventsfailedtoload-"
935
+ },
936
+ {
937
+ "name": "addListener",
938
+ "signature": "(eventName: NativeAdPluginEvents.Clicked, listenerFunc: () => void) => Promise<PluginListenerHandle>",
939
+ "parameters": [
940
+ {
941
+ "name": "eventName",
942
+ "docs": "nativeAdClicked",
943
+ "type": "NativeAdPluginEvents.Clicked"
944
+ },
945
+ {
946
+ "name": "listenerFunc",
947
+ "docs": "",
948
+ "type": "() => void"
949
+ }
950
+ ],
951
+ "returns": "Promise<PluginListenerHandle>",
952
+ "tags": [
953
+ {
954
+ "name": "group",
955
+ "text": "NativeAd"
956
+ },
957
+ {
958
+ "name": "param",
959
+ "text": "eventName nativeAdClicked"
960
+ },
961
+ {
962
+ "name": "param",
963
+ "text": "listenerFunc"
964
+ },
965
+ {
966
+ "name": "since",
967
+ "text": "8.1.0"
968
+ }
969
+ ],
970
+ "docs": "",
971
+ "complexTypes": [
972
+ "PluginListenerHandle",
973
+ "NativeAdPluginEvents"
974
+ ],
975
+ "slug": "addlistenernativeadplugineventsclicked-"
976
+ },
977
+ {
978
+ "name": "addListener",
979
+ "signature": "(eventName: NativeAdPluginEvents.AdImpression, listenerFunc: () => void) => Promise<PluginListenerHandle>",
980
+ "parameters": [
981
+ {
982
+ "name": "eventName",
983
+ "docs": "nativeAdImpression",
984
+ "type": "NativeAdPluginEvents.AdImpression"
985
+ },
986
+ {
987
+ "name": "listenerFunc",
988
+ "docs": "",
989
+ "type": "() => void"
990
+ }
991
+ ],
992
+ "returns": "Promise<PluginListenerHandle>",
993
+ "tags": [
994
+ {
995
+ "name": "group",
996
+ "text": "NativeAd"
997
+ },
998
+ {
999
+ "name": "param",
1000
+ "text": "eventName nativeAdImpression"
1001
+ },
1002
+ {
1003
+ "name": "param",
1004
+ "text": "listenerFunc"
1005
+ },
1006
+ {
1007
+ "name": "since",
1008
+ "text": "8.1.0"
1009
+ }
1010
+ ],
1011
+ "docs": "",
1012
+ "complexTypes": [
1013
+ "PluginListenerHandle",
1014
+ "NativeAdPluginEvents"
1015
+ ],
1016
+ "slug": "addlistenernativeadplugineventsadimpression-"
1017
+ },
741
1018
  {
742
1019
  "name": "prepareRewardVideoAd",
743
1020
  "signature": "(options: RewardAdOptions) => Promise<AdLoadInfo>",
@@ -1752,6 +2029,176 @@
1752
2029
  }
1753
2030
  ]
1754
2031
  },
2032
+ {
2033
+ "name": "NativeAdOptions",
2034
+ "slug": "nativeadoptions",
2035
+ "docs": "",
2036
+ "tags": [],
2037
+ "extends": [
2038
+ "AdOptions"
2039
+ ],
2040
+ "methods": [],
2041
+ "properties": [
2042
+ {
2043
+ "name": "style",
2044
+ "tags": [
2045
+ {
2046
+ "text": "8.1.0",
2047
+ "name": "since"
2048
+ }
2049
+ ],
2050
+ "docs": "Colours of the native ad strip, as `#RRGGBB` (or `#AARRGGBB`).",
2051
+ "complexTypes": [
2052
+ "NativeAdStyle"
2053
+ ],
2054
+ "type": "NativeAdStyle"
2055
+ },
2056
+ {
2057
+ "name": "adId",
2058
+ "tags": [
2059
+ {
2060
+ "text": "https ://support.google.com/admob/answer/7356431?hl=en",
2061
+ "name": "see"
2062
+ },
2063
+ {
2064
+ "text": "1.1.2",
2065
+ "name": "since"
2066
+ }
2067
+ ],
2068
+ "docs": "The ad unit ID that you want to request",
2069
+ "complexTypes": [],
2070
+ "type": "string"
2071
+ },
2072
+ {
2073
+ "name": "isTesting",
2074
+ "tags": [
2075
+ {
2076
+ "text": "false",
2077
+ "name": "default"
2078
+ },
2079
+ {
2080
+ "text": "1.1.2",
2081
+ "name": "since"
2082
+ }
2083
+ ],
2084
+ "docs": "You can use test mode of ad.",
2085
+ "complexTypes": [],
2086
+ "type": "boolean | undefined"
2087
+ },
2088
+ {
2089
+ "name": "margin",
2090
+ "tags": [
2091
+ {
2092
+ "text": "0",
2093
+ "name": "default"
2094
+ },
2095
+ {
2096
+ "text": "1.1.2",
2097
+ "name": "since"
2098
+ }
2099
+ ],
2100
+ "docs": "Margin Banner. Default is 0px;\nIf position is BOTTOM_CENTER, margin is be margin-bottom.\nIf position is TOP_CENTER, margin is be margin-top.",
2101
+ "complexTypes": [],
2102
+ "type": "number | undefined"
2103
+ },
2104
+ {
2105
+ "name": "npa",
2106
+ "tags": [
2107
+ {
2108
+ "text": "https ://developers.google.com/admob/ios/eu-consent",
2109
+ "name": "see"
2110
+ },
2111
+ {
2112
+ "text": "https ://developers.google.com/admob/android/eu-consent",
2113
+ "name": "see"
2114
+ },
2115
+ {
2116
+ "text": "false",
2117
+ "name": "default"
2118
+ },
2119
+ {
2120
+ "text": "1.2.0",
2121
+ "name": "since"
2122
+ }
2123
+ ],
2124
+ "docs": "The default behavior of the Google Mobile Ads SDK is to serve personalized ads.\nSet this to true to request Non-Personalized Ads",
2125
+ "complexTypes": [],
2126
+ "type": "boolean | undefined"
2127
+ },
2128
+ {
2129
+ "name": "immersiveMode",
2130
+ "tags": [
2131
+ {
2132
+ "text": "https ://developers.google.com/admob/android/reference/com/google/android/gms/ads/interstitial/InterstitialAd#setImmersiveMode(boolean)",
2133
+ "name": "see"
2134
+ },
2135
+ {
2136
+ "text": "https ://developers.google.com/admob/android/reference/com/google/android/gms/ads/rewarded/RewardedAd#setImmersiveMode(boolean)",
2137
+ "name": "see"
2138
+ },
2139
+ {
2140
+ "text": "7.0.3",
2141
+ "name": "since"
2142
+ }
2143
+ ],
2144
+ "docs": "Sets a flag that controls if this interstitial or reward object will be displayed in immersive mode.\nCall this method before show.\nDuring show, if this flag is on and immersive mode is supported,\nSYSTEM_UI_FLAG_IMMERSIVE_STICKY &SYSTEM_UI_FLAG_HIDE_NAVIGATION will be turned on for interstitial or reward ad.",
2145
+ "complexTypes": [],
2146
+ "type": "boolean | undefined"
2147
+ }
2148
+ ]
2149
+ },
2150
+ {
2151
+ "name": "NativeAdStyle",
2152
+ "slug": "nativeadstyle",
2153
+ "docs": "",
2154
+ "tags": [],
2155
+ "extends": [],
2156
+ "methods": [],
2157
+ "properties": [
2158
+ {
2159
+ "name": "backgroundColor",
2160
+ "tags": [],
2161
+ "docs": "Background of the strip. Defaults to white.",
2162
+ "complexTypes": [],
2163
+ "type": "string | undefined"
2164
+ },
2165
+ {
2166
+ "name": "textColor",
2167
+ "tags": [],
2168
+ "docs": "Headline text. Defaults to black.",
2169
+ "complexTypes": [],
2170
+ "type": "string | undefined"
2171
+ },
2172
+ {
2173
+ "name": "secondaryTextColor",
2174
+ "tags": [],
2175
+ "docs": "Body text. Defaults to textColor.",
2176
+ "complexTypes": [],
2177
+ "type": "string | undefined"
2178
+ },
2179
+ {
2180
+ "name": "buttonColor",
2181
+ "tags": [],
2182
+ "docs": "Call-to-action button and \"Ad\" badge background.",
2183
+ "complexTypes": [],
2184
+ "type": "string | undefined"
2185
+ },
2186
+ {
2187
+ "name": "buttonTextColor",
2188
+ "tags": [],
2189
+ "docs": "Call-to-action button and \"Ad\" badge text. Defaults to white.",
2190
+ "complexTypes": [],
2191
+ "type": "string | undefined"
2192
+ },
2193
+ {
2194
+ "name": "dividerColor",
2195
+ "tags": [],
2196
+ "docs": "Hairline along the bottom of the strip. Defaults to none.",
2197
+ "complexTypes": [],
2198
+ "type": "string | undefined"
2199
+ }
2200
+ ]
2201
+ },
1755
2202
  {
1756
2203
  "name": "RewardAdOptions",
1757
2204
  "slug": "rewardadoptions",
@@ -2317,6 +2764,42 @@
2317
2764
  }
2318
2765
  ]
2319
2766
  },
2767
+ {
2768
+ "name": "NativeAdPluginEvents",
2769
+ "slug": "nativeadpluginevents",
2770
+ "members": [
2771
+ {
2772
+ "name": "SizeChanged",
2773
+ "value": "'nativeAdSizeChanged'",
2774
+ "tags": [],
2775
+ "docs": "The strip's size in dp; 0 when it is hidden or removed."
2776
+ },
2777
+ {
2778
+ "name": "Loaded",
2779
+ "value": "'nativeAdLoaded'",
2780
+ "tags": [],
2781
+ "docs": ""
2782
+ },
2783
+ {
2784
+ "name": "FailedToLoad",
2785
+ "value": "'nativeAdFailedToLoad'",
2786
+ "tags": [],
2787
+ "docs": ""
2788
+ },
2789
+ {
2790
+ "name": "Clicked",
2791
+ "value": "'nativeAdClicked'",
2792
+ "tags": [],
2793
+ "docs": ""
2794
+ },
2795
+ {
2796
+ "name": "AdImpression",
2797
+ "value": "'nativeAdImpression'",
2798
+ "tags": [],
2799
+ "docs": ""
2800
+ }
2801
+ ]
2802
+ },
2320
2803
  {
2321
2804
  "name": "RewardAdPluginEvents",
2322
2805
  "slug": "rewardadpluginevents",
@@ -1,10 +1,11 @@
1
1
  import type { BannerDefinitions } from './banner';
2
2
  import type { AdmobConsentDefinitions } from './consent';
3
3
  import type { InterstitialDefinitions } from './interstitial';
4
+ import type { NativeAdDefinitions } from './native-ad';
4
5
  import type { RewardDefinitions } from './reward';
5
6
  import type { RewardInterstitialDefinitions } from './reward-interstitial';
6
7
  import type { TrackingAuthorizationStatusInterface } from './shared/tracking-authorization-status.interface';
7
- type AdMobDefinitions = BannerDefinitions & RewardDefinitions & RewardInterstitialDefinitions & InterstitialDefinitions & AdmobConsentDefinitions;
8
+ type AdMobDefinitions = BannerDefinitions & NativeAdDefinitions & RewardDefinitions & RewardInterstitialDefinitions & InterstitialDefinitions & AdmobConsentDefinitions;
8
9
  export interface AdMobPlugin extends AdMobDefinitions {
9
10
  /**
10
11
  * Initialize AdMob with AdMobInitializationOptions
@@ -1 +1 @@
1
- {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"AAwGA,MAAM,CAAN,IAAY,kBAoBX;AApBD,WAAY,kBAAkB;IAC5B;;OAEG;IACH,yCAAmB,CAAA;IAEnB;;OAEG;IACH,2DAAqC,CAAA;IAErC;;OAEG;IACH,mCAAa,CAAA;IAEb;;OAEG;IACH,uDAAiC,CAAA;AACnC,CAAC,EApBW,kBAAkB,KAAlB,kBAAkB,QAoB7B"}
1
+ {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"AA0GA,MAAM,CAAN,IAAY,kBAoBX;AApBD,WAAY,kBAAkB;IAC5B;;OAEG;IACH,yCAAmB,CAAA;IAEnB;;OAEG;IACH,2DAAqC,CAAA;IAErC;;OAEG;IACH,mCAAa,CAAA;IAEb;;OAEG;IACH,uDAAiC,CAAA;AACnC,CAAC,EApBW,kBAAkB,KAAlB,kBAAkB,QAoB7B"}
@@ -2,6 +2,7 @@ import type { AdMobPlugin } from './definitions';
2
2
  declare const AdMob: AdMobPlugin;
3
3
  export * from './definitions';
4
4
  export * from './banner/index';
5
+ export * from './native-ad/index';
5
6
  export * from './interstitial/index';
6
7
  export * from './reward-interstitial/index';
7
8
  export * from './reward/index';
package/dist/esm/index.js CHANGED
@@ -4,6 +4,7 @@ const AdMob = registerPlugin('AdMob', {
4
4
  });
5
5
  export * from './definitions';
6
6
  export * from './banner/index';
7
+ export * from './native-ad/index';
7
8
  export * from './interstitial/index';
8
9
  export * from './reward-interstitial/index';
9
10
  export * from './reward/index';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,KAAK,GAAG,cAAc,CAAc,OAAO,EAAE;IACjD,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC;CACzD,CAAC,CAAC;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,KAAK,GAAG,cAAc,CAAc,OAAO,EAAE;IACjD,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC;CACzD,CAAC,CAAC;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './native-ad-definitions.interface';
2
+ export * from './native-ad-options.interface';
3
+ export * from './native-ad-plugin-events.enum';
@@ -0,0 +1,4 @@
1
+ export * from './native-ad-definitions.interface';
2
+ export * from './native-ad-options.interface';
3
+ export * from './native-ad-plugin-events.enum';
4
+ //# sourceMappingURL=index.js.map