question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue on Capacitor 3

See original GitHub issue

Hi there,

I’ve capacitor 3 upgraded project. Google Auth is works well on web. For Android it throws,

D/Capacitor: Sending plugin error: {"save":false,"callbackId":"126270162","pluginId":"GoogleAuth","methodName":"signIn","success":false,"error":{"message":"Something went wrong"}}

I think currently it is not support for capacitor 3. Because there is no documentation for capacitor 3 (Android). I need clarification on,

  1. In Capacitor 3, There is no onCreate in MainActivity. So, We need to write it manually or not. Capacitor side they said, no need to import anything on mainActivity file.
  2. It is support for android and iOS with Capacitor 3 ?
  3. Everything is fine as per the docs. then why it shows something went wrong?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
NLuegcommented, Jul 9, 2021

@iamkbkarthikeyan I don’t think that this is the case. A week ago (before I updated to Cap 3) everything works fine. After the migration (and without changing the config) the plugin doesn’t work for Android. This is because the Android part wasn’t migrated to Cap 3.

1reaction
iamkbkarthikeyancommented, Jul 6, 2021

Hi, @NLueg. I got white screen with Google Loading Spinner. It struck on auth. If anyone Resolve this. Please post here. Thanks in advance.

Versions we’ve used, Angular : 12 Ionic : 5 Capacitor: 3

Read more comments on GitHub >

github_iconTop Results From Across the Web

Capacitor 3.0 · Issue #3133 · ionic-team/capacitor - GitHub
This issue is meant to organize the scope and work for Capacitor 3 and is not intended to be used as a roadmap...
Read more >
Updating to 3.0 | Capacitor Documentation
If you are using the Ionic CLI, official Capacitor 3 support starts at version 6.16.0. We suggest upgrading to the latest version at...
Read more >
iOS app build failed when upgrading to capacitor 3
I am new to Capacitor and have upgraded a version 2.0 Capacitor iOS app to a version 3 of Capacitor. However, after doing...
Read more >
Latest Capacitor topics - Ionic Forum
Topic Replies Views Activity About the Capacitor category 0 1083 June 18, 2019 Why is geolocation not working? 0 26 December 16, 2022 In‑app purchase ‑...
Read more >
How to make API calls in Ionic Capacitor Apps - Enappd
5. Capacitor/Http plugin — Works in browser, Android and iOS. Fixes CORS issue. This plugin essentially does the same as Option#3, but with ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found