-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android: App freeze if combined with @capacitor-community/stripe #114
Comments
i'm using it with capacitor stripe but i'm not facing this issue this is my MainActivity.java public class MainActivity extends BridgeActivity { i don't think you must specify all those imports
i think import android.os.Bundle; |
@ciccilleju you seem to be right, the build process works without those imports also. But unfortunately that does not fix the issue 😞 |
@ciccilleju Just to make sure, did you test this with android? For me it works on browser, but on android the app freezes. Im am creating the build with |
tried with android studio and my device, a samsung s20 try using Android Studio |
@ciccilleju thanks, I can try to give it a try later 👍 Ofc I still need to find a actual fix for this issue to be able to build .apk release file and distribute the application, but if the build actually works this way ,then I guess the issue could be related to the gradle version or something like that? 🤔 Unfortunately I dont have too much detailed experience with the android build process. EDIT: Tested building the app directly from android studio, no luck 😞 Could you check the Gradle version you are using? |
have you tried to uninstall the latest vesrion 4.0.0-1 of facebook plugin? |
Tried with the same Gradle versions and facebook login V4.0.0-1, no luck 😞 |
Hello, I'm the same. It enters FacebookLogin.login({ permissions: FACEBOOK_PERMISSIONS }); but if I close the browser or finish the login it returns to the App and it stays frozen. It only continues execution when I press the back native button. I can see a visual glitch when I press the back button. |
@crashWunderdog try again with the new versión 5.0.0 |
Describe the bug
Facebook-login package causes application to freeze on android device if
@capacitor-community/stripe
package is included in the project. The facebook login view will open, but when it is closed (either by successfull login or user aborting the login session) the application stops responding.Issue does not happen on browser (I have not tested iOS).
To Reproduce
Steps to reproduce the behavior:
@capacitor-community/facebook-login
by following the instructions on read me and create a simple page for the login. At this point the login should work without any issues.@capacitor-community/stripe
plugin to the project and configure it by the instructions on readme.Expected behavior
The login should work as it did without the stripe-plugin and application should not freeze.
Smartphone (please complete the following information):
Additional context
I can not see any direct error messages is the logs that could indicate the cause of the issue, the application just fully stops responding.
Package versions used:
android/app/src/main/java/**/**/MainActivity.java
:The text was updated successfully, but these errors were encountered: