Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

118
Views
Android : getBridge() is returning null after capacitor 3.3.3 upgrade

So based on documentation https://capacitorjs.com/docs/updating/3-0

Updated capacitor to latest version 3.3.3 and removed deprecated init() method from mainAcivity.kt file but getBridge() is returning null and not able to get webview.

getBridge().webView.addJavascriptInterface(JSInterface(this@MainActivity), "androidCallback")

I would appreciate any help how to get this getBridge() working so that it starts communicating with JS methods.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Apparently, this issue was solved here https://github.com/ionic-team/capacitor/pull/5328/commits and will probably be included in the next capacitor release.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!