Closed GrinOleksandr closed 4 years ago
ahha, I've got it. Looks like results of that response also is related to country
For which country and locale does it return null?
$appInfos = $gplay->getAppInfoForAvailableLocales('com.Hawi.SkyDream');
foreach ($appInfos as $locale => $appInfo) {
echo $locale . ' => ' . $appInfo->getReleased()->format('Y-m-d') . PHP_EOL;
}
// vi => 2020-06-22
// hy_AM => 2020-06-22
// ko_KR => 2020-06-22
that results was for country "ua" and locale "en_US" , but now it is not null
I came back to work and found more examples, this is only few of them I used the code provided by you in this issue, but except "format" because it throws error when trying to use on null
$appInfos = $gplay->getAppInfoForAvailableLocales('com.nexon.v4gb'); foreach ($appInfos as $locale => $appInfo) { echo $locale . ' => ' . $appInfo->getReleased() . PHP_EOL; }
// en_US => // de_DE => // fr_FR => // hy_AM => // ko_KR => // ru_RU => // th => // zh_CN =>
the same results for: com.blizzard.diablo.immortal com.byaliens.bid.wars.stars.multiplayer.auction.battles com.mojang.minecrafttrialpe
and a lot more However I see that this is a temporary issue, maybe it is related to google play services
Release data not provided, which means the release date is null.
example:
$gplay->getAppInfo("com.Hawi.SkyDream");
what are the possible reasons for that? does app can have not release date?