Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
If you are using the PayPal SDK and want to make the standard payment, simply you have to write this compiled code in your build.gradle,
After that, if you noticed the size of the app(.apk) increases twice or thrice(approx 10 -12mb increased).
What is the reason behind it? > io.card module is the reason.
What is the reason behind it?
> io.card module is the reason.
If you have simply excluded this io.card module from the PayPal SDK:
the app size will be reduced.
But there is one problem to exclude this module, You will not make the payment by your debit/credit card. There is two option to make payment by card,
And the main reason behind increasing the app size is the First option, automatically card scanner.
So what will have to do? We have to exclude only the automatically card scanner option from the app. So we have to add packagingOptions where we have to exclude the card scanner related files which have included the .so file instead of the whole io.card module.
So what will have to do?
We have to exclude only the automatically card scanner option from the app. So we have to add packagingOptions where we have to exclude the card scanner related files which have included the .so file instead of the whole io.card module.
In the build.gradle,
paste above file parallels to defaultConfig. After this app size will be reduce and you can also use the direct card payment option.
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
It was a successful collaboration. The Mobikul team provided the client everything they needed in a timely and high-quality manner. They were very professional, reliable, and accessible during the entire process. The client also saw no room for any improvements in the vendor's performance.
Vincenzo Carrano
Administrator, Segshop
USA
India
Global
Name
Email
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.