com.amanotes.gdk 0.2.58 → 0.2.59
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 +4 -0
- package/Extra/AmaGDKInstaller.unitypackage +0 -0
- package/Extra/CheckDiskSpace.unitypackage +0 -0
- package/Extra/ForceUpdate.unitypackage +0 -0
- package/Extra/PostProcessor.unitypackage +0 -0
- package/Extra/SDKVersionTracking.unitypackage +0 -0
- package/Packages/AmaGDKConfig.unitypackage +0 -0
- package/Packages/AmaGDKExample.unitypackage +0 -0
- package/Packages/AmaGDKTest.unitypackage +0 -0
- package/Packages/AppsFlyerAdapter.unitypackage +0 -0
- package/Packages/FirebaseRemoteConfigAdapter.unitypackage +0 -0
- package/Packages/IronSourceAdapter.unitypackage +0 -0
- package/Packages/RevenueCatAdapter.unitypackage +0 -0
- package/Packages/SqliteAnalyticsAdapter.unitypackage +0 -0
- package/Runtime/AmaGDK.cs +1 -1
- package/Runtime/Klavar/KlavarContainer.cs +3 -2
- package/package.json +1 -1
- package/Runtime/Klavar/KlavarEventTools.cs +0 -92
- package/Runtime/Klavar/KlavarEventTools.cs.meta +0 -11
package/CHANGELOG.md
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/Runtime/AmaGDK.cs
CHANGED
|
@@ -12,10 +12,11 @@ namespace Amanotes.Core
|
|
|
12
12
|
|
|
13
13
|
public static void LogEventError(string message)
|
|
14
14
|
{
|
|
15
|
-
#if
|
|
15
|
+
#if UNITY_EDITOR
|
|
16
|
+
throw new KlavarException(message);
|
|
17
|
+
#else
|
|
16
18
|
Logging.LogError(message);
|
|
17
19
|
#endif
|
|
18
|
-
throw new KlavarException(message);
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
22
|
|
package/package.json
CHANGED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// #if UNITY_EDITOR
|
|
3
|
-
//
|
|
4
|
-
// using System.Linq;
|
|
5
|
-
// using System.Collections;
|
|
6
|
-
// using UnityEditor;
|
|
7
|
-
// using UnityEngine;
|
|
8
|
-
//
|
|
9
|
-
// using System.IO;
|
|
10
|
-
// using System.Collections.Generic;
|
|
11
|
-
// using System;
|
|
12
|
-
//
|
|
13
|
-
// namespace Amanotes.Core
|
|
14
|
-
// {
|
|
15
|
-
// /// <summary>
|
|
16
|
-
// /// Prety Log Event Tools
|
|
17
|
-
// /// </summary>
|
|
18
|
-
// public class KlavarEventTools
|
|
19
|
-
// {
|
|
20
|
-
// public class KlavarEventLine
|
|
21
|
-
// {
|
|
22
|
-
// public string No;
|
|
23
|
-
// public string EventName;
|
|
24
|
-
// public string EventParameterName;
|
|
25
|
-
//
|
|
26
|
-
// public string ValueType;
|
|
27
|
-
//
|
|
28
|
-
// public string ParameterValue;
|
|
29
|
-
//
|
|
30
|
-
// public bool IsInvalid()
|
|
31
|
-
// {
|
|
32
|
-
// return string.IsNullOrWhiteSpace(No)
|
|
33
|
-
// && string.IsNullOrWhiteSpace(EventName)
|
|
34
|
-
// && string.IsNullOrWhiteSpace(EventParameterName)
|
|
35
|
-
// && string.IsNullOrWhiteSpace(ValueType)
|
|
36
|
-
// && string.IsNullOrWhiteSpace(ParameterValue);
|
|
37
|
-
// }
|
|
38
|
-
// }
|
|
39
|
-
//
|
|
40
|
-
// static private IEnumerable<T[]> Chunk<T>(IEnumerable<T> colection, Func<T, bool> splitter)
|
|
41
|
-
// {
|
|
42
|
-
//
|
|
43
|
-
// IEnumerator<T> iter = colection.GetEnumerator();
|
|
44
|
-
// var running = iter.MoveNext();
|
|
45
|
-
//
|
|
46
|
-
// IEnumerable<T> OneChunk()
|
|
47
|
-
// {
|
|
48
|
-
// yield return iter.Current;
|
|
49
|
-
// while (running = iter.MoveNext())
|
|
50
|
-
// {
|
|
51
|
-
// var val = iter.Current;
|
|
52
|
-
// if (splitter(val)) break;
|
|
53
|
-
// yield return val;
|
|
54
|
-
// }
|
|
55
|
-
// }
|
|
56
|
-
//
|
|
57
|
-
// while (running)
|
|
58
|
-
// {
|
|
59
|
-
// var chunk = OneChunk().ToArray();
|
|
60
|
-
// if (chunk.Length > 0) yield return chunk;
|
|
61
|
-
// }
|
|
62
|
-
// }
|
|
63
|
-
//
|
|
64
|
-
//
|
|
65
|
-
// static void ConvertFromCSV()
|
|
66
|
-
// {
|
|
67
|
-
//
|
|
68
|
-
// // string path = EditorUtility.OpenFilePanel("Overwrite with png", ".", "tsv");
|
|
69
|
-
//
|
|
70
|
-
// var path = "/Users/nam.dn/Downloads/Test Pretty Event - Ad Mon.tsv";
|
|
71
|
-
// if (string.IsNullOrEmpty(path)) return;
|
|
72
|
-
//
|
|
73
|
-
//
|
|
74
|
-
// Debug.Log(path);
|
|
75
|
-
// string text = File.ReadAllText(path);
|
|
76
|
-
// var lines = Amanotes.Klavar.TSVParser
|
|
77
|
-
// .Parse<KlavarEventLine>(text)
|
|
78
|
-
// .Where(line => !line.IsInvalid());
|
|
79
|
-
//
|
|
80
|
-
// var linesEvents = Chunk(lines, line => !string.IsNullOrEmpty(line.No));
|
|
81
|
-
// foreach (var linesEvent in linesEvents)
|
|
82
|
-
// {
|
|
83
|
-
// Debug.Log(linesEvent[0]);
|
|
84
|
-
// Debug.Log(linesEvent.Length);
|
|
85
|
-
//
|
|
86
|
-
// var linesParams = Chunk(lines, line => !string.IsNullOrEmpty(line.EventParameterName));
|
|
87
|
-
//
|
|
88
|
-
// }
|
|
89
|
-
// }
|
|
90
|
-
// }
|
|
91
|
-
// }
|
|
92
|
-
// #endif
|