LoginSignup
0
0

More than 3 years have passed since last update.

cordova-inappbrowserでwindow.open()が効かなくなった

Posted at

起こったこと

  • cordovaを使ったハイブリッドアプリを実装中のできごと。他SNSでのシェアを、window.open(url, "_system")でやっていたが、突然動かなくなる。
  • 「あれ?ビルドミスった?」とあわてる。
  • いろいろ調べて、答えらしきものにたどり着く

なんだったのか

  • The window.open clobber was removed in the InAppBrowser v4 release
  • inappbrowserのv4以降では、window.openが使えなくなってるよ、とのこと
  • そしてwindow.cordova.InAppBrowser.open()をつかってね、とのことでした
  • いろいろ調べてみたら日本語の記事もばっちりありました〜〜
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0