Skip to content

Cannot register device to <API>/1.1/installations #642

@Royovo

Description

@Royovo

Versions

    "leancloud-installation": "^2.0.1",
    "leancloud-storage": "^4.10.1",

Error

Source

undefined is not a function (near '...}).finally(function () {...') [N/A POST https://xxxxxxxx.push/lncldglobal.com/1.1/installations]

av-core.js (1992:17)


Call Stack

ajax._catch$argument_0
  av-core.js:1992:17

microtask$argument_0
  ex.promise.js:117:29

flush
  microtask.js:27:11

tryCallOne
  core.js:37:14

setImmediate$argument_0
  core.js:123:25

flushedQueue
  [native code]

invokeCallbackAndReturnFlushedQueue
  [native code]

Way to reproduce

  1. Fresh installed RN project
  2. Follow the instructions on: How to Install the JavaScript SDK and the Demo
  3. Error!

Please help to resolve

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions