com.amanotes.gdk 0.2.71 → 0.2.72

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 (61) hide show
  1. package/CHANGELOG.md +96 -88
  2. package/Editor/AmaGDKEditor.cs +1 -1
  3. package/Editor/EmbedRemoteConfigAssetInspector.cs +1 -1
  4. package/Editor/Extra/GDKCIBuildCommand.cs +2 -16
  5. package/Extra/AmaGDKInstaller.unitypackage +0 -0
  6. package/Extra/CheckDiskSpace.unitypackage +0 -0
  7. package/Extra/Consent.unitypackage +0 -0
  8. package/Extra/ForceUpdate.unitypackage +0 -0
  9. package/Extra/LegacyGDKUpdateHelper.unitypackage +0 -0
  10. package/Extra/PostProcessor.unitypackage +0 -0
  11. package/Packages/AmaGDKConfig.unitypackage +0 -0
  12. package/Packages/AmaGDKExample.unitypackage +0 -0
  13. package/Packages/AmaGDKTest.unitypackage +0 -0
  14. package/Packages/AppsFlyerAdapter.PurchaseConnector.unitypackage +0 -0
  15. package/Packages/AppsFlyerAdapter.unitypackage +0 -0
  16. package/Packages/FirebaseAnalyticsAdapter.unitypackage +0 -0
  17. package/Packages/FirebaseRemoteConfigAdapter.unitypackage +0 -0
  18. package/Packages/IronSourceAdapter.unitypackage +0 -0
  19. package/Packages/MaxAdNetworkAdapter.unitypackage +0 -0
  20. package/Packages/RevenueCatAdapter.unitypackage +0 -0
  21. package/Packages/SqliteAnalyticsAdapter.unitypackage +0 -0
  22. package/Runtime/Ad/AdExtension.cs +2 -1
  23. package/Runtime/Ad/AdLogic.cs +1 -1
  24. package/Runtime/Ad/AmaGDK.Ads.cs +1 -1
  25. package/Runtime/AmaGDK.Adapters.cs +1 -1
  26. package/Runtime/AmaGDK.Analytics.cs +17 -30
  27. package/Runtime/AmaGDK.Config.cs +1 -7
  28. package/Runtime/AmaGDK.Consent.cs +9 -8
  29. package/Runtime/AmaGDK.Context.cs +1 -1
  30. package/Runtime/AmaGDK.Device.cs +3 -2
  31. package/Runtime/AmaGDK.IAP.cs +1 -1
  32. package/Runtime/AmaGDK.RemoteConfig.cs +2 -2
  33. package/Runtime/AmaGDK.Singleton.cs +1 -1
  34. package/Runtime/AmaGDK.UserProfile.cs +12 -11
  35. package/Runtime/AmaGDK.asmdef +1 -1
  36. package/Runtime/AmaGDK.cs +7 -7
  37. package/Runtime/AnalyticQualityAsset.cs +5 -6
  38. package/Runtime/AudioToolkit/AmaGDK.Audio.cs +3 -2
  39. package/Runtime/AudioToolkit/Plugins/AudioDeviceDetector.cs +2 -2
  40. package/Runtime/Core/GDKDebug.cs +97 -0
  41. package/Runtime/Core/GDKDebug.cs.meta +3 -0
  42. package/Runtime/Core/GDKPool.cs +56 -337
  43. package/Runtime/Core/GDKRoutine.cs +3 -1
  44. package/Runtime/Core/GDKSemVer.cs +1 -1
  45. package/Runtime/Core/GDKString.cs +197 -0
  46. package/Runtime/Core/GDKString.cs.meta +3 -0
  47. package/Runtime/EmbedRemoteConfigAsset.cs +2 -1
  48. package/Runtime/Fps/AmaFPS.Utils.cs +1 -1
  49. package/Runtime/Fps/AmaFPS.cs +1 -1
  50. package/Runtime/Fps/AmaFPSVisualizer.cs +1 -1
  51. package/Runtime/Fps/FrameRecorder.cs +1 -1
  52. package/Runtime/GDKAudio/GDKAudio.cs +11 -8
  53. package/Runtime/Internal/AmaGDK.Internal.cs +22 -33
  54. package/Runtime/Internal/AmaGDK.Utils.cs +4 -4
  55. package/Runtime/Internal/AmaGDK.WebUtils.cs +1 -1
  56. package/Runtime/Internal/GDKGeoLocationcs.cs +2 -1
  57. package/Runtime/Internal/GDKServerTime.cs +2 -1
  58. package/Runtime/Klavar/KlavarContainer.cs +4 -4
  59. package/Runtime/UserProfile/Plugins/Android/AdvertisingIdFetcher.cs +1 -1
  60. package/Runtime/Utils/GDKUtils.cs +1 -1
  61. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,14 @@
1
1
  # Changelog
2
2
 
3
- ## [0.2.71 - 2024-08-22]
3
+ ## [0.2.72] - 2024-08-29
4
+ - Revert "[Dev] Improve GDKPool performance main thread by using non-locking structure"
5
+ - This reverts commit 5857ea9cb05adf9e96a747216da8acd48e39f93e.
6
+ - [Fix] Change log version format `[version] - yyyy-MM-dd`
7
+ - [Dev] Add GDKDebug with no stack trace (to reduce GC)
8
+ - [Dev] Add GDKString for zero-allocated string operations
9
+ - [Fix] Change Gradle path only if GRADLE_PATH environment variable is set in headless mode
10
+
11
+ ## [0.2.71] - 2024-08-22
4
12
  - [Dev] Add export stage to reduce pipeline build time
5
13
  - [Dev] Cache IL2CPP and Gradle user home
6
14
  - [Dev] Improve GDKPool performance main thread by using non-locking structure
@@ -18,12 +26,12 @@
18
26
  - [Dev] Add support pod install and debug symbol generation in CI script
19
27
  - [Fix] Missing handler for various types in FirebaseAnalyticsAdapter
20
28
 
21
- ## [0.2.70 - 2024-08-02]
29
+ ## [0.2.70] - 2024-08-02
22
30
  - [Fix] onAdResult call multiple times
23
31
  - [Dev] Show SQLite analytics in GDK Inspector
24
32
  - [Dev] Reduce GC by reuse StringBuilders
25
33
 
26
- ## [0.2.69 - 2024-07-26]
34
+ ## [0.2.69] - 2024-07-26
27
35
  - [Fix] disable Max adapter
28
36
  - [Dev] Update OnAdResult callback
29
37
  - [Fix] Waiting for ad callback
@@ -57,16 +65,17 @@
57
65
  - [Dev] Enable AudioModule by default
58
66
  - [Dev] Standardize variable names
59
67
 
60
- ## [0.2.68 - 2024-07-08]
68
+ ## [0.2.68] - 2024-07-08
61
69
  - [Dev] Add IronSource setting to pause game during ad
62
70
  - [Fix] Support Android API Version 24 and below
63
71
  - [Dev] Add Audio Module flag
64
72
 
65
- ## [0.2.67 - 2024-07-04]
73
+ ## [0.2.67] - 2024-07-04
66
74
  - [Fix] Do retry immediately when OnAdLoadFailed trigger regardless of reason
67
75
  - Also: Update default ad request timeout to 30 secs
68
76
  - [Feature] Support FPS tracking
69
- - [Release] 0.2.66-1
77
+
78
+ ## [0.2.66-1] - 2024-06-25
70
79
  - [Dev] Add a flag to control flushEventDetail (save to file)
71
80
  - [Fix] Remove device spec call from constructor of AmaGDK
72
81
  - [Feature] classify device performance
@@ -76,18 +85,18 @@
76
85
  - [Dev] Handle a special case when Ad close callback is not triggered
77
86
  - [Dev] Automatically reimport adapters & extra packages on update
78
87
 
79
- ## [0.2.66 - 2024-06-25]
88
+ ## [0.2.66] - 2024-06-25
80
89
  - [Dev] Verify all fields are reset in Init EventParams
81
90
  - [Dev] Add try catch to prevent coroutines to stop silently
82
91
  - [Fix] Reset 'isLoggedImmediately' for every new EventParams
83
92
  - [Dev] Update Audio native plugin name
84
93
 
85
- ## [0.2.65-6 - 2024-06-20]
94
+ ## [0.2.65-6] - 2024-06-20
86
95
  - [Dev] Improve SDK Version Tracking
87
96
  - [Klavar] improve enum converter
88
97
  - [Fix] Turn off Google CMP on Editor
89
98
 
90
- ## [0.2.65-5 - 2024-06-17]
99
+ ## [0.2.65-5] - 2024-06-17
91
100
  - [Dev] Update for GDKTest Unity 2022.3 project
92
101
  - [Dev] Update for GDKTest Unity 2021.3 project
