Skip to content
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

(BUG) [Native/Android] The app is crashed on the authentication screen after closing the "Complete action using" pop up #2818

Closed
AnastasiiaOdnoshevna opened this issue Dec 16, 2020 · 5 comments
Assignees
Labels
bug Something isn't working Critical bugs which breaks business logic React Native

Comments

@AnastasiiaOdnoshevna
Copy link

Description: The app is crashed on the authentification screen after closing (Press the Back button on the device) the "Complete action using" popup
Steps to reproduce:

  1. Launch the App
  2. Tap on the "Already have a Wallet? Log in" button.
  3. Tap on the Log in with Google button
  4. Tap on the Back button.
  5. Pay attention to the result

Expected result:
The app is not crashed on the authentification screen after closing the "Complete action using" popup

Actual result:
The app is crashed on the authentification screen after closing the "Complete action using" popup

Environment: Version 1.11.6
Devices list: Huawei P20 // Android 9
Attachments:
https://www.dropbox.com/s/8h7fc3xb637sbec/Logining%20in%20the%20App.mp4?dl=0
https://app.zenhub.com/files/166818382/8545a0cd-6ad2-4630-aefc-a9f29544a0e4/download

@AnastasiiaOdnoshevna AnastasiiaOdnoshevna added bug Something isn't working Critical bugs which breaks business logic React Native labels Dec 16, 2020
@MarianoAmado
Copy link
Contributor

The original error seems related to react-native-svg:

    --------- beginning of crash
2021-01-15 10:24:03.730 17313-17313/? E/AndroidRuntime: FATAL EXCEPTION: main
    Process: org.gooddollar, PID: 17313
    java.lang.IllegalStateException: java.lang.NoSuchFieldException: fill
        at com.horcrux.svg.a0.a(Unknown Source:92)

Here they suggest a fix for this by adding -keep public class com.horcrux.svg.** { *; } to proguard-rules.pro
software-mansion/react-native-svg#1061

@AnastasiiaOdnoshevna
Copy link
Author

@sirpy
Is still reproduced.
Checked on the Sony G8232 Xperia XZS // Android 8
Environment: Version 1.11.6 (948)
Video: https://www.dropbox.com/s/a7774h2ayolasfs/CrashAppSonyXperia.mp4?dl=0
Logs: https://app.zenhub.com/files/166818382/3ee3d52b-1dfc-4e84-90e8-88ebaa6d4c92/download

@sirpy
Copy link
Contributor

sirpy commented Dec 24, 2020

@MarianoAmado please verify you fix is working by compiling a release version locally
if issue still persist try to disable proguard and lets see if this is the issue

@AnastasiiaOdnoshevna
Copy link
Author

@sirpy
The issue is not reproduced
Checked on the App Version 1.11.6 (964)

Is there any other issue that should be fixed?

@sirpy
Copy link
Contributor

sirpy commented Dec 24, 2020

no

@sirpy sirpy closed this as completed Dec 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Critical bugs which breaks business logic React Native
Projects
None yet
Development

No branches or pull requests

4 participants