Shopify / ui-extensions

MIT License
265 stars 37 forks source link

Added navigation and scanner APIs to PP action #2043

Closed js-goupil closed 4 months ago

js-goupil commented 4 months ago

Resolves https://github.com/Shopify/pos-next-react-native/issues/37280

Background

The ScannerAPI and the NavigationAPI do work for the post purchase action target, however we were not adding it to the type in the package. This fixes the problem, and will allow developers to see that these APIs do exist on these targets. I also updated our docs.

🎩

Checklist

github-actions[bot] commented 4 months ago

We detected some changes in packages/*/package.json or packages/*/src, and there are no updates in the .changeset directory. If the changes are user-facing and should cause a version bump, run yarn changeset to track your changes and include them in the next release CHANGELOG. If you are making simple updates to repo configuration, examples, or documentation, you do not need to add a changeset.