1.1.3 • Published 5 years ago

shopify-push-notifications v1.1.3

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Shopify Push Notifications

Dimension Software contributions welcome HitCount TypeScript

Web + Native iOS + Android Support

Push Notifications to Shopify and your native app, through our Passwordless Login App using this example React Native codebase, no native modules to link & Expo friendly!

Shopify Push Notifications for Web and React Native Apps

Quick Start

$ yarn add shopify-push-notifications

Step 1   //   Save Token

  const { token, message } = push('YOUR-STORE.myshopify.com, 'YOUR-SECRET')
  let res = await token('exponentpushtoken[xxxxxxxxxxxxxxxxxxxxxx]')
  if (!res.success) console.warn(res.error)
  // web or expo token saved

Step 2   //   Push Message

  res = await message('TITLE', 'Message body...', {withJSON: 'Optional data'})
  if (!res.success) console.warn(res.error)
  // message broadcasted!

Fresh Software by Dimension

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago