'Facing error while calling OnehopEngine SDK Huawei
While I am exploring Huawei OneHop engine.
HwOneHopSdk.getInstance().registerOneHop()
API returns -1 return code(error). I have configured all the basic things, how to resolve the issue?
Solution 1:[1]
Please call a registration API, the reason could be maybe EMUI version may not be up-to-date. OneHop Engine requires EMUI 10.1 or later.
Or, check that required permission () has been granted, otherwise, permission verification will fail.
Please Note: Both devices should be EMUI 10.1 or later and also application must be installed both the ends.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Kanchan Thakur |