93
102
  - [Dev] Enable pipeline for unity 2020
@@ -99,23 +108,23 @@
99
108
  - [Dev] Degrade GDKDev project to Unity 2020
100
109
  - [Dev] Audio module supports Unity 2020
101
110
 
102
- ## [0.2.65-4 - 2024-06-14]
111
+ ## [0.2.65-4] - 2024-06-14
103
112
  - [Dev] Audio module supports Unity 2020
104
113
  - [Dev] Degrade GDKDev project to Unity 2020
105
114
 
106
- ## [0.2.65-3 - 2024-06-14]
115
+ ## [0.2.65-3] - 2024-06-14
107
116
  - [Dev] Simplify LocalBuild + Minor editor fixes for GDK Analytics
108
117
  - [Dev] fix PostBuild unity 2020
109
118
  - [Dev] Audio Device Detector and Bluetooth Audio Latency
110
119
  - [Dev] Update SDK configs
111
120
 
112
- ## [0.2.65-2 - 2024-06-13]
121
+ ## [0.2.65-2] - 2024-06-13
113
122
  - [Feature] Implement analytics event correction for force kill app
114
123
  - [Feature] Upload version tracking to Airtable
115
124
  - [Fix] Unity 2020 compatible
116
125
  - [Fix] Wrong condition check for first time remote config
117
126
 
118
- ## [0.2.65 - 2024-06-13]
127
+ ## [0.2.65] - 2024-06-13
119
128
  - [Dev] Add GDKRoutine
120
129
  - [Dev] Add option to preload banners
121
130
  - [Fix] Handle GoogleCMP callback in main-thread
@@ -125,7 +134,7 @@
125
134
  - [Feature] Add fullads_impression & videoads_impression events for better fill rate tracking
126
135
  - [Klavar] Improve parameter validation
127
136
 
128
- ## [0.2.64 - 2024-06-06]
137
+ ## [0.2.64] - 2024-06-06
129
138
  - [Dev] Log gdk_init
130
139
  - [Fix] map_user_id must contain FRB, AF, [GAID, IDFA]
131
140
  - [Dev] Check duplicated SKAdNetwork
@@ -137,7 +146,7 @@
137
146
  - Also: Hide config details
138
147
  - [Feature] Support AF Purchase Connector and deeplinking
139
148
 
140
- ## [0.2.63 - 2024-06-01]
149
+ ## [0.2.63] - 2024-06-01
141
150
  - [Fix] Do not include default GDK config asset
142
151
  - [Fix] Support compare SemVer with an invalid value
143
152
  - [Dev] Add ShowBanner/ HideBanner buttons to AmaGDKExample
@@ -149,7 +158,7 @@
149
158
  - - Min iOS 13.0
150
159
  - [Klavar] Parse Klavar structure v0.3
151
160
 
152
- ## [0.2.62 - 2024-05-27]
161
+ ## [0.2.62] - 2024-05-27
153
162
  - [Dev] Remove pipeline for unity 2020
154
163
  - [Dev] Dispatch changes / support callback for when UserId updated
155
164
  - Also: Improve log to show UserId in GDK Ready message
@@ -167,11 +176,11 @@
167
176
  - Also: Update AppsFlyer + GMA SDK
168
177
  - [Dev] Fix change log post JSON error
169
178
 
170
- ## [0.2.61 - 2024-04-25]
179
+ ## [0.2.61] - 2024-04-25
171
180
  - Add immediate event logging logic
172
181
  - [Feature] Improve handling of locked parameters in Klavar
173
182
 
174
- ## [0.2.60 - 2024-04-23]
183
+ ## [0.2.60] - 2024-04-23
175
184
  - [Feature] Ensured container's context values remain unchanged
176
185
  - [Feature] Check sent funnel event
177
186
  - [Feature] IRS test suite option
@@ -180,11 +189,10 @@
180
189
  - [Dev] Auto get tag and push change log to Notion
181
190
  - [Dev] Warning missing adapter when using .OnlyTo()
182
191
 
183
- ## [0.2.59 - 2024-04-12]
192
+ ## [0.2.59] - 2024-04-12
184
193
  - [Dev] Improve code coverage
185
194
 
186
-
187
- ## [0.2.58 - 2024-04-09]
195
+ ## [0.2.58] - 2024-04-09
188
196
  - [DEV] combine code coverage report
189
197
  - [Dev] Improve GDK Utils
190
198
  - [Dev] Add hints to AdCallback APIs
