getSubscriptionAccountId
Returns the account identifier for Google Play subscription cancellation tracking, in the format "<appCode>:<hwid>".
Pass this value to BillingFlowParams.setObfuscatedAccountId(...) when launching the Google Play billing flow. Pushwoosh uses it to identify the application and device that started the subscription, so a PW_SubscriptionCancel event can be attributed when Google reports a cancellation. The value combines getApplicationCode and getHwid separated by the first colon. Returns an empty string if the SDK is not initialized yet (application code or HWID unavailable). If the result exceeds Google's 64-character limit for the obfuscated account id, a warning is logged but the full value is still returned (truncating it would break device matching on the backend). Example:
BillingFlowParams params = BillingFlowParams.newBuilder()
.setObfuscatedAccountId(Pushwoosh.getInstance().getSubscriptionAccountId())
// ... other params
.build();
Return
"<appCode>:<hwid>", or an empty string if application code or HWID is not available.