Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49237

How to add plugin hack for inappbrowser in android 7.0.0?

$
0
0

@anespa wrote:

Friends,
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)

Code here

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 ?

please advise

Thanks
Anes

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>