Preview into Editor Tab is not working for Cordova Light applications

Solution Verified - Updated -

Issue

  • Preview into Editor Tab is not working for Cordova Light applications. Following an example of the issue faced when is trying to use the preview for a Cordova Light application with Cordova plugins.

    ionic.bundle.js:17696 TypeError: Cannot read property 'email' of undefined
    at Scope.$scope.sayHello (controllers.js:11)
    at ionic.bundle.js:18471
    at ionic.bundle.js:43026
    at Scope.$eval (ionic.bundle.js:20326)
    at Scope.$apply (ionic.bundle.js:20424)
    at HTMLButtonElement.<anonymous> (ionic.bundle.js:43025)
    at ionic.bundle.js:10478
    at forEach (ionic.bundle.js:7950)
    at HTMLButtonElement.eventHandler (ionic.bundle.js:10477)
    at triggerMouseEvent (ionic.bundle.js:2648)
    

Environment

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content