I am working in android version 6.4.0 with ionic 3. But recently I need to go android 7.0.0.
In previous version(6.4.0), I add a plugin edit for InAppBrowser 1.7.2 for close the final payment page after 5 seconds.
I edited the file on path (6.4.0) at /platforms/android/src/org/apache/cordova/inappbrowser/InAppBrowser.java
Edited code is below with added code highlighted with ** (lines 1067 - 1073, line 20)
But in new android (7.0.0) no file and folder structure exist.
So I try to edit same file named at path /plugins/cordova-plugin-inappbrowser/src/android/InAppBrowser.java
But no closing of final browser on 5 seconds.
How this problem can be fixed ?