com.amanotes.gdk 0.2.66-1 → 0.2.66-3

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 CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.66-2 - 2024-10-25]
4
+ - [Fix] Disable GDKAudio module
5
+
3
6
  ## [0.2.66 - 2024-06-25]
4
7
  - [Dev] Verify all fields are reset in Init EventParams
5
8
  - [Dev] Add try catch to prevent coroutines to stop silently
@@ -27,18 +27,18 @@ namespace Amanotes.Editor
27
27
  { "AndroidPostProcessor", $"{Res.EXTRA_PATH}PostProcessor.unitypackage" }
28
28
  };
29
29
 
30
- private static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)
31
- {
32
- if (importedAssets.Length == 0) return;
33
- // Debug.LogWarning($"importedAssets: {string.Join("\n", importedAssets)}");
34
-
35
- foreach (string path in importedAssets)
36
- {
37
- if (!path.EndsWith("AmaGDK.cs", StringComparison.InvariantCulture)) continue;
38
- ImportAdapters();
39
- break;
40
- }
41
- }
30
+ // private static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)
31
+ // {
32
+ // if (importedAssets.Length == 0) return;
33
+ // // Debug.LogWarning($"importedAssets: {string.Join("\n", importedAssets)}");
34
+ //
35
+ // foreach (string path in importedAssets)
36
+ // {
37
+ // if (!path.EndsWith("AmaGDK.cs", StringComparison.InvariantCulture)) continue;
38
+ // ImportAdapters();
39
+ // break;
40
+ // }
41
+ // }
42
42
 
43
43
  [MenuItem("Window/AmaGDK/Reimport Adapters")]
44
44
  private static void ImportAdapters()
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/Runtime/AmaGDK.cs CHANGED
@@ -17,7 +17,7 @@ namespace Amanotes.Core
17
17
  {
18
18
  public partial class AmaGDK : MonoBehaviour
19
19
  {
20
- public const string VERSION = "0.2.66";
20
+ public const string VERSION = "0.2.66-3";
21
21
 
22
22
  internal static Status _status = Status.None;
23
23
  private static ConfigAsset _config = null;
@@ -104,7 +104,7 @@ namespace Amanotes.Core
104
104
  Ads.InitModule();
105
105
  IAP.InitModule();
106
106
  RemoteConfig.InitModule();
107
- Audio.InitModule();
107
+ // Audio.InitModule();
108
108
  }
109
109
  Profiler.EndSample();
110
110
  }
@@ -146,6 +146,8 @@ namespace Amanotes.Core
146
146
 
147
147
  public static bool IsRecordingWithMicrophone()
148
148
  {
149
+ if (_audioDeviceDetector == null) return false;
150
+
149
151
  #if UNITY_IOS
150
152
  string currentAudioInputs = GetCurrentRouteInputs();
151
153
  return string.IsNullOrWhiteSpace(currentAudioInputs) == false;
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: 556517e393f149748cf9890d5d436491
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: 19f1c4b4ece54d438bb89c63b87846bf
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: d4b6d2a55cd0c4bb998a769f247fe8c3
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.amanotes.gdk",
3
- "version": "0.2.66-1",
3
+ "version": "0.2.66-3",
4
4
  "displayName": "AmaGDK",
5
5
  "description": "Amanotes Game Development Kit",
6
6
  "unity": "2019.4",