According to the plugin documentation, it seems there isn't a configuration option to hide the PayPal logo in the card detail Action bar. However the card.io SDK for android has an option to do it:
Is there a way to hide this logo?
According to the plugin documentation, it seems there isn't a configuration option to hide the PayPal logo in the card detail Action bar. However the card.io SDK for android has an option to do it:
Is there a way to hide this logo?
Copyright © 2021 Jogjafile Inc.
Yes, there is a way.
First, you have to remove the android platform to download all dependencies from scratch:
Then, add the card.io cordova plugin:
After taht, in "plugins/card.io.cordova.mobilesdk/src/android" you have to make changes in 2 files:
build.gradle replace
By this:
In file CardIOCordovaPlugin.java you have to add the new configuration option EXTRA_USE_PAYPAL_ACTIONBAR_ICON:
In this case I hardcoded this new option to false, but you can implement the getConfiguration() method to set this option from your ionic page.
Once you make these 2 changes, add again your android platform to your project (to download the latest SDKs v5.5.1):
That's all, the PayPal logo has gone!