You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "sfnt (JIRA)" <ji...@apache.org> on 2016/08/01 02:47:20 UTC

[jira] [Commented] (CB-11637) History was clean when goto another page

    [ https://issues.apache.org/jira/browse/CB-11637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15401459#comment-15401459 ] 

sfnt commented on CB-11637:
---------------------------

I find out the problem, 
when I remove all the plugins the history.back() works,
but when I add the cordova-hot-code-push-plugin and run again, It not work.

Thank you for your answer~



> History was clean when goto another page
> ----------------------------------------
>
>                 Key: CB-11637
>                 URL: https://issues.apache.org/jira/browse/CB-11637
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 5.2.1
>         Environment: android 4.4 , win 10
>            Reporter: sfnt
>
> I have 2 html pages, page A and page B
> A is the default homepage or my cordova app.
> A has a link  to B
> and B with cordova.js too.
> when I touch the link in page A and goto page B,
> I find that history.back() don't work!
> and navigator.app.backHistory() don't work too!
> While in the page B , history.length = 1
> no history was found!!
> Then I remove cordova.js from page B, history.back() works well.
> Do cordova clean history everytime it init?
> How can I fix this problem?
> thanks ~~



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org