You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The similar API returns a wrong list for some apps. This list tends to be the developer apps.
Please see the testcase below. Both of them return a same app list.
Example code:
// Put code to reproduce the issue heregplay.similar({appId: "com.codeway.wonder"}).then(console.log);gplay.developer({devId: "Codeway Dijital"}).then(console.log);
The text was updated successfully, but these errors were encountered:
This bug is caused when there's a column called "More by this developer" before "Similar apps", in which case the similar app item index is shifted.
Hence I temporarily fixed it by adding these code to lib/similar.js:75:
// Temp fix for wrong similar apps =========================letsimilarAppsCluster=clusters.filter(cluster=>{returnR.path(CLUSTER_MAPPING.title,cluster)===SIMILAR_APPS;// note: I don't concern the game category});if(similarAppsCluster.length===0){throwError('Similar apps not found');}constclusterUrl=getParsedCluster(similarAppsCluster[0]);// End of fix=========================
Description:
The similar API returns a wrong list for some apps. This list tends to be the developer apps.
Please see the testcase below. Both of them return a same app list.
Example code:
The text was updated successfully, but these errors were encountered: