android icon indicating copy to clipboard operation
android copied to clipboard

Runtime.run called twice

Open farfromrefug opened this issue 6 years ago • 0 comments

Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: rc
  • Android Runtime: 6.0.0

Describe the bug Screen Shot 2019-07-30 at 09 40 14 Looking at the start timeline view of my app (Vue app) i can see something weird that i did not see before. The Runtime.run seems to be called twice, implying two require of my bundle.js

It seems bundle.js calls onCreate itself which calls the initRuntime a second time.

I start my app using this


import App from '~/components/App';
new Vue({
    render: h => {
        return h(App);
    }
}).$start();

Any idea?

EDIT: the call stack is not always the same. Here is another call example Screen Shot 2019-07-30 at 09 46 18

farfromrefug avatar Jul 30 '19 07:07 farfromrefug