Giter Site home page Giter Site logo

Comments (4)

m0skit0 avatar m0skit0 commented on June 2, 2024

Can you please log the WrappedExceptionMessage from the exceptions thrown by the SDK?

from hms-unity-plugin.

skrpeta avatar skrpeta commented on June 2, 2024

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.

m0skit0 avatar m0skit0 commented on June 2, 2024

Yes, that error code is what I was asking for. I will check and get back to you.

from hms-unity-plugin.

m0skit0 avatar m0skit0 commented on June 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.