@@ -192,7 +200,7 @@
192
200
  - [Fix] Various warnings fixes due to invalid examples
193
201
  - [Fix] Warning on AdContext destroyed caused by invalid editor ad callback
194
202
 
195
- ## [0.2.57 - 2024-04-08]
203
+ ## [0.2.57] - 2024-04-08
196
204
  - [Dev] Fix bug in value conversion within KlavarEvent
197
205
  - [Dev] Auto get change log
198
206
  - [Dev] Auto publish command
@@ -201,28 +209,28 @@
201
209
  - [Dev] Clean up and add tooltip for options
202
210
  - [Fix] Null exception in LocalBuild Version
203
211
 
204
- ## [0.2.56 - 2024-04-03]
212
+ ## [0.2.56] - 2024-04-03
205
213
  - Release AmaGDK v0.2.56
206
214
 
207
- ## [0.2.55 - 2024-03-28]
215
+ ## [0.2.55] - 2024-03-28
208
216
  - Send af_inters_displayed & af_rewarded_displayed to AppsFlyer
209
217
  - Use Sqlite for analytics
210
218
  - Fix IRS callback for RW not working properly in Editor
211
219
  - Split google sheet name by platform for SDK version tracking
212
220
  - Track version of ACM, Facebook, Build number, build time
213
221
 
214
- ## [0.2.54 - 2024-03-20]
222
+ ## [0.2.54] - 2024-03-20
215
223
  - Update temp total count after accumulated count change
216
224
  - Update FirebaseHook
217
225
 
218
- ## [0.2.53 - 2024-03-14]
226
+ ## [0.2.53] - 2024-03-14
219
227
  - Add FirebaseCrashlyticsHook
220
228
  - Fix Change to dev mode
221
229
  - Public analytics config
222
230
  - Update SDK version tracking
223
231
  - Update GDKLocalBuild
224
232
 
225
- ## [0.2.52 - 2024-02-27]
233
+ ## [0.2.52] - 2024-02-27
226
234
  - Change post processing order
227
235
  - Remove GDKInstaller after installed
228
236
  - Enable pipeline execution for branches with active merge requests
@@ -230,17 +238,17 @@
230
238
  - Update Google Sheet Id default
231
239
  - Optimize GC for Analytics
232
240
 
233
- ## [0.2.51 - 2024-02-20]
241
+ ## [0.2.51] - 2024-02-20
234
242
  - Change Google Mobile Ads SDK version , iosPod 10.5.0
235
243
 
236
- ## [0.2.50 - 2024-02-20]
244
+ ## [0.2.50] - 2024-02-20
237
245
  - New feature: Modify Android post processor
238
246
  - [Fix] remove installer should be skipped in DEV mode
239
247
  - New feature: Check Disk Space
240
248
  - Update version tracking: Add SkAdnetwork count
241
249
  - Add check internet option for Ad module
242
250
 
243
- ## [0.2.49 - 2024-01-29]
251
+ ## [0.2.49] - 2024-01-29
244
252
  - New feature: SDK version tracking
245
253
  - New feature: Google Consent Management (CMP)
246
254
  - New feature: Force update pop-up
@@ -250,92 +258,92 @@
250
258
  - Fix IAP editor
251
259
  - Improve generated code for Klavar
252
260
 
253
- ## [0.2.48 - 2024-01-15]
261
+ ## [0.2.48] - 2024-01-15
254
262
  - Add GDKTest project for Unity versions 2020.3, 2021.3 and 2022.3
255
263
  - Integrate Klavar library & toolset
256
264
 
257
- ## [0.2.47 - 2024-01-09]
265
+ ## [0.2.47] - 2024-01-09
258
266
  - Some clean up, null checks & improvements for AmaGDK Editor
259
267
  - Add GDKTest project for Unity versions 2020.3, 2021.3 and 2022.3
260
268
 
261
- ## [0.2.46 - 2023-12-19]
269
+ ## [0.2.46] - 2023-12-19
262
270
  - Cleaner UI interface for AmaGDK Inspector
263
271
  - Add AmaGUI to centralize all GUI handles
264
272
  - [Fix] OnAdResult callback being looped through calling StopWaitForAd
265
273
  - [Fix] Exception while loading / parsing LoadJsonFromFile
266
274
 
267
- ## [0.2.45 - 2023-12-13]
275
+ ## [0.2.45] - 2023-12-13
268
276
  - [Fix] Able to assign ama_device_id in Editor
269
277
 
