com.chartboost.mediation.unity.adapter.google-bidding 5.0.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 (58) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/CHANGELOG.md.meta +7 -0
  3. package/Chartboost.CSharp.Mediation.Unity.Adapter.GoogleBidding.nuspec +24 -0
  4. package/Chartboost.CSharp.Mediation.Unity.Adapter.GoogleBidding.nuspec.meta +7 -0
  5. package/Editor/GoogleBiddingAdapterDependencies.xml +14 -0
  6. package/Editor/GoogleBiddingAdapterDependencies.xml.meta +7 -0
  7. package/Editor.meta +8 -0
  8. package/LICENSE.md +9 -0
  9. package/LICENSE.md.meta +7 -0
  10. package/README.md +92 -0
  11. package/README.md.meta +7 -0
  12. package/Runtime/Android/AssemblyInfo.cs +3 -0
  13. package/Runtime/Android/AssemblyInfo.cs.meta +3 -0
  14. package/Runtime/Android/Chartboost.Mediation.GoogleBidding.Android.asmdef +26 -0
  15. package/Runtime/Android/Chartboost.Mediation.GoogleBidding.Android.asmdef.meta +7 -0
  16. package/Runtime/Android/GoogleBiddingAdapter.cs +76 -0
  17. package/Runtime/Android/GoogleBiddingAdapter.cs.meta +11 -0
  18. package/Runtime/Android.meta +8 -0
  19. package/Runtime/GoogleBidding/AssemblyInfo.cs +16 -0
  20. package/Runtime/GoogleBidding/AssemblyInfo.cs.meta +3 -0
  21. package/Runtime/GoogleBidding/Chartboost.Mediation.GoogleBidding.asmdef +21 -0
  22. package/Runtime/GoogleBidding/Chartboost.Mediation.GoogleBidding.asmdef.meta +7 -0
  23. package/Runtime/GoogleBidding/Common/IGoogleBiddingAdapter.cs +18 -0
  24. package/Runtime/GoogleBidding/Common/IGoogleBiddingAdapter.cs.meta +11 -0
  25. package/Runtime/GoogleBidding/Common.meta +8 -0
  26. package/Runtime/GoogleBidding/Default/GoogleBiddingDefault.cs +35 -0
  27. package/Runtime/GoogleBidding/Default/GoogleBiddingDefault.cs.meta +11 -0
  28. package/Runtime/GoogleBidding/Default.meta +8 -0
  29. package/Runtime/GoogleBidding/GoogleBiddingAdapter.cs +37 -0
  30. package/Runtime/GoogleBidding/GoogleBiddingAdapter.cs.meta +11 -0
  31. package/Runtime/GoogleBidding.meta +8 -0
  32. package/Runtime/iOS/AssemblyInfo.cs +3 -0
  33. package/Runtime/iOS/AssemblyInfo.cs.meta +3 -0
  34. package/Runtime/iOS/Chartboost.Mediation.GoogleBidding.IOS.asmdef +25 -0
  35. package/Runtime/iOS/Chartboost.Mediation.GoogleBidding.IOS.asmdef.meta +7 -0
  36. package/Runtime/iOS/GoogleBiddingAdapter.cs +61 -0
  37. package/Runtime/iOS/GoogleBiddingAdapter.cs.meta +11 -0
  38. package/Runtime/iOS/Plugins/iOS/CBMGoogleBiddingUnityBridge.mm +33 -0
  39. package/Runtime/iOS/Plugins/iOS/CBMGoogleBiddingUnityBridge.mm.meta +37 -0
  40. package/Runtime/iOS/Plugins/iOS.meta +8 -0
  41. package/Runtime/iOS/Plugins.meta +8 -0
  42. package/Runtime/iOS.meta +8 -0
  43. package/Runtime.meta +8 -0
  44. package/Tests/Editor/Chartboost.Mediation.GoogleBidding.Tests.Editor.asmdef +26 -0
  45. package/Tests/Editor/Chartboost.Mediation.GoogleBidding.Tests.Editor.asmdef.meta +7 -0
  46. package/Tests/Editor/VersionValidator.cs +21 -0
  47. package/Tests/Editor/VersionValidator.cs.meta +3 -0
  48. package/Tests/Editor.meta +8 -0
  49. package/Tests/Runtime/Chartboost.Mediation.GoogleBidding.Tests.Runtime.asmdef +29 -0
  50. package/Tests/Runtime/Chartboost.Mediation.GoogleBidding.Tests.Runtime.asmdef.meta +7 -0
  51. package/Tests/Runtime/GoogleBiddingAdapterTests.cs +51 -0
  52. package/Tests/Runtime/GoogleBiddingAdapterTests.cs.meta +11 -0
  53. package/Tests/Runtime.meta +8 -0
  54. package/Tests.meta +8 -0
  55. package/package.json +32 -0
  56. package/package.json.meta +7 -0
  57. package/rsync.sh +17 -0
  58. package/rsync.sh.meta +7 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,20 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file using the standards as defined at [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0).
