Add proguard-rules.pro file for live Payment Key
In FoodZone and Grocers we have used Stripe, Paypal and RazorPay payment gateways for online transaction. For each payment we have used sandbox key for testing transactions.
Payment live key is sensitive data to we can not ask or we can not add any live key. For adding live key you must have to add proguard-rules.pro file at android side. without this file it might be possible that the app will not work or crashed on release build. For this you must have to follow bellow steps.
Step 1 : Create file
make a file name of proguard-rules.pro inside android>app that should be : android/app/proguard-rules.pro then paste below code inside proguard-rules.pro file
Step 2: Assign that file to build.gredle
go to android>app>build.gradle and find buildTypes inside buildTypes>release add some lines
Last updated