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