Bing maps with ionic 3

    I'm trying to run the example from "" on ionic 3. I can see the registration page but getting an error when clickiing scan button: "Uncaught (in promise): ReferenceError: cordova is not defined

ReferenceError: cordova is not defined" and when clicking dismiss button: “self.parentView.context.dismiss is not a function”. Think I’ve completed due setup of git, nodejs and ionic(cordova). Anybody could give me an idea, please? Thank you very much!