How to use the leancloud-storage/dist/av.init function in leancloud-storage

To help you get started, we’ve selected a few leancloud-storage examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github kylewh / NoMess / src / api / index.js View on Github external
export const initLeanCloud = () => {
  AV.initialize()
  const appId = 'fHlQK5K3zQdGFO0h4jPg7Azk-gzGzoHsz'
  const appKey = 'Tpz60WuMnnBGJGh3hr6os321'
  AV.init({ appId, appKey })
}