I have an activity named SubmitActivity. In the activity, I have a button. When I click the button, Chrome custom tabs open. To be able to back to application from custom tabs, I also used intent-filters with custom deep linking (host and scheme).
With intent-filters(deep linking) I'm starting a web view in the app. If I try to go back to SubmitActivity via pressing back button, before the SubmitActivity, I see a blank page. I could't solve this problem.
I also used
intent.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);
this code for closing the chrome tabs. So, I can be able to go back to SubmitActivity. But it's not helping about blank page.