270
- ## [0.2.44 - 2023-12-08]
278
+ ## [0.2.44] - 2023-12-08
271
279
  - [Fix] Auto log Ad events
272
280
 
273
- ## [0.2.43 - 2023-12-06]
281
+ ## [0.2.43] - 2023-12-06
274
282
  - [Fix] Support AmaDeviceId on Standalone
275
283
 
276
- ## [0.2.42 - 2023-11-28]
284
+ ## [0.2.42] - 2023-11-28
277
285
  - [Fix] AdShowNotReady only trigger for 3 type of status
278
286
  - [Fix] WaitForSeconds can not be shared between different routines
279
287
 
280
- ## [0.2.41 - 2023-11-28]
288
+ ## [0.2.41] - 2023-11-28
281
289
  - Add more state callbacks for AdShowReadyStatus
282
290
  - Fix not wait for RewardCancel event (not exist any more)
283
291
  - Timeout for Adapter init should be 1s
284
292
 
285
- ## [0.2.40 - 2023-11-27]
293
+ ## [0.2.40] - 2023-11-27
286
294
  - Fix ShowAdTimeout = 0 should not wait for Ad
287
295
 
288
- ## [0.2.39 - 2023-11-27]
296
+ ## [0.2.39] - 2023-11-27
289
297
  - Fix variable name and variable value of "ChangeDevMode"
290
298
  - Load Ad timeout should cancel
291
299
 
292
- ## [0.2.38 - 2023-11-22]
300
+ ## [0.2.38] - 2023-11-22
293
301
  - Improve Ads API
294
302
  - Add Ad Quality
295
303
 
296
- ## [0.2.37 - 2023-11-21]
304
+ ## [0.2.37] - 2023-11-21
297
305
  - Improve GDK logs
298
306
  - Banner will not show when ad adapter is not ready
299
307
  - Fix ama_device_id on Android
300
308
 
301
- ## [0.2.36 - 2023-11-15]
309
+ ## [0.2.36] - 2023-11-15
302
310
  - Add OnAdShowReadyStatus callback
303
311
  - Revamp AdEventTracking
304
312
 
305
- ## [0.2.35 - 2023-11-14]
313
+ ## [0.2.35] - 2023-11-14
306
314
  - [Fix] Save UserID
307
315
 
308
- ## [0.2.34 - 2023-11-10]
316
+ ## [0.2.34] - 2023-11-10
309
317
  - [Fix] ShowSuccessed event not call in editor
310
318
  - Add clear all data button on AmaGDK prefab
311
319
 
312
- ## [0.2.33 - 2023-11-09]
320
+ ## [0.2.33] - 2023-11-09
313
321
  - Remove Adjust
314
322
  - Update RevenueCat attributes
315
323
 
316
- ## [0.2.32 - 2023-11-08]
324
+ ## [0.2.32] - 2023-11-08
317
325
  - User mapping
318
326
  - Auto log Ad events
319
327
 
320
- ## [0.2.31 - 2023-11-06]
328
+ ## [0.2.31] - 2023-11-06
321
329
  - [Fix] False alarm when video reward ready
322
330
  - [Fix] Callbacks should trigger earlier (being delayed like 1s)
323
331
 
324
- ## [0.2.3 - 2023-11-06]
332
+ ## [0.2.3] - 2023-11-06
325
333
  - [Fix] GDK should base on realtime instead of game time (which may be pause due to timescale)
326
334
 
327
- ## [0.2.29 - 2023-11-03]
335
+ ## [0.2.29] - 2023-11-03
328
336
  - Fix accumulated_count
329
337
  - Fix missing IDFA
330
338
 
331
- ## [0.2.28 - 2023-11-01]
339
+ ## [0.2.28] - 2023-11-01
332
340
  - Ads: Set timescale to 0 after save
333
341
 
334
- ## [0.2.27 - 2023-11-01]
342
+ ## [0.2.27] - 2023-11-01
335
343
  - No longer stop ad
336
344
  - Update ad status by adapter
337
345
 
338
- ## [0.2.26 - 2023-10-30]
346
+ ## [0.2.26] - 2023-10-30
339
347
  - Add Ads event tracking
340
348
  - Check real internet connection
341
349
  - Add onResult callback
@@ -344,7 +352,7 @@
344
352
  - Move SkAdNetwork Fetch to GameObject context menu
345
353
  - Remove IS event publisher from Ad module
346
354
 
