Skip to content

Getting error on android #142

@anaszgh

Description

@anaszgh

TNS Version 3.4.1
Platform Android
Template Angular
Error

JS: ERROR Error: Uncaught (in promise): TypeError: Cannot set property 'NAMESPACE' of undefined
JS: TypeError: Cannot set property 'NAMESPACE' of undefined
JS:     at ensureUploadServiceNamespace (file:///data/data/com.eventrest.mobile/files/app/tns_modules/nativescript-background-http/background-http.js:97:57)
JS:     at Object.session (file:///data/data/com.eventrest.mobile/files/app/tns_modules/nativescript-background-http/background-http.js:103:5)
JS:     at new ProfilePicPage (file:///data/data/com.eventrest.mobile/files/app/pages/profilePic/profilePic.page.js:25:37)
JS:     at createClass (file:///data/data/com.eventrest.mobile/files/app/tns_modules/@angular/core/bundles/core.umd.js:12481:20)
JS:     at createDirectiveInstance (file:///data/data/com.eventrest.mobile/files/app/tns_modules/@angular/core/bundles/core.umd.js:12322:37)
JS:     at createViewNodes (file:///data/data/com.eventrest.mobile/files/app/tns_modules/@angular/core/bundles/core.umd.js:13780:53)
JS:     at createRootView (file:///data/data/com.eventrest.mobile/files/app/tns_modules/@angular/core/bundles/core.umd.js:13669:5)
JS:     at callWithDebugContext (file:///data/data/com.eventrest.mobile/files/app/tns_modules/@angular/core/bundles/core.umd.js:15094:42)
JS:     at Object.debugCreateRootView [as createRootView] (file:///data/data/com.eventrest.mobile/files/app/tns_modules/@angular/core/bundles/core.umd.js:14377:12)
JS:     at ComponentFactory_.create (file:///data/data/com.eventrest.mobile/files/app/tns_modules/@angular/core/bundles/core.umd.js:11274:46)
JS:     at ComponentFactoryBoundToModule.create (file:///data/data/com.eventrest.mobile/files/app/tns_modules/@angular/core/bundles/core.umd.js:4061:29)
JS:     at ViewContainerRef_.createComponent (file:///data/data/com.eventrest.mobile/files/app/tns_modules/@angular/core/bundles/core.umd.js:11471:62)
JS:     at DetachedLoader.loadWithFactory (file:///data/data/com.eventrest.mobile/files/app/tns_modules/nativescript-angular/common/detached-loader.js:41:34)
JS:     at PageRouterOutlet.activateOnGoForward (file:///data/data/com.eventrest.mobile/files/app/tns_modules/nativescript-angular/router/page-router-outlet.js:258:49)
JS:     at PageRouterOutlet.activateWith (file:///data/data/com.eventrest.mobile/files/app/tns_modules/nativescript-angular/router/page-router-outlet.js:234:14)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions