You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: changelog.md
+17
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,23 @@
5
5
#### ** SDK **
6
6
7
7
8
+
### Version 4.2.1 *(12-04-2021)*
9
+
10
+
**New Features**
11
+
*_Lotame Module_: Added new module that incorporates the Lotame SDK used for tracking IAP and advertisement analytics.
12
+
13
+
**Bug fixes**
14
+
* Android/iOS: Fixed several issues regarding advertising.
15
+
* Unity Editor: Fixed displaying issue with dummy banner placements.
16
+
17
+
**Other**
18
+
* Android: Added support for Billing Library v3. Both old AIDL implementation as well as the new Billing Library will be supported by the SDK.
19
+
* Android/iOS/Unity/Cordova: Added support for first time offline usage for the Localization feature. When building the game, make sure that the 'defaultLocalizationData.json' file is present in your assets in order for this to work. The local file will always contain the default language.
20
+
* Android/iOS/Unity: Added support of custom callbacks per PlayerData operations for Wallet and Inventory (Add, Subtract, Open Gacha, Buy Bundle). For more information check the the Wallet and Inventory documentation.
21
+
* Android/iOS: Updated AdMob to latest version and all ad mediation networks.
22
+
* Android/iOS: Updated to the latest AppsFlyer SDK.
23
+
* Android: Migrated the SDK from Bintray to MavenCentral.
Copy file name to clipboardExpand all lines: knowledgeBase.md
+27
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,16 @@
75
75
> The reason why you would get duplicate library (aar files) erros could be that you have both these libraries imported as files in the "Assets/Plugins/Android" folder as well as imported through the "mainTemplate.gradle" file. The first thing you can do to spot duplicates is to use the "Verify Android Setup" option from Gamedock. This can be found in the Gamedock SDK->Configuration->Android->Verify Android Setup. If no errors appear in the Editor Console, investigate manually the "Assets/Plugins/Android" folder an make sure you have as little ".aar" files as possible and instead import those dependencies through the "mainTemplate.gradle" file. If you are using the Play Resolver also make sure to disable automatic importing of ".aar" files when resolving dependencies.
76
76
77
77
</details>
78
+
<br>
79
+
80
+
**For Android, when building the game/app I get a gradle error that contains this message: *AAPT: error: unexpected element <queries> found in <manifest>*.**
81
+
82
+
<details>
83
+
<summary>Answer</summary>
78
84
85
+
> This gradle build error is caused by the newer versions of AdMob. In order to fix it make sure you use one of the following Gradle built tools version: 3.3.3, 3.4.3, 3.5.4, 3.6.4, 4.0.1 or newer. Make sure these version are configured in your mainTemplate.gradle file and in the baseProjectTemplate.gradle file (if the Unity version supports it). More info on the versions that fix the issue can be found here: [https://stackoverflow.com/a/62969918](https://stackoverflow.com/a/62969918).
86
+
87
+
</details>
79
88
80
89
#### ** AIR **
81
90
@@ -87,7 +96,16 @@
87
96
> There are several common mistakes that might be causing this issue. The first is that as of 3.9.x or above, it is required that you do any ad related requests/operations only after the callback OnAdsInitialized has been fired (you need to listen to this callback). Another mistake could be that the advertisement configuration was not yet added for your game in the Gamedock Console. In this case contact your Game Producer/Gamedock Representative.
88
97
89
98
</details>
99
+
<br>
100
+
101
+
**For Android, when building the game/app I get a gradle error that contains this message: *AAPT: error: unexpected element <queries> found in <manifest>*.**
90
102
103
+
<details>
104
+
<summary>Answer</summary>
105
+
106
+
> This gradle build error is caused by the newer versions of AdMob. In order to fix it make sure you use one of the following Gradle built tools version: 3.3.3, 3.4.3, 3.5.4, 3.6.4, 4.0.1 or newer. More info on the versions that fix the issue can be found here: [https://stackoverflow.com/a/62969918](https://stackoverflow.com/a/62969918).
107
+
108
+
</details>
91
109
92
110
#### ** Cordova **
93
111
@@ -119,6 +137,15 @@
119
137
> In general missing text in the Age Gate or Privacy Policy(GDPR) windows is related to either missing the "defaultGameConfig.json" in the build or not having setup properly the SDK Config in the Gamedock Console.
120
138
121
139
</details>
140
+
<br>
141
+
142
+
**For Android, when building the game/app I get a gradle error that contains this message: *AAPT: error: unexpected element <queries> found in <manifest>*.**
122
143
144
+
<details>
145
+
<summary>Answer</summary>
146
+
147
+
> This gradle build error is caused by the newer versions of AdMob. In order to fix it make sure you use one of the following Gradle built tools version: 3.3.3, 3.4.3, 3.5.4, 3.6.4, 4.0.1 or newer. More info on the versions that fix the issue can be found here: [https://stackoverflow.com/a/62969918](https://stackoverflow.com/a/62969918).
Helper methods for retrieving specific entries in the Game Data lists (ID represents the id generated in the Console, NAME represents the name given by you to the specific entity when it was created).
@@ -289,6 +296,7 @@ By default each operation done on the Wallet or Inventory sends their own events
289
296
Gamedock.Instance.PlayerData.TransactionBuilder
290
297
.AddCurrency(currencyId, amount)
291
298
.SubtractItem(itemId, amount)
299
+
.AddCallback(userDataCallbackAction) //For custom callbacks, otherwise update will be fired on the delegate
0 commit comments