Closed manelizzard closed 3 years ago
We are trying to obtain subscription data from InAppPuchaseData, concretely SubValid, but we get the following error:
InAppPuchaseData
SubValid
AndroidJavaException: java.lang.NoSuchMethodError: no non-static method with name=‘getSubValid’ signature=‘()Z’ in class Ljava.lang.Object;
As per Android doc, the method signature is isSubValid. Is there a possibility of this discrepancy being the cause?
isSubValid
Also ExpirationDate is calling getNumOfDiscount: https://github.com/m0skit0/hms-sdk-unity/blob/155547072df8678ff8d3e5e5da96dc61ff127713/hms-sdk-unity/HuaweiMobileServices/IAP/InAppPurchaseData.cs#L57
ExpirationDate
getNumOfDiscount
However, we can properly access to OrderID and ProductId
OrderID
ProductId
Fixed in commits 30d56d160c37bea3dad8b20d04253d4da51a5a02 (master) and d13940c5ddebc332f15f68fc3ae8eaf451dae1ed (2018)
We are trying to obtain subscription data from
InAppPuchaseData
, concretelySubValid
, but we get the following error:As per Android doc, the method signature is
isSubValid
. Is there a possibility of this discrepancy being the cause?Also
ExpirationDate
is callinggetNumOfDiscount
: https://github.com/m0skit0/hms-sdk-unity/blob/155547072df8678ff8d3e5e5da96dc61ff127713/hms-sdk-unity/HuaweiMobileServices/IAP/InAppPurchaseData.cs#L57However, we can properly access to
OrderID
andProductId