3
+
4
+ ### Version 5.0.0 *(2024-08-08)*
5
+
6
+ First version of the Chartboost Mediation Unity SDK - Google Bidding Adapter.
7
+
8
+ #Added
9
+ - Support for the following `Google Bidding` dependencies. Notice adapter dependencies are optimistic and any patches and hot-fixes will be automatically picked up.:
10
+ * Android: `com.chartboost:chartboost-mediation-adapter-google-bidding:5.23.2.+`
11
+ * iOS: `ChartboostMediationAdapterGoogleBidding ~> 5.11.5.0`
12
+
13
+ - `GoogleBiddingAdapter.cs` with Configuration Properties for `Google Bidding`.
14
+ - The following properties have been added in `GoogleBiddingAdapter.cs`
15
+ * `string AdapterUnityVersion`
16
+ * `string AdapterNativeVersion`
17
+ * `string PartnerSDKVersion`
18
+ * `string PartnerIdentifier`
19
+ * `string PartnerDisplayName`
20
+ * `IReadOnlyCollection<string> TestDeviceIds`
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 842b7acc6f85942f1b5fc05d7f3c423e
3
+ TextScriptImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,24 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <package>
3
+ <metadata>
4
+ <id>Chartboost.CSharp.Mediation.Unity.Adapter.GoogleBidding</id>
5
+ <version>5.0.0</version>
6
+ <title>Chartboost Mediation Adapter - Google Bidding</title>
7
+ <description>The Chartboost Mediation Unity SDK Adapter for Google Bidding.</description>
8
+ <authors>Chartboost</authors>
9
+ <owners>Chartboost</owners>
10
+ <license type="file">LICENSE.md</license>
11
+ <readme>README.md</readme>
12
+ <projectUrl>https://www.chartboost.com/products/mediation/</projectUrl>
13
+ <copyright>Copyright 2024</copyright>
14
+ <tags>Chartboost, Ads, Mediation, Unity, Adapter, Google Bidding, cs</tags>
15
+ <repository type="git" url="https://github.com/ChartBoost/chartboost-mediation-unity-adapter-google-bidding.git"/>
16
+ <dependencies>
17
+ <dependency id="Chartboost.CSharp.Mediation.Unity" version="5.0.0" />
18
+ <dependency id="Chartboost.CSharp.Threading.Unity" version="1.0.1" />
19
+ <dependency id="Chartboost.CSharp.Utilities.Unity" version="1.0.1" />
20
+ <dependency id="Chartboost.CSharp.Logging.Unity" version="1.0.0" />
21
+ <dependency id="Chartboost.CSharp.Utilities.Google.Unity" version="1.0.0" />
22
+ </dependencies>
23
+ </metadata>
24
+ </package>
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: bfab9e785d1474a4abd984651d557f95
3
+ DefaultImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <dependencies>
3
+ <androidPackages>
4
+ <!-- Android Adapter -->
5
+ <androidPackage spec="com.chartboost:chartboost-mediation-adapter-google-bidding:5.23.2.+"/>
6
+ </androidPackages>
7
+ <iosPods>
8
+ <!-- iOS Adapter -->
9
+ <iosPod name="ChartboostMediationAdapterGoogleBidding" version="~> 5.11.5.0"/>
10
+
11
+ <!-- Partner iOS SDK-->
12
+ <iosPod name="Google-Mobile-Ads-SDK" version="~> 11.5.0" addToAllTargets="false"/>
13
+ </iosPods>
14
+ </dependencies>
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 06a3bbbe4c8f54163bacc53e7e4e2b2e
3
+ TextScriptImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
package/Editor.meta ADDED
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: 41e87f8b814c64f3c836871abb0f36ca
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
package/LICENSE.md ADDED
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright 2024 Chartboost Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: b01695eee43e74a2f9368438b5ac5920
3
+ TextScriptImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
package/README.md ADDED
@@ -0,0 +1,92 @@
1
+ # Chartboost Mediation Unity SDK - Google Bidding Adapter
2
+
3
+ Provides a list of externally configurable properties pertaining to the partner SDK that can be retrieved and set by publishers.
4
+
5
+ Dependencies for the adapter are now embedded in the package, and can be found at `com.chartboost.mediation.unity.adapter.google-bidding/Editor/GoogleBiddingAdapterDependencies.xml`.
6
+
7
+ # Installation
8
+
9
+ ## Using the public [npm registry](https://www.npmjs.com/search?q=com.chartboost.mediation.unity.adapter.google-bidding)
10
+
11
+ In order to add the Chartboost Mediation Unity SDK - Google Bidding Adapter to your project using the npm package, add the following to your Unity Project's ***manifest.json*** file. The scoped registry section is required in order to fetch packages from the NpmJS registry.
12
+
13
+ ```json
14
+ "dependencies": {
15
+ "com.chartboost.mediation.unity.adapter.google-bidding": "5.0.0",
16
+ ...
17
+ },
18
+ "scopedRegistries": [
19
+ {
20
+ "name": "NpmJS",
21
+ "url": "https://registry.npmjs.org",
22
+ "scopes": [
23
+ "com.chartboost"
24
+ ]
25
+ }
26
+ ]
27
+ ```
28
+ ## Using the public [NuGet package](https://www.nuget.org/packages/Chartboost.CSharp.Mediation.Unity.Adapter.GoogleBidding)
29
+
30
+ To add the Chartboost Mediation Unity SDK - Google Bidding Adapter to your project using the NuGet package, you will first need to add the [NugetForUnity](https://github.com/GlitchEnzo/NuGetForUnity) package into your Unity Project.
31
+
32
+ This can be done by adding the following to your Unity Project's ***manifest.json***
33
+
34
+ ```json
35
+ "dependencies": {
36
+ "com.github-glitchenzo.nugetforunity": "https://github.com/GlitchEnzo/NuGetForUnity.git?path=/src/NuGetForUnity",
37
+ ...
38
+ },
39
+ ```
40
+
41
+ Once <code>NugetForUnity</code> is installed, search for `Chartboost.CSharp.Mediation.Unity.Adapter.GoogleBidding` in the search bar of Nuget Explorer window(Nuget -> Manage Nuget Packages).
42
+ You should be able to see the `Chartboost.CSharp.Mediation.Unity.Adapter.GoogleBidding` package. Choose the appropriate version and install.
43
+
44
+ # Chartboost - Google Utilities for AndroidManifest.xml & Info.plist
45
+ In order for the Google User Messaging Platform to initialize the `application ID` must be added to the `AndroidManifest.xml` & `Info.plist`. Chartboost provides this functionality through its dependency package for Google adapters.
46
+
47
+ Simply click on the Editor menu: `Chartboost/Google/Configure` and set your `application ID` as needed. This configuration is shared for all Google packages possibly integrated, e.g: Google User Messaging Platform, AdMob, Google Bidding, etc.
48
+
49
+ # Usage
50
+
51
+ The following code block exemplifies usage of the `GoogleBiddingAdapter.cs` configuration class.
52
+
53
+ ## IPartnerAdapterConfiguration Properties
54
+
55
+ ```csharp
56
+
57
+ // AdapterUnityVersion - The partner adapter Unity version, e.g: 5.0.0
58
+ Debug.Log($"Adapter Unity Version: {GoogleBiddingAdapter.AdapterUnityVersion}");
59
+
60
+ // AdapterNativeVersion - The partner adapter version, e.g: 5.22.3.0.0
61
+ Debug.Log($"Adapter Native Version: {GoogleBiddingAdapter.AdapterNativeVersion}");
62
+
63
+ // PartnerSDKVersion - The partner SDK version, e.g: 22.3.0
64
+ Debug.Log($"Partner SDK Version: {GoogleBiddingAdapter.PartnerSDKVersion}");
65
+
66
+ // PartnerIdentifier - The partner ID for internal uses, e.g: google_googlebidding
67
+ Debug.Log($"Partner Identifier: {GoogleBiddingAdapter.PartnerIdentifier}");
68
+
69
+ // PartnerDisplayName - The partner name for external uses, e.g: Google Bidding
70
+ Debug.Log($"Partner Display Name: {GoogleBiddingAdapter.PartnerDisplayName}");
71
+ ```
72
+
73
+ ## Test Device Ids
74
+
75
+ Test device Ids can be set and fetch using `GoogleBiddingAdapter.TestDeviceIds`.
76
+
77
+ ```csharp
78
+
79
+ // Example test device ids
80
+ var testDeviceIds = new List<string>
81
+ {
82
+ "33BE2250B43518CCDA7DE426D04EE231",
83
+ "33BE2250B43518CCDA7DE426D04EE232",
84
+ "33BE2250B43518CCDA7DE426D04EE233"
85
+ };
86
+
87
+ // Setting test device ids
88
+ GoogleBiddingAdapter.TestDeviceIds = testDeviceIds;
89
+
90
+ // Clearing test device ids
91
+ GoogleBiddingAdapter.TestDeviceIds = null;
92
+ ```
package/README.md.meta ADDED
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 9137eb4ed93af4703be091e782bd6e5e
3
+ TextScriptImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,3 @@
1
+ using UnityEngine.Scripting;
2
+
3
+ [assembly: AlwaysLinkAssembly]
@@ -0,0 +1,3 @@
1
+ fileFormatVersion: 2
2
+ guid: 87867e3f7259a41359a2b3c05155ce34
3
+ timeCreated: 1684175795
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "Chartboost.Mediation.GoogleBidding.Android",
3
+ "rootNamespace": "Chartboost.Mediation.GoogleBidding.Android",
4
+ "references": [
5
+ "Chartboost.Threading",
6
+ "Chartboost.Logging",
7
+ "Chartboost.Mediation.GoogleBidding",
8
+ "Chartboost.Mediation",
9
+ "Chartboost.Mediation.Android",
10
+ "Chartboost.Utilities.Android"
11
+ ],
12
+ "includePlatforms": [
13
+ "Android",
14
+ "Editor"
15
+ ],
16
+ "excludePlatforms": [],
17
+ "allowUnsafeCode": false,
18
+ "overrideReferences": false,
19
+ "precompiledReferences": [
20
+ ""
21
+ ],
22
+ "autoReferenced": true,
23
+ "defineConstraints": [],
24
+ "versionDefines": [],
25
+ "noEngineReferences": false
26
+ }
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 32d819a3a234e4909828e86f2e933da7
3
+ AssemblyDefinitionImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,76 @@
1
+ using System.Collections.Generic;
2
+ using Chartboost.Constants;
3
+ using Chartboost.Mediation.GoogleBidding.Common;
4
+ using UnityEngine;
5
+
6
+ namespace Chartboost.Mediation.GoogleBidding.Android
7
+ {
8
+ internal sealed class GoogleBiddingAdapter : IGoogleBiddingAdapter
9
+ {
10
+ private const string GoogleBiddingAdapterConfiguration = "com.chartboost.mediation.googlebiddingadapter.GoogleBiddingAdapterConfiguration";
11
+
12
+ [RuntimeInitializeOnLoadMethod]
13
+ private static void RegisterInstance()
14
+ {
15
+ if (Application.isEditor)
16
+ return;
17
+ GoogleBidding.GoogleBiddingAdapter.Instance = new GoogleBiddingAdapter();
18
+ }
19
+
20
+ /// <inheritdoc/>
21
+ public string AdapterNativeVersion
22
+ {
23
+ get
24
+ {
25
+ using var adapterConfiguration = new AndroidJavaObject(GoogleBiddingAdapterConfiguration);
26
+ return adapterConfiguration.Call<string>(SharedAndroidConstants.FunctionGetAdapterVersion);
27
+ }
28
+ }
29
+
30
+ /// <inheritdoc/>
31
+ public string PartnerSDKVersion
32
+ {
33
+ get
34
+ {
35
+ using var adapterConfiguration = new AndroidJavaObject(GoogleBiddingAdapterConfiguration);
36
+ return adapterConfiguration.Call<string>(SharedAndroidConstants.FunctionGetPartnerSdkVersion);
37
+ }
38
+ }
39
+
40
+ /// <inheritdoc/>
41
+ public string PartnerIdentifier
42
+ {
43
+ get
44
+ {
45
+ using var adapterConfiguration = new AndroidJavaObject(GoogleBiddingAdapterConfiguration);
46
+ return adapterConfiguration.Call<string>(SharedAndroidConstants.FunctionGetPartnerId);
47
+ }
48
+ }
49
+
50
+ /// <inheritdoc/>
51
+ public string PartnerDisplayName
52
+ {
53
+ get
54
+ {
55
+ using var adapterConfiguration = new AndroidJavaObject(GoogleBiddingAdapterConfiguration);
56
+ return adapterConfiguration.Call<string>(SharedAndroidConstants.FunctionGetPartnerDisplayName);
57
+ }
58
+ }
59
+
60
+ /// <inheritdoc/>
61
+ public IReadOnlyCollection<string> TestDeviceIds {
62
+ get
63
+ {
64
+ using var adapterConfiguration = new AndroidJavaObject(GoogleBiddingAdapterConfiguration);
65
+ using var nativeTestDeviceIds = adapterConfiguration.Call<AndroidJavaObject>(SharedAndroidConstants.FunctionGetTestDeviceIds);
66
+ return nativeTestDeviceIds.NativeListToList();
67
+ }
68
+ set
69
+ {
70
+ using var adapterConfiguration = new AndroidJavaObject(GoogleBiddingAdapterConfiguration);
71
+ using var nativeList = value.EnumerableToNativeList();
72
+ adapterConfiguration.Call(SharedAndroidConstants.FunctionSetTestDeviceIds, nativeList);
73
+ }
74
+ }
75
+ }
76
+ }
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 015d82fddd5c8481a9ebfd98b3b2b26e
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: a4ea7ece3c72c4506aa985f45a890364
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,16 @@
1
+ using System.Runtime.CompilerServices;
2
+ using Chartboost.Mediation.GoogleBidding;
3
+ using UnityEngine.Scripting;
4
+
5
+ [assembly: AlwaysLinkAssembly]
6
+ [assembly: InternalsVisibleTo(AssemblyInfo.GoogleBiddingAssemblyInfoAndroid)]
7
+ [assembly: InternalsVisibleTo(AssemblyInfo.GoogleBiddingAssemblyInfoIOS)]
8
+
9
+ namespace Chartboost.Mediation.GoogleBidding
10
+ {
11
+ internal class AssemblyInfo
12
+ {
13
+ public const string GoogleBiddingAssemblyInfoAndroid = "Chartboost.Mediation.GoogleBidding.Android";
14
+ public const string GoogleBiddingAssemblyInfoIOS = "Chartboost.Mediation.GoogleBidding.IOS";
15
+ }
16
+ }
@@ -0,0 +1,3 @@
1
+ fileFormatVersion: 2
2
+ guid: c8632ec956c974ba1bb94eb6ab8f0355
3
+ timeCreated: 1684175795
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "Chartboost.Mediation.GoogleBidding",
3
+ "rootNamespace": "Chartboost.Mediation.GoogleBidding",
4
+ "references": [
5
+ "Chartboost.Threading",
6
+ "Chartboost.Logging",
7
+ "Chartboost.Utilities",
8
+ "Chartboost.Mediation"
9
+ ],
10
+ "includePlatforms": [],
11
+ "excludePlatforms": [],
12
+ "allowUnsafeCode": false,
13
+ "overrideReferences": false,
14
+ "precompiledReferences": [
15
+ ""
16
+ ],
17
+ "autoReferenced": true,
18
+ "defineConstraints": [],
19
+ "versionDefines": [],
20
+ "noEngineReferences": false
21
+ }
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: ac9e9a9b7bd924d5e9ed9ab4280e4200
3
+ AssemblyDefinitionImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,18 @@
1
+ using System.Collections.Generic;
2
+ using Chartboost.Mediation.Adapters;
3
+
4
+ namespace Chartboost.Mediation.GoogleBidding.Common
5
+ {
6
+ /// <summary>
7
+ /// The Chartboost Mediation GoogleBidding adapter.
8
+ /// </summary>
9
+ internal interface IGoogleBiddingAdapter : IPartnerAdapterConfiguration
10
+ {
11
+ /// <summary>
12
+ /// List containing device IDs to be set for enabling GoogleBidding test ads.
13
+ /// It can be populated at any time and will take effect for the next ad request.
14
+ /// Remember to empty this list or stop setting it before releasing your app.
15
+ /// </summary>
16
+ IReadOnlyCollection<string> TestDeviceIds { get; set; }
17
+ }
18
+ }
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 39e798cfda8784793ab99ac3dfd123f7
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: a5d85fe3d74414807998f2da57f6cb7c
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,35 @@
1
+ using System;
2
+ using System.Collections.Generic;
3
+ using Chartboost.Mediation.GoogleBidding.Common;
4
+
5
+ namespace Chartboost.Mediation.GoogleBidding.Default
6
+ {
7
+ internal class GoogleBiddingDefault : IGoogleBiddingAdapter
8
+ {
9
+ /// <inheritdoc/>
10
+ public string AdapterNativeVersion => GoogleBiddingAdapter.AdapterUnityVersion;
11
+
12
+ /// <inheritdoc/>
13
+ public string PartnerSDKVersion => GoogleBiddingAdapter.AdapterUnityVersion;
14
+
15
+ /// <inheritdoc/>
16
+ public string PartnerIdentifier => "google_googlebidding";
17
+
18
+ /// <inheritdoc/>
19
+ public string PartnerDisplayName => "Google Bidding";
20
+
21
+ /// <inheritdoc/>
22
+ public IReadOnlyCollection<string> TestDeviceIds {
23
+ get => _testDeviceIds;
24
+ set
25
+ {
26
+ if (value == null || value.Count == 0)
27
+ _testDeviceIds = Array.Empty<string>();
28
+ else
29
+ _testDeviceIds = value;
30
+ }
31
+ }
32
+
33
+ private IReadOnlyCollection<string> _testDeviceIds = Array.Empty<string>();
34
+ }
35
+ }
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 52989e78606d94cb38298eccf12fa911
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: 1e24b9f1df7714549a259cec89817a9f
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,37 @@
1
+ using System.Collections.Generic;
2
+ using Chartboost.Mediation.Adapters;
3
+ using Chartboost.Mediation.GoogleBidding.Common;
4
+ using Chartboost.Mediation.GoogleBidding.Default;
5
+
6
+ namespace Chartboost.Mediation.GoogleBidding
7
+ {
8
+ /// <inheritdoc cref="IGoogleBiddingAdapter"/>
9
+ public static class GoogleBiddingAdapter
10
+ {
11
+ internal static IGoogleBiddingAdapter Instance = new GoogleBiddingDefault();
12
+
13
+ /// <summary>
14
+ /// The partner adapter Unity version.
15
+ /// </summary>
16
+ public const string AdapterUnityVersion = "5.0.0";
17
+
18
+ /// <inheritdoc cref="IPartnerAdapterConfiguration.AdapterNativeVersion"/>
19
+ public static string AdapterNativeVersion => Instance.AdapterNativeVersion;
20
+
21
+ /// <inheritdoc cref="IPartnerAdapterConfiguration.PartnerSDKVersion"/>
22
+ public static string PartnerSDKVersion => Instance.PartnerSDKVersion;
23
+
24
+ /// <inheritdoc cref="IPartnerAdapterConfiguration.PartnerIdentifier"/>
25
+ public static string PartnerIdentifier => Instance.PartnerIdentifier;
26
+
27
+ /// <inheritdoc cref="IPartnerAdapterConfiguration.PartnerDisplayName"/>
28
+ public static string PartnerDisplayName => Instance.PartnerDisplayName;
29
+
30
+ /// <inheritdoc cref="IGoogleBiddingAdapter.TestDeviceIds"/>
31
+ public static IReadOnlyCollection<string> TestDeviceIds
32
+ {
33
+ get => Instance.TestDeviceIds;
34
+ set => Instance.TestDeviceIds = value;
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 4f08530679ff345e187b17cb2793f312
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: 7e7267081230e4697834b3baa1d1c432
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,3 @@
1
+ using UnityEngine.Scripting;
2
+
3
+ [assembly: AlwaysLinkAssembly]
@@ -0,0 +1,3 @@
1
+ fileFormatVersion: 2
2
+ guid: 8ff12ff50dcb64f009de01aff45657b2
3
+ timeCreated: 1684175795
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "Chartboost.Mediation.GoogleBidding.IOS",
3
+ "rootNamespace": "Chartboost.Mediation.GoogleBidding.IOS",
4
+ "references": [
5
+ "Chartboost.Threading",
6
+ "Chartboost.Logging",
7
+ "Chartboost.Mediation.GoogleBidding",
8
+ "Chartboost.Mediation",
9
+ "Chartboost.Utilities.IOS"
10
+ ],
11
+ "includePlatforms": [
12
+ "Editor",
13
+ "iOS"
14
+ ],
15
+ "excludePlatforms": [],
16
+ "allowUnsafeCode": false,
17
+ "overrideReferences": false,
18
+ "precompiledReferences": [
19
+ ""
20
+ ],
21
+ "autoReferenced": true,
22
+ "defineConstraints": [],
23
+ "versionDefines": [],
24
+ "noEngineReferences": false
25
+ }
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 619d6f240650c4cdcb1926a5aec52b9f
3
+ AssemblyDefinitionImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,61 @@
1
+ using System;
2
+ using System.Collections.Generic;
3
+ using System.Linq;
4
+ using System.Runtime.InteropServices;
5
+ using Chartboost.Constants;
6
+ using Chartboost.Mediation.GoogleBidding.Common;
7
+ using Chartboost.Mediation.Utilities;
8
+ using UnityEngine;
9
+
10
+ namespace Chartboost.Mediation.GoogleBidding.IOS
11
+ {
12
+ internal sealed class GoogleBiddingAdapter : IGoogleBiddingAdapter
13
+ {
14
+ [RuntimeInitializeOnLoadMethod]
15
+ private static void RegisterInstance()
16
+ {
17
+ if (Application.isEditor)
18
+ return;
19
+ GoogleBidding.GoogleBiddingAdapter.Instance = new GoogleBiddingAdapter();
20
+ }
21
+
22
+ /// <inheritdoc/>
23
+ public string AdapterNativeVersion => _CBMGoogleBiddingAdapterAdapterVersion();
24
+
25
+ /// <inheritdoc/>
26
+ public string PartnerSDKVersion => _CBMGoogleBiddingAdapterPartnerSDKVersion();
27
+
28
+ /// <inheritdoc/>
29
+ public string PartnerIdentifier => _CBMGoogleBiddingAdapterPartnerId();
30
+
31
+ /// <inheritdoc/>
32
+ public string PartnerDisplayName => _CBMGoogleBiddingAdapterPartnerDisplayName();
33
+
34
+ /// <inheritdoc/>
35
+ public IReadOnlyCollection<string> TestDeviceIds
36
+ {
37
+ get
38
+ {
39
+ var testDeviceIds = _CBMGoogleBiddingAdapterGetTestDeviceIds();
40
+ return string.IsNullOrEmpty(testDeviceIds) ? Array.Empty<string>() : testDeviceIds.ToList();
41
+ }
42
+ set
43
+ {
44
+ if (value == null || value.Count == 0)
45
+ {
46
+ _CBMGoogleBiddingAdapterSetTestDeviceIds(Array.Empty<string>(), 0);
47
+ return;
48
+ }
49
+
50
+ _CBMGoogleBiddingAdapterSetTestDeviceIds(value.ToArray(), value.Count);
51
+ }
52
+ }
53
+
54
+ [DllImport(SharedIOSConstants.DLLImport)] private static extern string _CBMGoogleBiddingAdapterAdapterVersion();
55
+ [DllImport(SharedIOSConstants.DLLImport)] private static extern string _CBMGoogleBiddingAdapterPartnerSDKVersion();
56
+ [DllImport(SharedIOSConstants.DLLImport)] private static extern string _CBMGoogleBiddingAdapterPartnerId();
57
+ [DllImport(SharedIOSConstants.DLLImport)] private static extern string _CBMGoogleBiddingAdapterPartnerDisplayName();
58
+ [DllImport(SharedIOSConstants.DLLImport)] private static extern string _CBMGoogleBiddingAdapterGetTestDeviceIds();
59
+ [DllImport(SharedIOSConstants.DLLImport)] private static extern void _CBMGoogleBiddingAdapterSetTestDeviceIds(string[] testDeviceIds, int testDeviceIdsSize);
60
+ }
61
+ }
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 58b170df4a00c4665ab95ea0e68056d3
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -0,0 +1,33 @@
1
+ #import "CBMDelegates.h"
2
+ #import "ChartboostUnityUtilities.h"
3
+ #import <ChartboostMediationAdapterGoogleBidding/ChartboostMediationAdapterGoogleBidding-Swift.h>
4
+
5
+ extern "C" {
6
+
7
+ const char * _CBMGoogleBiddingAdapterAdapterVersion(){
8
+ return toCStringOrNull([GoogleBiddingAdapterConfiguration adapterVersion]);
9
+ }
10
+
11
+ const char * _CBMGoogleBiddingAdapterPartnerSDKVersion(){
12
+ return toCStringOrNull([GoogleBiddingAdapterConfiguration partnerSDKVersion]);
13
+ }
14
+
15
+ const char * _CBMGoogleBiddingAdapterPartnerId(){
16
+ return toCStringOrNull([GoogleBiddingAdapterConfiguration partnerID]);
17
+ }
18
+
19
+ const char * _CBMGoogleBiddingAdapterPartnerDisplayName(){
20
+ return toCStringOrNull([GoogleBiddingAdapterConfiguration partnerDisplayName]);
21
+ }
22
+
23
+ const char * _CBMGoogleBiddingAdapterGetTestDeviceIds(){
24
+ return toJSON([GoogleBiddingAdapterConfiguration testDeviceIdentifiers]);
25
+ }
26
+
27
+ void _CBMGoogleBiddingAdapterSetTestDeviceIds(const char** testDeviceIds, int testDeviceIdsSize){
28
+ if (testDeviceIdsSize > 0)
29
+ [GoogleBiddingAdapterConfiguration setTestDeviceIdentifiers:toNSMutableArray(testDeviceIds, testDeviceIdsSize)];
30
+ else
31
+ [GoogleBiddingAdapterConfiguration setTestDeviceIdentifiers:nil];
32
+ }
33
+ }
@@ -0,0 +1,37 @@
1
+ fileFormatVersion: 2
2
+ guid: 6970bc19b67da4819af5e961540c4d41
3
+ PluginImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ iconMap: {}
7
+ executionOrder: {}
8
+ defineConstraints: []
9
+ isPreloaded: 0
10
+ isOverridable: 1
11
+ isExplicitlyReferenced: 0
12
+ validateReferences: 1
13
+ platformData:
14
+ - first:
15
+ Any:
16
+ second:
17
+ enabled: 0
18
+ settings: {}
19
+ - first:
20
+ Editor: Editor
21
+ second:
22
+ enabled: 0
23
+ settings:
24
+ DefaultValueInitialized: true
25
+ - first:
26
+ iPhone: iOS
27
+ second:
28
+ enabled: 1
29
+ settings: {}
30
+ - first:
31
+ tvOS: tvOS
32
+ second:
33
+ enabled: 1
34
+ settings: {}
35
+ userData:
36
+ assetBundleName:
37
+ assetBundleVariant:
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: f4c6099b5a809476897ef447ba557f93
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: b954de13c20c8443db510f10401df2d9
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: dab8fc9e9b56046f7aac7f148d4353fd
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
package/Runtime.meta ADDED
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: 614736dfe41a44bb2b4dab73c8d9c759
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "Chartboost.Mediation.GoogleBidding.Tests.Editor",
3
+ "rootNamespace": "Chartboost.Tests.Editor",
4
+ "references": [
5
+ "UnityEngine.TestRunner",
6
+ "UnityEditor.TestRunner",
7
+ "Chartboost.Utilities.Editor",
8
+ "Chartboost.Logging",
9
+ "Chartboost.Mediation.GoogleBidding"
10
+ ],
11
+ "includePlatforms": [
12
+ "Editor"
13
+ ],
14
+ "excludePlatforms": [],
15
+ "allowUnsafeCode": false,
16
+ "overrideReferences": true,
17
+ "precompiledReferences": [
18
+ "nunit.framework.dll"
19
+ ],
20
+ "autoReferenced": false,
21
+ "defineConstraints": [
22
+ "UNITY_INCLUDE_TESTS"
23
+ ],
24
+ "versionDefines": [],
25
+ "noEngineReferences": false
26
+ }
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: aea536ef908bf4b94ad2167531e83871
3
+ AssemblyDefinitionImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,21 @@
1
+ using Chartboost.Editor;
2
+ using Chartboost.Logging;
3
+ using Chartboost.Mediation.GoogleBidding;
4
+ using NUnit.Framework;
5
+
6
+ namespace Chartboost.Tests.Editor
7
+ {
8
+ internal class VersionValidator
9
+ {
10
+ private const string UnityPackageManagerPackageName = "com.chartboost.mediation.unity.adapter.google-bidding";
11
+ private const string NuGetPackageName = "Chartboost.CSharp.Mediation.Unity.Adapter.GoogleBidding";
12
+
13
+ [SetUp]
14
+ public void SetUp()
15
+ => LogController.LoggingLevel = LogLevel.Debug;
16
+
17
+ [Test]
18
+ public void ValidateVersion()
19
+ => VersionCheck.ValidateVersions(UnityPackageManagerPackageName, NuGetPackageName, GoogleBiddingAdapter.AdapterUnityVersion);
20
+ }
21
+ }
@@ -0,0 +1,3 @@
1
+ fileFormatVersion: 2
2
+ guid: fb117dd47d90747beb4c52ca30ad4866
3
+ timeCreated: 1710897732
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: 685e23f725e9c4979a1f31be29b7bcef
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "Chartboost.Mediation.GoogleBidding.Tests.Runtime",
3
+ "rootNamespace": "Chartboost.Tests",
4
+ "references": [
5
+ "UnityEngine.TestRunner",
6
+ "UnityEditor.TestRunner",
7
+ "Chartboost.Utilities",
8
+ "Chartboost.Mediation.GoogleBidding",
9
+ "Chartboost.Logging",
10
+ "Chartboost.Utilities.Tests.Runtime"
11
+ ],
12
+ "includePlatforms": [
13
+ "Android",
14
+ "Editor",
15
+ "iOS"
16
+ ],
17
+ "excludePlatforms": [],
18
+ "allowUnsafeCode": false,
19
+ "overrideReferences": true,
20
+ "precompiledReferences": [
21
+ "nunit.framework.dll"
22
+ ],
23
+ "autoReferenced": false,
24
+ "defineConstraints": [
25
+ "UNITY_INCLUDE_TESTS"
26
+ ],
27
+ "versionDefines": [],
28
+ "noEngineReferences": false
29
+ }
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 786f4770c6b64491b9809e22a7c45db7
3
+ AssemblyDefinitionImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,51 @@
1
+ using System;
2
+ using System.Collections.Generic;
3
+ using Chartboost.Logging;
4
+ using Chartboost.Mediation.GoogleBidding;
5
+ using Chartboost.Tests.Runtime;
6
+ using NUnit.Framework;
7
+
8
+ namespace Chartboost.Tests
9
+ {
10
+ internal class GoogleBiddingAdapterTests
11
+ {
12
+ [SetUp]
13
+ public void SetUp()
14
+ => LogController.LoggingLevel = LogLevel.Debug;
15
+
16
+ [Test]
17
+ public void AdapterNativeVersion()
18
+ => TestUtilities.TestStringGetter(() => GoogleBiddingAdapter.AdapterNativeVersion);
19
+
20
+ [Test]
21
+ public void PartnerSDKVersion()
22
+ => TestUtilities.TestStringGetter(() => GoogleBiddingAdapter.PartnerSDKVersion);
23
+
24
+ [Test]
25
+ public void PartnerIdentifier()
26
+ => TestUtilities.TestStringGetter(() => GoogleBiddingAdapter.PartnerIdentifier);
27
+
28
+ [Test]
29
+ public void PartnerDisplayName()
30
+ => TestUtilities.TestStringGetter(() => GoogleBiddingAdapter.PartnerDisplayName);
31
+
32
+ [Test]
33
+ public void TestDeviceIds()
34
+ {
35
+ Assert.AreEqual(Array.Empty<string>(), GoogleBiddingAdapter.TestDeviceIds);
36
+
37
+ var testDeviceIds = new List<string>
38
+ {
39
+ "33BE2250B43518CCDA7DE426D04EE231",
40
+ "33BE2250B43518CCDA7DE426D04EE232",
41
+ "33BE2250B43518CCDA7DE426D04EE233"
42
+ };
43
+
44
+ GoogleBiddingAdapter.TestDeviceIds = testDeviceIds;
45
+ Assert.AreEqual(testDeviceIds ,GoogleBiddingAdapter.TestDeviceIds);
46
+ LogController.Log($"Test Device Ids: {Json.JsonTools.SerializeObject(GoogleBiddingAdapter.TestDeviceIds)}", LogLevel.Debug);
47
+ GoogleBiddingAdapter.TestDeviceIds = null;
48
+ Assert.AreEqual(Array.Empty<string>(), GoogleBiddingAdapter.TestDeviceIds);
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 0daf7d1f11f8b4e0383e16ec14940f63
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: 995a3bd168f794650b6102034b80507a
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
package/Tests.meta ADDED
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: df606ab47965142ef804a5e98b990fb7
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "com.chartboost.mediation.unity.adapter.google-bidding",
3
+ "version": "5.0.0",
4
+ "displayName": "Chartboost Mediation Adapter - Google Bidding",
5
+ "description": "The Chartboost Mediation Unity SDK Adapter for Google Bidding.",
6
+ "unity": "2022.3",
7
+ "documentationUrl": "https://docs.chartboost.com/en/mediation/integrate/unity/get-started/",
8
+ "changelogUrl": "https://docs.chartboost.com/en/mediation/integrate/unity/changelog/",
9
+ "licensesUrl": "https://docs.chartboost.com/en/legal/",
10
+ "dependencies": {
11
+ "com.chartboost.mediation" : "5.0.0",
12
+ "com.chartboost.unity.threading": "1.0.1",
13
+ "com.chartboost.unity.utilities": "1.0.1",
14
+ "com.chartboost.unity.logging": "1.0.0",
15
+ "com.chartboost.unity.utilities.google" : "1.0.0"
16
+ },
17
+ "keywords": ["Chartboost", "Mediation", "Adapter", "Unity", "Google Bidding"],
18
+ "author": {
19
+ "name": "Chartboost",
20
+ "email": "sales@chartboost.com",
21
+ "url": "https://www.chartboost.com/products/mediation/"
22
+ },
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "https://github.com/ChartBoost/chartboost-mediation-unity-adapter-google-bidding.git"
26
+ },
27
+ "bugs": {
28
+ "url": "https://github.com/ChartBoost/chartboost-mediation-unity-adapter-google-bidding/issues",
29
+ "email": "helium-service@chartboost.com"
30
+ },
31
+ "hideInEditor": false
32
+ }
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 1486c6d001fc14832b33429e73c3238c
3
+ PackageManifestImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
package/rsync.sh ADDED
@@ -0,0 +1,17 @@
1
+ #!/bin/bash
2
+
3
+ # Check if PUBLIC_REPOSITORY_PATH is not set or is empty
4
+ if [ -z "${PUBLIC_REPOSITORY_PATH}" ]; then
5
+ echo "The \$PUBLIC_REPOSITORY_PATH variable is unset or empty. Assigning default value 'Public'."
6
+ PUBLIC_REPOSITORY_PATH=Public
7
+ fi
8
+
9
+ # Ensure the directory exists
10
+ mkdir -p "${PUBLIC_REPOSITORY_PATH}"
11
+
12
+ # com.chartboost.core
13
+ rsync -av --progress --verbose --delete \
14
+ --exclude='.git' \
15
+ --exclude='rsync*' \
16
+ com.chartboost.mediation.adapters/com.chartboost.mediation.unity.adapter.google-bidding/ "${PUBLIC_REPOSITORY_PATH}/"
17
+
package/rsync.sh.meta ADDED
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 9fda14e235c764bc4a90c67b79b26f3f
3
+ DefaultImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant: