paytabscom / flutter-sdk-bridge

MIT License
12 stars 11 forks source link

App crashes in release mode #4

Closed matiullah-netlinks closed 3 years ago

matiullah-netlinks commented 3 years ago

After cloning the example project and building the apk using flutter build apk command the app crashed.

Steps to reproduce 1- Clone the example project 2- Run flutter build apk 3- Open the app and click the Pay with PayTabs

mohamedkhairy953 commented 3 years ago

Hello I have walked through the steps but no crashes happened on my device Please provide us with more info like which device you use, the SDK version, maybe the stack trace of the crash if you have it and the version of the aar file

In the meantime, I will do some search to figure out what could be the cause.

matiullah-netlinks commented 3 years ago

@mohamedkhairy953 I'm using your own example project and my mobile android version is 9.

matiullah-netlinks commented 3 years ago

@mohamedkhairy953 It is working while development but when I build the release version it crashes

mohamedkhairy953 commented 3 years ago

Do you enable the obfuscation

matiullah-netlinks commented 3 years ago

@mohamedkhairy953 Didn't get you

mohamedkhairy953 commented 3 years ago

Does the problem occurs in ios? And could you provide us with the logs.

matiullah-netlinks commented 3 years ago

@mohamedkhairy953 I haven't tested with iOS, because it is a released version I don't have access to the logs

mohamedkhairy953 commented 3 years ago

paytabs_sdk.zip please download the above aar file and replace it in this path: ..\flutter-sdk-bridge\android\paytabs_sdk and let me know the result

matiullah-netlinks commented 3 years ago

@mohamedkhairy953 I replaced it but still the app crashes

matiullah-netlinks commented 3 years ago

@mohamedkhairy953 But it is working fine when I run the app with flutter run --release command

mohamedkhairy953 commented 3 years ago

Hello Please try the new version 1.0.6 and let me know

matiullah-netlinks commented 3 years ago

@mohamedkhairy953 thank you, it is working now