Skip to content

Commit

Permalink
DLL Update + change transport layer injection method
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-grzesiowski committed Nov 5, 2024
1 parent 0997820 commit 19f2cf0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Binary file modified PubNubUnity/Assets/PubNub/Runtime/Plugins/PubnubApiUnity.dll
Binary file not shown.
3 changes: 1 addition & 2 deletions PubNubUnity/Assets/PubNub/Runtime/Util/PNManagerBehaviour.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,10 @@ public Pubnub Initialize(string userId) {
var pnConfig = ((PNConfiguration)pnConfiguration);
pnConfig.PubnubLog = new UnityPNLog();
Debug.LogError("Before new PN");
pubnub = new Pubnub(pnConfig);
pubnub = new Pubnub(pnConfig, new UnityHttpClientService());
Debug.LogError("Setup new PN");
//pubnub.SetJsonPluggableLibrary(new NewtonsoftJsonUnity(pnConfig, pnConfig.PubnubLog));
Debug.LogError("Setup JSON");
pubnub.SetTransportLayer(new UnityHttpClientService());
Debug.LogError("Setup Transport Layer");
pubnub.AddListener(listener);
Debug.LogError("Added listener");
Expand Down

0 comments on commit 19f2cf0

Please sign in to comment.