com.amanotes.gdk 0.2.65-3 → 0.2.65-4
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/Extra/AmaGDKInstaller.unitypackage +0 -0
- package/Extra/CheckDiskSpace.unitypackage +0 -0
- package/Extra/ForceUpdate.unitypackage +0 -0
- package/Extra/GoogleCMP.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.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/RevenueCatAdapter.unitypackage +0 -0
- package/Packages/SqliteAnalyticsAdapter.unitypackage +0 -0
- package/Runtime/AmaGDK.cs +1 -1
- package/Runtime/AudioToolkit/Plugins/Android/AudioDeviceDetector.java +1 -1
- package/Runtime/AudioToolkit/Plugins/AudioDeviceDetector.cs +5 -1
- package/package.json +1 -1
|
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
|
|
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.65-
|
|
20
|
+
public const string VERSION = "0.2.65-4";
|
|
21
21
|
|
|
22
22
|
internal static Status _status = Status.None;
|
|
23
23
|
private static ConfigAsset _config = null;
|
|
@@ -135,7 +135,7 @@ public class AudioDeviceDetector
|
|
|
135
135
|
|
|
136
136
|
@Override
|
|
137
137
|
public void onRouteSelected(MediaRouter router, int type, MediaRouter.RouteInfo info) {
|
|
138
|
-
super.
|
|
138
|
+
super.onRouteSelected(router, type, info);
|
|
139
139
|
//sent empty string to update current
|
|
140
140
|
UnityPlayer.UnitySendMessage("AmaGDK", "OnAudioRouteChanged", "");
|
|
141
141
|
currentRoute = info;
|
|
@@ -155,7 +155,11 @@ namespace Amanotes.Core
|
|
|
155
155
|
|
|
156
156
|
private AudioDeviceType MapDeviceType(string rawType)
|
|
157
157
|
{
|
|
158
|
-
|
|
158
|
+
if (deviceTypeMapping.TryGetValue(rawType, out var type))
|
|
159
|
+
{
|
|
160
|
+
return type;
|
|
161
|
+
}
|
|
162
|
+
return AudioDeviceType.Unknown;
|
|
159
163
|
}
|
|
160
164
|
|
|
161
165
|
private static string RemoveSurrogatePairs(string str, string replacementCharacter = "?")
|