347
- ## [0.2.25 - 2023-10-25]
355
+ ## [0.2.25] - 2023-10-25
348
356
  Update Ads module:
349
357
  - OnRewardedAvailable
350
358
  - OnRewardedUnavailable
@@ -353,59 +361,59 @@ Update Ads module:
353
361
  - Polish display of ironSource config's inspector
354
362
  - Move SKAdnetwork's destination to Editor
355
363
 
356
- ## [0.2.23 - 2023-10-18]
364
+ ## [0.2.23] - 2023-10-18
357
365
  - Fix UserProfile out of main thread
358
366
  - Handle multiple Firebase's dependency check
359
367
 
360
- ## [0.2.22 - 2023-10-11]
368
+ ## [0.2.22] - 2023-10-11
361
369
  - Get adapter info
362
370
 
363
- ## [0.2.21 - 2023-10-11]
371
+ ## [0.2.21] - 2023-10-11
364
372
  - RevenueCat adapter v6.0.0
365
373
  - Handle early Firebase call
366
374
  - Fix null exception in non-subscription game
367
375
  - Add log level
368
376
 
369
- ## [0.2.20 - 2023-10-05]
377
+ ## [0.2.20] - 2023-10-05
370
378
  - Update RevenueCat 5.3.0
371
379
 
372
- ## [0.2.19 - 2023-09-12]
380
+ ## [0.2.19] - 2023-09-12
373
381
  - Add `ama_device_id` to all events
374
382
 
375
- ## [0.2.18 - 2023-09-11]
383
+ ## [0.2.18] - 2023-09-11
376
384
  - Add dev mode switch
377
385
  - Auto get SDK version
378
386
  - Add in-app purchase module, RevenueCat
379
387
  - Support Unity 2019.4
380
388
  - Remove AmaPassport
381
389
 
382
- ## [0.2.14 - 2023-08-08]
390
+ ## [0.2.14] - 2023-08-08
383
391
  - Support multiple embed remote config and load config by id
384
392
  - Clear cached remote config on new app update
385
393
  - Override remote config value in editor mode
386
394
  - New feature: Analytics Quality
387
395
 
