1.0.0 • Published 9 months ago

convertnative-sdk v1.0.0

Weekly downloads
-
License
proprietary
Repository
github
Last release
9 months ago

ConvertNative SDK makes it easy to use native features from your web code.

Install

npm install convertnative-sdk
# or
yarn add convertnative-sdk

Get Started

import * as ConvertNative from 'convertnative-sdk'

await ConvertNative.oneSignal.setAppId('ONESIGNAL-APP-ID')
await ConvertNative.oneSignal.promptForPushNotifications()
console.log('OneSignal state: ', await ConvertNative.oneSignal.getState())

await ConvertNative.share.open({
  title: 'Google',
  url: 'https://google.com'
})
1.0.0

9 months ago