Skip to content

Performance in android #441

@albo1337

Description

@albo1337

I don't know what I'm doing bad, but if I do this:

const scenes = Actions.create(
  <Scene key="root">
      <Scene key="tabbar" component={TabBar} tabs={true}>
          <Scene key="homeTab" title="Home" icon={TabIcon}>
              <Scene key="home" component={Home} title="Home"/>
              <Scene key="login" component={Login} title="Login"/>
          </Scene>
      </Scene>
  </Scene>
);

export default class Example extends React.Component {
    render() {
        return (
            <Router createReducer={reducerCreate} sceneStyle={{backgroundColor:'#F7F7F7'}} scenes={scenes}/>
        )
    }
}

the performance on android is really bad. If I switch a view it takes 10 seconds until it switches. I've tested this with several devices.

In iOS this issue is not occuring...

Could you help me pls?

best regards,

albo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions