capacitor-community / facebook-login

Facebook Login support
MIT License
103 stars 52 forks source link

issue after work on phone. #66

Closed whitersun closed 2 years ago

whitersun commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

Description After using android studio build Debug and APK app. I got success app-debug.apk. But the problem I was installed into my phone and unable open the app. System always calling for "Unfortunately has stopped."

To Reproduce Steps to reproduce the behavior:

  1. After build apk from android studio and follow the step was on readme tutorial taught.
  2. Download to mobile phone and install.
  3. After click the app, app open and got black screen. Pass Through not enough 1 mins, app automatic exits
  4. See error system calling "Unfortunately has stopped."

Expected behavior App should correctly open and working well.

Screenshots If applicable, add screenshots to help explain your problem.

340602

Framework

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

rdlabo commented 2 years ago

Please check Logs in Android. I'm suspicious about string.xml, but I can't understand it with this information.

whitersun commented 2 years ago

Hello @rdlabo, I am thrilled when someone replies to my post issue. Actually, my android studio has a little bit problem with virtual emulator devices working, so that is why I decided to build apk and installed it into my phone then make a double-check.

And that is the reason I don't get which issue make the app be stopped when I clicked to open. I used to install other capacitor plugins and get nothing issue until using @capacitor-community/facebook-login.

Here is my Github just only install @capacitor-community/facebook-login with setting a little bit to android. Please help me make a check.

I wanna use Cordova from ionic native provide for developers using. But our project is using a capacitor, so I can't using Cordova plugins of the Facebook cause of some settings by type terminal...

By the way, please help me.

rdlabo commented 2 years ago

Here is my Github

@whitersun maybe you forgot write repository url, didn't you?

whitersun commented 2 years ago

@rdlabo OMG, Pardon me. I forgot it, thanks for reminding me. this is my Github repository URL: https://github.com/whitersun/devLogin

rdlabo commented 2 years ago

I understood. Please check this: https://github.com/capacitor-community/facebook-login/blob/master/demo/angular/android/app/src/main/AndroidManifest.xml#L37-L38

need to put at inner application.

whitersun commented 2 years ago

Hello @rdlabo, it worked. I thought put inside under and below

@rdlabo Thank you so much.  本土に、ありがとうございます