Skip to content

Commit e1404f9

Browse files
Update UnityWebGLHttpClientService with better request failure handling (#116)
* Update UnityWebGLHttpClientService to differentiate request failure reasons * Update CBOR DLLs, add XML inline documentation * Add LogLevel field to PnConfigAsset * Switch to .NET Standard 2.0 - BREAKING CHANGE * Update package.json and pubnub.yml
1 parent 4fcc02d commit e1404f9

File tree

13 files changed

+665
-114
lines changed

13 files changed

+665
-114
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
*/SwitchIL2CPPCache
1212
*/SwitchIL2CPPStats
1313
/PubNubUnity/Library/
14+
/PubNubUnityUserSettings/
1415
/PubNubUnity/Assets/Plugins*
1516
/PubNubUnity/Assets/ThirdParty*
1617

.pubnub.yml

Lines changed: 4 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -776,53 +776,18 @@ sdks:
776776
is-required: "Required"
777777
-
778778
name: "JSON .NET For Unity"
779-
min-version: "2.0.1"
779+
min-version: "3.0.2"
780780
license: "Unity's standard Unity Asset Store End User License Agreement"
781781
license-url: ""
782782
location: "Shipped within package"
783783
is-required: "Optional, one JSON serialization library is required"
784784
-
785785
name: "PeterO.Cbor"
786-
min-version: ""
786+
min-version: "4.5.5"
787787
license: "Creative Commons"
788788
license-url: ""
789789
location: "Shipped within package"
790790
is-required: "Required"
791-
-
792-
name: "MiniJSON"
793-
min-version: ""
794-
license: "MIT"
795-
license-url: ""
796-
location: "Shipped within package"
797-
is-required: "Optional, one JSON serialization library is required"
798-
-
799-
name: "MarkerMetro.Unity.WinLegacy"
800-
min-version: "1.8.0.18"
801-
license: "MIT"
802-
license-url: "https://raw.githubusercontent.com/MarkerMetro/MarkerMetro.Unity.WinLegacy/master/LICENSE"
803-
location: "Shipped within package"
804-
is-required: "Optional, only applicable for Metro"
805-
-
806-
name: "BouncyCastle"
807-
min-version: "1.8.1.0"
808-
license: "MIT"
809-
license-url: ""
810-
location: "Shipped within package"
811-
is-required: "Optional, only applicable for Metro"
812-
-
813-
name: "BouncyCastle.Crypto"
814-
min-version: "1.8.1.0"
815-
license: "MIT"
816-
license-url: ""
817-
location: "Shipped within package"
818-
is-required: "Optional, only applicable for Metro"
819-
-
820-
name: "JsonFx.Json"
821-
min-version: ""
822-
license: "MIT"
823-
license-url: ""
824-
location: "Shipped within package"
825-
is-required: "Optional, only applicable for Metro"
826791
supported-platforms:
827792
supported-operating-systems:
828793
Android:
@@ -943,53 +908,18 @@ sdks:
943908
is-required: "Required"
944909
-
945910
name: "JSON .NET For Unity"
946-
min-version: "2.0.1"
911+
min-version: "3.0.2"
947912
license: "Unity's standard Unity Asset Store End User License Agreement"
948913
license-url: ""
949914
location: "Shipped within package"
950915
is-required: "Optional, one JSON serialization library is required"
951916
-
952917
name: "PeterO.Cbor"
953-
min-version: ""
918+
min-version: "4.5.5"
954919
license: "Creative Commons"
955920
license-url: ""
956921
location: "Shipped within package"
957922
is-required: "Required"
958-
-
959-
name: "MiniJSON"
960-
min-version: ""
961-
license: "MIT"
962-
license-url: ""
963-
location: "Shipped within package"
964-
is-required: "Optional, one JSON serialization library is required"
965-
-
966-
name: "MarkerMetro.Unity.WinLegacy"
967-
min-version: "1.8.0.18"
968-
license: "MIT"
969-
license-url: "https://raw.githubusercontent.com/MarkerMetro/MarkerMetro.Unity.WinLegacy/master/LICENSE"
970-
location: "Shipped within package"
971-
is-required: "Optional, only applicable for Metro"
972-
-
973-
name: "BouncyCastle"
974-
min-version: "1.8.1.0"
975-
license: "MIT"
976-
license-url: ""
977-
location: "Shipped within package"
978-
is-required: "Optional, only applicable for Metro"
979-
-
980-
name: "BouncyCastle.Crypto"
981-
min-version: "1.8.1.0"
982-
license: "MIT"
983-
license-url: ""
984-
location: "Shipped within package"
985-
is-required: "Optional, only applicable for Metro"
986-
-
987-
name: "JsonFx.Json"
988-
min-version: ""
989-
license: "MIT"
990-
license-url: ""
991-
location: "Shipped within package"
992-
is-required: "Optional, only applicable for Metro"
993923
supported-platforms:
994924
supported-operating-systems:
995925
Android:

PubNubUnity/Assets/PubNub/Editor/PNConfigAssetEditor.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ public class PNConfigAssetEditor : Editor {
2323
"EnableEventEngine",
2424
"EnableWebGLBuildMode",
2525
"LogToUnityConsole",
26-
"LogVerbosity"
26+
"LogVerbosity",
27+
"LogLevel"
2728
};
2829

2930
private SerializedProperty externalJsonEnabled;
Binary file not shown.

PubNubUnity/Assets/PubNub/Runtime/Plugins/CBOR.dll.meta

Lines changed: 43 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

PubNubUnity/Assets/PubNub/Runtime/Plugins/PubnubApiUnity.dll.meta

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)