https://redmine.stoutner.com/https://redmine.stoutner.com/favicon.ico?16699090422020-11-23T19:51:36ZStoutner - RedminePrivacy Browser Android - Bug #642: View Source crashes on production buildshttps://redmine.stoutner.com/issues/642?journal_id=17832020-11-23T19:51:36ZSoren Stoutnersoren@stoutner.com
<ul></ul><p>I have been informed that at least one old Motorola phone also has problems with this.</p> Privacy Browser Android - Bug #642: View Source crashes on production buildshttps://redmine.stoutner.com/issues/642?journal_id=17852020-11-24T04:11:25ZSoren Stoutnersoren@stoutner.com
<ul><li><strong>Subject</strong> changed from <i>Convert the ViewWebSource ViewModel to Kotlin</i> to <i>View Source crashes on production builds</i></li></ul><p>So, it turns out that this crashes on release builds on all devices. Most of my test devices run debug builds, which is why I wasn't able to replicate the issue.</p> Privacy Browser Android - Bug #642: View Source crashes on production buildshttps://redmine.stoutner.com/issues/642?journal_id=17862020-11-24T08:15:09ZSoren Stoutnersoren@stoutner.com
<ul><li><strong>Tracker</strong> changed from <i>Feature</i> to <i>Bug</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul><p>Fixed in commit <a class="external" href="https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=606b5659cfd41c546fcbf248dcde72fd3c60d1c3">https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=606b5659cfd41c546fcbf248dcde72fd3c60d1c3</a>.</p>
<p>The problem ended up being caused by ProGuard stripping out the ViewModel method during minification. This was fixed by adding a custom ProGuard rule.</p>