cloudx-react-native 2.0.0-beta.1
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.
- package/LICENSE +57 -0
- package/README.md +1258 -0
- package/android/build.gradle +78 -0
- package/android/gradle.properties +7 -0
- package/android/src/main/AndroidManifest.xml +7 -0
- package/android/src/main/java/com/cloudxreactnative/CloudXAdViewEvent.kt +15 -0
- package/android/src/main/java/com/cloudxreactnative/CloudXBannerViewManagerImpl.kt +472 -0
- package/android/src/main/java/com/cloudxreactnative/CloudXReactNativeModuleImpl.kt +861 -0
- package/android/src/newarch/com/cloudxreactnative/CloudXBannerViewManager.kt +90 -0
- package/android/src/newarch/com/cloudxreactnative/CloudXReactNativeModule.kt +73 -0
- package/android/src/newarch/com/cloudxreactnative/CloudXReactNativePackage.kt +37 -0
- package/android/src/oldarch/com/cloudxreactnative/CloudXBannerViewManager.kt +76 -0
- package/android/src/oldarch/com/cloudxreactnative/CloudXReactNativeModule.kt +73 -0
- package/android/src/oldarch/com/cloudxreactnative/CloudXReactNativePackage.kt +16 -0
- package/cloudx-react-native.podspec +46 -0
- package/ios/AppTrackingTransparency.h +13 -0
- package/ios/AppTrackingTransparency.mm +59 -0
- package/ios/RNCloudXBannerView.h +51 -0
- package/ios/RNCloudXBannerView.mm +633 -0
- package/ios/RNCloudXBannerViewManager.h +11 -0
- package/ios/RNCloudXBannerViewManager.mm +60 -0
- package/ios/RNCloudXModule.h +30 -0
- package/ios/RNCloudXModule.mm +1088 -0
- package/lib/commonjs/AdView.js +151 -0
- package/lib/commonjs/AdView.js.map +1 -0
- package/lib/commonjs/AppTrackingTransparency.js +62 -0
- package/lib/commonjs/AppTrackingTransparency.js.map +1 -0
- package/lib/commonjs/BannerAd.js +117 -0
- package/lib/commonjs/BannerAd.js.map +1 -0
- package/lib/commonjs/CloudX.js +49 -0
- package/lib/commonjs/CloudX.js.map +1 -0
- package/lib/commonjs/ErrorCode.js +116 -0
- package/lib/commonjs/ErrorCode.js.map +1 -0
- package/lib/commonjs/EventEmitter.js +44 -0
- package/lib/commonjs/EventEmitter.js.map +1 -0
- package/lib/commonjs/InterstitialAd.js +94 -0
- package/lib/commonjs/InterstitialAd.js.map +1 -0
- package/lib/commonjs/MRecAd.js +117 -0
- package/lib/commonjs/MRecAd.js.map +1 -0
- package/lib/commonjs/RewardedAd.js +103 -0
- package/lib/commonjs/RewardedAd.js.map +1 -0
- package/lib/commonjs/hooks.js +239 -0
- package/lib/commonjs/hooks.js.map +1 -0
- package/lib/commonjs/index.js +144 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/specs/CloudXAdViewNativeComponent.js +26 -0
- package/lib/commonjs/specs/CloudXAdViewNativeComponent.js.map +1 -0
- package/lib/commonjs/specs/NativeCloudXModule.js +18 -0
- package/lib/commonjs/specs/NativeCloudXModule.js.map +1 -0
- package/lib/commonjs/types/AdEvent.js +6 -0
- package/lib/commonjs/types/AdEvent.js.map +1 -0
- package/lib/commonjs/types/AdInfo.js +6 -0
- package/lib/commonjs/types/AdInfo.js.map +1 -0
- package/lib/commonjs/types/BannerAd.js +6 -0
- package/lib/commonjs/types/BannerAd.js.map +1 -0
- package/lib/commonjs/types/CloudX.js +6 -0
- package/lib/commonjs/types/CloudX.js.map +1 -0
- package/lib/commonjs/types/Configuration.js +2 -0
- package/lib/commonjs/types/Configuration.js.map +1 -0
- package/lib/commonjs/types/FullscreenAd.js +6 -0
- package/lib/commonjs/types/FullscreenAd.js.map +1 -0
- package/lib/commonjs/types/RewardedAd.js +6 -0
- package/lib/commonjs/types/RewardedAd.js.map +1 -0
- package/lib/commonjs/types/index.js +2 -0
- package/lib/commonjs/types/index.js.map +1 -0
- package/lib/module/AdView.js +144 -0
- package/lib/module/AdView.js.map +1 -0
- package/lib/module/AppTrackingTransparency.js +55 -0
- package/lib/module/AppTrackingTransparency.js.map +1 -0
- package/lib/module/BannerAd.js +110 -0
- package/lib/module/BannerAd.js.map +1 -0
- package/lib/module/CloudX.js +42 -0
- package/lib/module/CloudX.js.map +1 -0
- package/lib/module/ErrorCode.js +110 -0
- package/lib/module/ErrorCode.js.map +1 -0
- package/lib/module/EventEmitter.js +35 -0
- package/lib/module/EventEmitter.js.map +1 -0
- package/lib/module/InterstitialAd.js +87 -0
- package/lib/module/InterstitialAd.js.map +1 -0
- package/lib/module/MRecAd.js +110 -0
- package/lib/module/MRecAd.js.map +1 -0
- package/lib/module/RewardedAd.js +96 -0
- package/lib/module/RewardedAd.js.map +1 -0
- package/lib/module/hooks.js +230 -0
- package/lib/module/hooks.js.map +1 -0
- package/lib/module/index.js +33 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/specs/CloudXAdViewNativeComponent.js +20 -0
- package/lib/module/specs/CloudXAdViewNativeComponent.js.map +1 -0
- package/lib/module/specs/NativeCloudXModule.js +14 -0
- package/lib/module/specs/NativeCloudXModule.js.map +1 -0
- package/lib/module/types/AdEvent.js +2 -0
- package/lib/module/types/AdEvent.js.map +1 -0
- package/lib/module/types/AdInfo.js +2 -0
- package/lib/module/types/AdInfo.js.map +1 -0
- package/lib/module/types/BannerAd.js +2 -0
- package/lib/module/types/BannerAd.js.map +1 -0
- package/lib/module/types/CloudX.js +2 -0
- package/lib/module/types/CloudX.js.map +1 -0
- package/lib/module/types/Configuration.js +2 -0
- package/lib/module/types/Configuration.js.map +1 -0
- package/lib/module/types/FullscreenAd.js +2 -0
- package/lib/module/types/FullscreenAd.js.map +1 -0
- package/lib/module/types/RewardedAd.js +2 -0
- package/lib/module/types/RewardedAd.js.map +1 -0
- package/lib/module/types/index.js +2 -0
- package/lib/module/types/index.js.map +1 -0
- package/lib/typescript/src/AdView.d.ts +69 -0
- package/lib/typescript/src/AdView.d.ts.map +1 -0
- package/lib/typescript/src/AppTrackingTransparency.d.ts +28 -0
- package/lib/typescript/src/AppTrackingTransparency.d.ts.map +1 -0
- package/lib/typescript/src/BannerAd.d.ts +4 -0
- package/lib/typescript/src/BannerAd.d.ts.map +1 -0
- package/lib/typescript/src/CloudX.d.ts +4 -0
- package/lib/typescript/src/CloudX.d.ts.map +1 -0
- package/lib/typescript/src/ErrorCode.d.ts +102 -0
- package/lib/typescript/src/ErrorCode.d.ts.map +1 -0
- package/lib/typescript/src/EventEmitter.d.ts +16 -0
- package/lib/typescript/src/EventEmitter.d.ts.map +1 -0
- package/lib/typescript/src/InterstitialAd.d.ts +4 -0
- package/lib/typescript/src/InterstitialAd.d.ts.map +1 -0
- package/lib/typescript/src/MRecAd.d.ts +4 -0
- package/lib/typescript/src/MRecAd.d.ts.map +1 -0
- package/lib/typescript/src/RewardedAd.d.ts +4 -0
- package/lib/typescript/src/RewardedAd.d.ts.map +1 -0
- package/lib/typescript/src/hooks.d.ts +50 -0
- package/lib/typescript/src/hooks.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +23 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/specs/CloudXAdViewNativeComponent.d.ts +61 -0
- package/lib/typescript/src/specs/CloudXAdViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/specs/NativeCloudXModule.d.ts +106 -0
- package/lib/typescript/src/specs/NativeCloudXModule.d.ts.map +1 -0
- package/lib/typescript/src/types/AdEvent.d.ts +10 -0
- package/lib/typescript/src/types/AdEvent.d.ts.map +1 -0
- package/lib/typescript/src/types/AdInfo.d.ts +48 -0
- package/lib/typescript/src/types/AdInfo.d.ts.map +1 -0
- package/lib/typescript/src/types/BannerAd.d.ts +39 -0
- package/lib/typescript/src/types/BannerAd.d.ts.map +1 -0
- package/lib/typescript/src/types/CloudX.d.ts +25 -0
- package/lib/typescript/src/types/CloudX.d.ts.map +1 -0
- package/lib/typescript/src/types/Configuration.d.ts +10 -0
- package/lib/typescript/src/types/Configuration.d.ts.map +1 -0
- package/lib/typescript/src/types/FullscreenAd.d.ts +29 -0
- package/lib/typescript/src/types/FullscreenAd.d.ts.map +1 -0
- package/lib/typescript/src/types/RewardedAd.d.ts +10 -0
- package/lib/typescript/src/types/RewardedAd.d.ts.map +1 -0
- package/lib/typescript/src/types/index.d.ts +8 -0
- package/lib/typescript/src/types/index.d.ts.map +1 -0
- package/package.json +78 -0
- package/src/AdView.tsx +213 -0
- package/src/AppTrackingTransparency.ts +56 -0
- package/src/BannerAd.ts +133 -0
- package/src/CloudX.ts +55 -0
- package/src/ErrorCode.ts +157 -0
- package/src/EventEmitter.ts +38 -0
- package/src/InterstitialAd.ts +103 -0
- package/src/MRecAd.ts +133 -0
- package/src/RewardedAd.ts +113 -0
- package/src/hooks.ts +292 -0
- package/src/index.ts +50 -0
- package/src/specs/CloudXAdViewNativeComponent.ts +82 -0
- package/src/specs/NativeCloudXModule.ts +162 -0
- package/src/types/AdEvent.ts +11 -0
- package/src/types/AdInfo.ts +60 -0
- package/src/types/BannerAd.ts +59 -0
- package/src/types/CloudX.ts +33 -0
- package/src/types/Configuration.ts +10 -0
- package/src/types/FullscreenAd.ts +39 -0
- package/src/types/RewardedAd.ts +10 -0
- package/src/types/index.ts +7 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
Elastic License 2.0
|
|
2
|
+
|
|
3
|
+
## License
|
|
4
|
+
|
|
5
|
+
The Elastic License 2.0 ("ELv2") applies to all software that is subject
|
|
6
|
+
to the terms of this license.
|
|
7
|
+
|
|
8
|
+
You may copy, modify, create derivative works, and redistribute the
|
|
9
|
+
software, but you may not provide the software to third parties as a
|
|
10
|
+
hosted or managed service, where the service provides users with access
|
|
11
|
+
to any substantial set of the features or functionality of the software.
|
|
12
|
+
|
|
13
|
+
## Grant of Rights
|
|
14
|
+
|
|
15
|
+
Subject to the limitations below, you are granted a non-exclusive,
|
|
16
|
+
non-transferable, royalty-free license to use, copy, modify, create
|
|
17
|
+
derivative works, and redistribute the software, in source code or
|
|
18
|
+
object form.
|
|
19
|
+
|
|
20
|
+
## Limitations
|
|
21
|
+
|
|
22
|
+
You may not provide the software to third parties as a hosted or managed
|
|
23
|
+
service, where the service provides users with access to any substantial
|
|
24
|
+
set of the features or functionality of the software.
|
|
25
|
+
|
|
26
|
+
You may not remove or obscure any licensing, copyright, or other notices
|
|
27
|
+
contained in the software.
|
|
28
|
+
|
|
29
|
+
## Patent Grant
|
|
30
|
+
|
|
31
|
+
You are granted a patent license to make, use, sell, offer for sale,
|
|
32
|
+
import and otherwise transfer the software, where such license applies
|
|
33
|
+
only to those patent claims licensable by the licensor that are
|
|
34
|
+
necessarily infringed by their contribution(s) alone or by combination
|
|
35
|
+
of their contribution(s) with the software to which such contribution(s)
|
|
36
|
+
was submitted.
|
|
37
|
+
|
|
38
|
+
## Termination
|
|
39
|
+
|
|
40
|
+
If you violate the terms of this license, your rights under this license
|
|
41
|
+
will terminate automatically.
|
|
42
|
+
|
|
43
|
+
## No Warranty
|
|
44
|
+
|
|
45
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
46
|
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
47
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
48
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
49
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
50
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
51
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
52
|
+
|
|
53
|
+
------------------------------------------------------------------------
|
|
54
|
+
|
|
55
|
+
Notice: This license is not an Open Source license. For more
|
|
56
|
+
information, visit: https://www.elastic.co/licensing/elastic-license
|
|
57
|
+
|