388
- ## [0.2.13 - 2023-07-20]
396
+ ## [0.2.13] - 2023-07-20
389
397
  - Fix error Remote Config JSON caused by special chars (", ', \)
390
398
 
391
- ## [0.2.12 - 2023-07-07]
399
+ ## [0.2.12] - 2023-07-07
392
400
  - Restructure GDK - symlink GDK source to unity projects
393
401
  - Unity 2019 compatible - no null coalescing
394
402
  - Remove redundant AmaPassport config field
395
403
  - Auto request AmaId
396
404
 
397
- ## [0.2.11 - 2023-06-29]
405
+ ## [0.2.11] - 2023-06-29
398
406
  - SetLogCondition with EventParam
399
407
  - Rename Migrated -> HasMigrated
400
408
  - Fix StopShowAd
401
409
 
402
- ## [0.2.10 - 2023-06-23]
410
+ ## [0.2.10] - 2023-06-23
403
411
  - Extra package: Project Panel
404
412
  - Remote config: Allow user to enable / disable automatic default valuye updating (in play mode)
405
413
  - Fix ad routine
406
414
  - Expose analytics migration flag
407
415
 
408
- ## [0.2.9 - 2023-06-15]
416
+ ## [0.2.9] - 2023-06-15
409
417
  - Show total init time
410
418
  - Show adapter version + status at init time
411
419
  - Remove AmaGDK version in debug log
@@ -415,73 +423,73 @@ Update Ads module:
415
423
  - Add csc.rsp to enable AMAGDK_DEV
416
424
  - Update Ads module
417
425
 
418
- ## [0.2.8 - 2023-06-12]
426
+ ## [0.2.8] - 2023-06-12
419
427
  - Mute Appsflyer's init log on Editor
420
428
  - Clear analytics log in adapters
421
429
  - Check null event params before calling AddParam()
422
430
  - Export AmaPassport info
423
431
 
424
- ## [0.2.7 - 2023-06-09]
432
+ ## [0.2.7] - 2023-06-09
425
433
  - Fix log single adapter
426
434
 
427
- ## [0.2.6 - 2023-06-08]
435
+ ## [0.2.6] - 2023-06-08
428
436
  - Update AmaPassport
429
437
  - Fix JSON parse in RemoteConfig
430
438
  - Ads adds interstitial callbacks
431
439
  - Clean & export AmaGDK Installer
432
440
 
433
- ## [0.2.5 - 2023-06-07]
441
+ ## [0.2.5] - 2023-06-07
434
442
  - Remove ATT dependency package
435
443
 
436
- ## [0.2.4 - 2023-06-07]
444
+ ## [0.2.4] - 2023-06-07
437
445
  - Hotfix Ads module
438
446
  - Update Analytics unit tests
439
447
 
440
- ## [0.2.3 - 2023-06-06]
448
+ ## [0.2.3] - 2023-06-06
441
449
  - Refactor Ads module, support ironSource
442
450
  - Refactor AmaPassport
443
451
  - Refactor AmaGDK structure
444
452
  - Add callback when RemoteConfig module completes fetching
445
453
 
446
- ## [0.1.20 - 2023-04-20]
454
+ ## [0.1.20] - 2023-04-20
447
455
  - Refactor Adapter architure to support reading adapter config from Core
448
456
  - Add session stat for Analytics module
449
457
  - Unit test for Json parser and Analytics module
450
458
 
451
- ## [0.1.19 - 2023-04-11]
459
+ ## [0.1.19] - 2023-04-11
452
460
  - Move AmaGDKTest out of AmaGDKCore
453
461
 
454
- ## [0.1.18 - 2023-03-27]
462
+ ## [0.1.18] - 2023-03-27
455
463
  - Fix AmaGDK's autoInit saving issue
456
464
 
457
- ## [0.1.17 - 2023-03-13]
465
+ ## [0.1.17] - 2023-03-13
458
466
  - Release AmaGDK v0.1.17
459
467
  - Rename Analytics APIs
460
468
 
461
- ## [0.1.16 - 2023-03-10]
469
+ ## [0.1.16] - 2023-03-10
462
470
  - Release AmaGDK v0.1.16
463
471
  - SemVer supports 4 parts
464
472
  - Analytics supports EventConfig
465
473
 
466
- ## [0.1.15 - 2023-03-06]
474
+ ## [0.1.15] - 2023-03-06
467
475
  - Release AmaGDK v0.1.15
468
476
  - Fix null exception in VersionExtractor
469
477
  - Warn unhandle platform in Appsflyer initialization
470
478
  - Allow dev to SetPermittedEvents and SetForbiddenEvents to the adapter config
471
479
 
472
- ## [0.1.14 - 2023-03-02]
480
+ ## [0.1.14] - 2023-03-02
473
481
  - Release AmaGDK v0.1.14
474
482
 
475
- ## [0.1.13 - 2023-03-01]
483
+ ## [0.1.13] - 2023-03-01
476
484
  - Release AmaGDK v0.1.13
477
485
  - Fix Semver parser
478
486
 
479
- ## [0.1.12 - 2023-03-01]
487
+ ## [0.1.12] - 2023-03-01
480
488
  - Release AmaGDK v0.1.12
481
489
  - Prioritize analytics instant config over the base config
482
490
  - Public common config
483
491
 
484
- ## [0.1.11 - 2023-02-28]
492
+ ## [0.1.11] - 2023-02-28
485
493
  - Release AmaGDK v0.1.11
486
494
  - Auto start and log Appsflyer open session
487
495
  - Add analytics adapter base config
@@ -490,26 +498,26 @@ Update Ads module:
490
498
  - Add AmaGDKManager
491
499
  - Refactor Adapter to support for init order configuration
492
500
 
493
- ## [0.1.10 - 2023-02-17]
501
+ ## [0.1.10] - 2023-02-17
494
502
  - Release AmaGDK v0.1.10
495
503
 
496
- ## [0.1.9 - 2023-02-15]
504
+ ## [0.1.9] - 2023-02-15
497
505
  - Release AmaGDK v0.1.9
498
506
  - Change Documentation URL
499
507
  - Support API LogEvent(eventName, parameters)
500
508
 
501
- ## [0.1.8 - 2023-02-15]
509
+ ## [0.1.8] - 2023-02-15
502
510
  - Release AmaGDK v0.1.8
503
511
  - Add AdapterID
504
512
 
505
- ## [0.1.5 - 2023-02-13]
513
+ ## [0.1.5] - 2023-02-13
506
514
  - Release AmaSDK v0.1.5
507
515
  - Validate EventParams
508
516
 
509
- ## [0.1.4 - 2023-02-13]
517
+ ## [0.1.4] - 2023-02-13
510
518
  - Release AmaSDK v0.1.4
511
519
 
512
- ## [0.1.3 - 2023-02-10]
520
+ ## [0.1.3] - 2023-02-10
513
521
  - Release AmaSDK v0.1.3
514
522
 
515
523
  ## [0.1.2] - 2023-02-08
@@ -8,7 +8,7 @@ using System.Reflection;
8
8
  using UnityEditor;
9
9
  using UnityEngine;
10
10
  using UnityEngine.Profiling;
11
- using static Amanotes.Core.Internal.Logging;
11
+ using static Amanotes.Core.GDKDebug;
12
12
  using static Amanotes.Core.AmaGDK.AdapterID;
13
13
  using UnityObject = UnityEngine.Object;
14
14
  using UnityEvent = UnityEngine.Event;
@@ -4,7 +4,7 @@ using Amanotes.Core.Internal;
4
4
  using UnityEditor;
5
5
  using UnityEngine;
6
6
 
7
- using static Amanotes.Core.Internal.Logging;
7
+ using static Amanotes.Core.GDKDebug;
8
8
 
9
9
  namespace Amanotes.Editor
10
10
  {
@@ -370,13 +370,6 @@ namespace Amanotes.Core
370
370
 
371
371
  public class GDKPreProcessBuild: IPreprocessBuildWithReport
372
372
  {
373
- #if UNITY_2022_1_OR_NEWER
374
- private static readonly string GRADLE_VERSION = "7.6.1";
375
- #else
376
- private static readonly string GRADLE_VERSION = "6.7.1";
377
- #endif
378
- private static readonly string GRADLE_ROOT = "/usr/local/gradle";
379
-
380
373
  public int callbackOrder
381
374
  {
382
375
  get { return 0; }
@@ -388,19 +381,12 @@ namespace Amanotes.Core
388
381
  // Change Gradle path when running in headless mode (CI Machine)
389
382
  if (Application.isBatchMode)
390
383
  {
391
- EditorPrefs.SetBool("GradleUseEmbedded", false);
392
-
393
384
  if (GDKCIBuildCommand.TryGetEnv("GRADLE_PATH", out string envGradlePath))
394
- {
385
+ {
386
+ EditorPrefs.SetBool("GradleUseEmbedded", false);
395
387
  EditorPrefs.SetString("GradlePath", envGradlePath);
396
388
  Debug.Log("Update gradle path to: " + envGradlePath);
397
389
  }
398
- else
399
- {
400
- string gradlePath = GRADLE_ROOT + "/gradle-" + GRADLE_VERSION;
401
- EditorPrefs.SetString("GradlePath", gradlePath);
402
- Debug.Log("Update gradle path to: " + gradlePath);
403
- }
404
390
  }
405
391
  }
406
392
 
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,5 +1,6 @@
1
1
  using Amanotes.Core.Internal;
2
2
  using System;
3
+ using static Amanotes.Core.GDKDebug;
3
4
  namespace Amanotes.Core
4
5
  {
5
6
  public static class AdExtension
@@ -105,7 +106,7 @@ namespace Amanotes.Core
105
106
  bool isValid = (ad != null);
106
107
  if (!isValid)
107
108
  {
108
- Logging.LogWarning("Something wrong:: no AdShowContext");
109
+ LogWarning("Something wrong:: no AdShowContext");
109
110
  }
110
111
  return isValid;
111
112
  }
@@ -1,6 +1,6 @@
1
1
  using System.Collections;
2
2
  using UnityEngine;
3
- using static Amanotes.Core.Internal.Logging;
3
+ using static Amanotes.Core.GDKDebug;
4
4
  using static Amanotes.Core.AmaGDK;
5
5
 
6
6
  namespace Amanotes.Core.Internal
@@ -4,7 +4,7 @@ using System.Collections.Generic;
4
4
  using UnityEngine;
5
5
  using Amanotes.Core.Internal;
6
6
 
7
- using static Amanotes.Core.Internal.Logging;
7
+ using static Amanotes.Core.GDKDebug;
8
8
  using static Amanotes.Core.AmaGDK;
9
9
 
10
10
  namespace Amanotes.Core
@@ -2,7 +2,7 @@ using System;
2
2
  using System.Collections.Generic;
3
3
  using System.Linq;
4
4
  using UnityEngine;
5
- using static Amanotes.Core.Internal.Logging;
5
+ using static Amanotes.Core.GDKDebug;
6
6
 
7
7
  namespace Amanotes.Core.Internal
8
8
  {