Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

Commit 92848d7

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 6f19eed + b8f8dda commit 92848d7

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# magic-unity
22

3-
Magic empowers developers to protect their users via an innovative, passwordless authentication flow without the UX compromises that burden traditional OAuth implementations.
3+
Magic empowers developers to protect their users via an innovative, passwordless authentication flow without the UX compromises that burden traditional OAuth implementations.
4+
5+
[Documentation](https://magic.link/docs/login-methods/email/integration/unity)
46

57
## Installation
68

@@ -58,6 +60,11 @@ and their github repo about [RPC payloads](https://github.com/Nethereum/Nethereu
5860
var hash = await transaction.SendRequestAsync(transactionInput);
5961
```
6062

63+
### DLL not loaded Error
64+
![image](https://user-images.githubusercontent.com/33166884/175986685-6423ffd8-51e2-4251-833b-bdf78fa35fa9.png)
65+
66+
If you find this after loading the package. Please refer to the solution here in our [doc](https://magic.link/docs/login-methods/email/integration/unity#newton-json-version-error) for the incompatible version error
67+
6168
### Support
6269
More blockchain support will be coming soon. Feel free to send your requests and issues to `[email protected]` or via our helpdesk. Happy coding!
6370

link.magic.unity.sdk/Scripts/Relayer/UrlBuilder.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ internal UrlBuilder(string apikey, CustomNodeConfiguration customNode, string lo
1919
options.ETH_NETWORK = customNode;
2020
options.locale = locale;
2121
options.API_KEY = apikey;
22-
22+
options.bundleId = Application.identifier;
2323
var optionsJsonString = JsonUtility.ToJson(options);
2424
EncodedParams = MagicUtility.BtoA(optionsJsonString);
2525
}
@@ -30,7 +30,7 @@ internal UrlBuilder(string apikey, EthNetworkConfiguration ethNetwork, string lo
3030
options.ETH_NETWORK = ethNetwork;
3131
options.locale = locale;
3232
options.API_KEY = apikey;
33-
33+
options.bundleId = Application.identifier;
3434
var optionsJsonString = JsonUtility.ToJson(options);
3535
EncodedParams = MagicUtility.BtoA(optionsJsonString);
3636
}
@@ -79,5 +79,6 @@ public class BaseOptions
7979
public string sdk = "magic-sdk-unity";
8080
public string API_KEY;
8181
public string locale;
82+
public string bundleId;
8283
}
8384
}

0 commit comments

Comments
 (0)