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

Payment page crashed on Android showing mp_currency value not found #11

Open
alifhaikal88 opened this issue Mar 22, 2021 · 3 comments
Open

Comments

@alifhaikal88
Copy link

Versions
Flutter version : 2.0.1
rms-mobile-xdk-flutter-beta : 0.29.1

Description
This issue only occurs when using android phone. Iphone working fine.
The payment page throws error "mp_currency value not found" when to pay
Below is the screenshot of the error.
Please clarify on this matter.

image

@wasddsaw
Copy link

Hi @alifhaikal88, please revert your issue to our support [email protected]

@hisyamadzha
Copy link

hisyamadzha commented Mar 23, 2021

Hi @alifhaikal88,
This is caused by android shrinking mechanism (R8), you may include below script in your project proguard-rules.pro file to resolve this issue.

-keep public class com.molpay.molpayxdk.MOLPayActivity {
    <fields>;
    public <methods>;
}

@faiz-faizal
Copy link

faiz-faizal commented Jul 16, 2021

Hi @alifhaikal88,
This is caused by android shrinking mechanism (R8), you may include below script in your project proguard-rules.pro file to resolve this issue.

-keep public class com.molpay.molpayxdk.MOLPayActivity {
    <fields>;
    public <methods>;
}

Thanks. its work
For extra info:
https://stackoverflow.com/questions/65020651/cant-find-proguard-rules-pro-in-my-flutter-app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants