Skip to content
This repository was archived by the owner on Mar 12, 2022. It is now read-only.
This repository was archived by the owner on Mar 12, 2022. It is now read-only.

Search offset doesn't work #18

Description

@jmike

Seems that "offset" param in the search() method doesn't do anything.

The code below produces the following results:

client.search('facebook', 5, 0)
  .then((results) => {
    console.log(results[0].child.map((e) => e.details.appDetails.packageName));
  })
[ 'com.facebook.katana',
  'com.facebook.lite',
  'com.facebook.orca',
  'com.facebook.work',
  'com.facebook.stickered' ]

But when I change the offset from 0 to 5 I still get the same results.

client.search('facebook', 5, 5)
  .then((results) => {
    console.log(results[0].child.map((e) => e.details.appDetails.packageName));
  })
[ 'com.facebook.katana',
  'com.facebook.lite',
  'com.facebook.orca',
  'com.facebook.work',
  'com.facebook.stickered' ]

Do you know if Google have changed their API? I am pretty sure this was working fine a few months ago.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions