Comments (4)
Can you please log the WrappedExceptionMessage from the exceptions thrown by the SDK?
from hms-unity-plugin.
Hi, first thank you taking time to help :)
I couldnt find that WrapperExceptionMessage in my log. Used this line in cmd to log: adb logcat –v time > C:\hwlocation.log
Is that ok? here is the whole log in the attachment
hwlocation.log
Here is short snippet:
07-30 22:21:53.706 I/HMSSDK_HmsClient(17163): receive msg status_code:0, error_code0, api_name:iap.isBillingSupported, app_id:102481109|, pkg_name:com.ziaproduction.pricalica.huawei, session_id:, transaction_id:102481109ported20200730222153122571901, resolution:null
07-30 22:21:53.713 I/HMSSDK_IsEnvReadyTaskApiCall(17163): onResult, success
07-30 22:21:53.720 I/Unity (17163): HMSP: checkIapAvailabity SUCCESS
07-30 22:21:53.720 I/Unity (17163): (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
07-30 22:21:53.720 I/Unity (17163):
07-30 22:21:53.720 D/ (17163): addLayerName, tid:17191
07-30 22:21:53.723 I/Unity (17163): [HMS]: LoadStore
07-30 22:21:53.723 I/Unity (17163): (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
07-30 22:21:53.723 I/Unity (17163):
07-30 22:21:53.736 D/ (17163): addLayerName, tid:17191
07-30 22:21:53.749 W//system/bin/netd( 569): A binder object at 0xe74483a0 is being transacted on, however, this object is in the same process as its proxy. Transacting with this binder is expensive compared to just calling the corresponding functionality in the same process.
07-30 22:21:53.749 I/PreDnsController( 569): canPreDnsQuery,persist.sys.predns is false!
07-30 22:21:53.753 D/ (17163): addLayerName, tid:17191
07-30 22:21:53.771 D/ (17163): addLayerName, tid:17191
07-30 22:21:53.780 I/HMSSDK_HuaweiApiManager(17163): sendRequest
07-30 22:21:53.781 I/HMSSDK_HmsClient(17163): post msg api_name:iap.getSkuDetails, app_id:102481109|, pkg_name:com.ziaproduction.pricalica.huawei, sdk_version:40001300, session_id:, transaction_id:102481109etails20200730222153778748064, kitSdkVersion:40001300, apiLevel:1
07-30 22:21:53.784 I/HMSSDK_BaseAdapter(17163): in baseRequest + uri is :iap.getSkuDetails, transactionId is : 102481109etails20200730222153778748064
07-30 22:21:53.787 I/HMSSDK_PendingResultImpl(17163): init uri:iap.getSkuDetails
07-30 22:21:53.789 I/HMSSDK_PendingResultImpl(17163): setResultCallback
07-30 22:21:53.799 D/ (17163): addLayerName, tid:17191
07-30 22:21:53.808 D/ (17163): addLayerName, tid:17191
07-30 22:21:53.820 D/ (17163): addLayerName, tid:17191
07-30 22:21:53.830 I/HMSSDK_PendingResultImpl(17163): setResult:0
07-30 22:21:53.832 I/HMSSDK_BaseAdapter(17163): baseCallBack.onComplete
07-30 22:21:53.833 I/HMSSDK_HmsClient(17163): receive msg status_code:0, error_code60001, api_name:iap.getSkuDetails, app_id:102481109|, pkg_name:com.ziaproduction.pricalica.huawei, session_id:*, transaction_id:102481109etails20200730222153778748064, resolution:null
07-30 22:21:53.836 I/HMSSDK_ProductInfoTaskApiCall(17163): onResult, returnCode: 60001
07-30 22:21:53.837 D/ (17163): addLayerName, tid:17191
07-30 22:21:53.850 I/Unity (17163): [HMSPlugin]: ERROR Consumable ObtainInfoException of type 'HuaweiMobileServices.Utils.HMSException' was thrown.
07-30 22:21:53.850 I/Unity (17163): (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
07-30 22:21:53.850 I/Unity (17163):
07-30 22:21:53.851 I/Unity (17163): [HMSPlugin]: IAP ObtainProductInfo failed. Exception of type 'HuaweiMobileServices.Utils.HMSException' was thrown.
07-30 22:21:53.851 I/Unity (17163): (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
07-30 22:21:53.851 I/Unity (17163):
If this is not what you needed can you please direct me in the right direction. Steps i need to take so i can help you help me :D
EDIT:
Could it be possible this:
OrderStatusCode.ORDER_STATE_PARAM_ERROR | 60001 | Parameter error (including no parameter). | Check whether request
Found that on huawei doc. I see that logcat returns that error. So that means Im missing something?
from hms-unity-plugin.
Yes, that error code is what I was asking for. I will check and get back to you.
from hms-unity-plugin.
This is the same issue as #44 , I will close this one, anything you can comment on there, thanks.
from hms-unity-plugin.
Related Issues (20)
- ADS Not Working in HMS 2.3.4 Unity HOT 5
- Errors during build HOT 3
- 调用SilentSignIn登录返回错误码7400 HOT 2
- This is a test HOT 2
- Help with consent HOT 8
- Developer payload cannot be passed thru PurchaseProduct method HOT 7
- Consumption of purchases in InitializeIAP should be optional HOT 6
- 3.2.5 Version on 2020 Unity version is not compling HOT 5
- 请问有没有要使用这个插件接入华为的防沉迷功能应该怎么做? HOT 15
- HMS Unity not working , create run time error (v2.3.5 - Unity 2019/2020/2021) HOT 12
- Disable 'update plugin' process on consoles HOT 3
- Ads not showing in Unity 2022.2.13 HOT 3
- About App-Ads.txt HOT 5
- How to make build on Harmony OS ? HOT 10
- Huawei Unity IAP Did Not Worked. HOT 9
- App force update HOT 9
- The type or namespace name 'HmsPlugin' could not be found HOT 3
- Assets/Huawei/Plugins/Android/hmsMainTemplate.gradle is absent HOT 3
- This is a test HOT 2
- Issue installing Huawei Android dependencies HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hms-unity-plugin.