Skip to content

Fixes breaking app on back btn clearHistory: true on android - #1637

Merged
hshristov merged 1 commit into
masterfrom
atanasovg/fix-navigation-clearhistory
Feb 25, 2016
Merged

hshristov merged 1 commit into
masterfrom
atanasovg/fix-navigation-clearhistory

Conversation

@atanasovg

Copy link
Copy Markdown
Contributor

This pull fixes #1569. The problem was that the clearHistory option resets the _currentEntry field and the

let isFirstNavigation = types.isNullOrUndefined(this._currentEntry);

expression returned true when it is actually false and this corrupts the native Android backstack.

@atanasovg

Copy link
Copy Markdown
Contributor Author

ping @hshristov @enchev

@enchev

enchev commented Feb 24, 2016

Copy link
Copy Markdown
Contributor

👍

@ns-bot ns-bot added cla: yes and removed cla: no labels Feb 24, 2016
@vchimev

vchimev commented Feb 24, 2016

Copy link
Copy Markdown
Contributor

run ci

@ErjanGavalji ErjanGavalji changed the title Fixes #1569 Fixes breaking app on back btn clearHistory: true on android Feb 25, 2016
@hshristov

Copy link
Copy Markdown
Contributor

@atanasovg I'm working on this issue and it seems there are few bugs - one crash, one memory leak and one issue where page stays empty on navigating back. So I think it will be better to fix them all at once because they seems related. Once I'm ready I will push another PR. So we can close this for the moment, ok?

@ErjanGavalji

Copy link
Copy Markdown
Contributor

👍

hshristov pushed a commit that referenced this pull request Feb 25, 2016
…learhistory

Fixes breaking app on back btn clearHistory: true on android
@hshristov
hshristov merged commit b3721cc into master Feb 25, 2016
@hshristov
hshristov deleted the atanasovg/fix-navigation-clearhistory branch February 25, 2016 15:22
@lock

lock Bot commented Aug 28, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked and limited conversation to collaborators Aug 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression: Back button breaks app on clearHistory: true (android)

6 participants