问题描述:

I have done twitter using childbrowser as now childbroser is deprecated.

so now this code is not wokring.

I had tried to find new code but not able to find any code with inapbrowser.

Please help me :(

Thanks In Advance.

网友答案:

hi you can check tutorial related to twitter integration via child browser here , in this tutorial they provide good description, you can change the childbrowser with InAppBrowse check this link , both are same, you can instal inAppBrowser via CLI

cordova plugin add org.apache.cordova.inappbrowser

replace

  cb = window.plugins.childBrowser;

with cb = window.open(url, target, options);

and cb.showWebPage with window.open

like you can see the same events and methods.

相关阅读:
Top