hotwired / turbo-android

Android framework for making Turbo native apps
MIT License
423 stars 51 forks source link

Log what `shouldProposeThrottledVisit` returns #216

Closed ghiculescu closed 2 years ago

ghiculescu commented 2 years ago

We are trying to debug an issue where visitProposedToLocation isn't reliably getting called by shouldOverrideUrlLoading. This logging will help debug that.

jayohms commented 2 years ago

Good suggestion, thanks @ghiculescu 🙌

ghiculescu commented 2 years ago

Thanks @jayohms

I made this PR while investigating https://github.com/hotwired/turbo-android/issues/217. I'm keen to work on a fix for that one, but was hoping you could help by clarifying what the original purpose of shouldProposeThrottledVisit was?