Released: November 13, 2020
Changes:
- Added optional public methods to support merchants wanting to use an alternate button image. These optional methods are:
(MCCMasterpassButton * _Nullable)getMasterPassButton:(id<MCCMerchantDelegate>) merchantDelegate withImage:(UIImage *)image
toMCCMerchant.h
class - Added
(MCSCheckoutButton *_Nonnull)checkoutButtonWithDelegate:(id<MCSCheckoutDelegate>_Nonnull)delegate withImage:(UIImage *_Nonnull)image NS_SWIFT_NAME(getCheckoutButton(withDelegate:withImage:))
toMCSCommerceWeb.h
class - Added
MCSCheckoutButton *)checkoutButtonWithDelegate:(id<MCSCheckoutDelegate>)delegate withImage:(UIImage *)image
toMCSCheckoutButtonManager.h
class
Released: August 7, 2020
Changes:
- Add public method
checkoutWithRequest:(MCSCheckoutRequest *_Nonnull)request
and @property id delegate forMCSCommerceWeb
- Remove
"MCSCommerceWeb+private.h"
class - Added support for Apache Cordova plugin integration
Released: May 26, 2020
Changes:
- Change from
.framework
distribution to source code distribution to prevent problems with packaging - Added unit test for legacy and new source code, currently up to 70%
- Added
presentingViewController
as optional ViewController can be passed and presented instead of the vanilla keyWindow RootViewController
Released: April 3, 2020
Changes:
- Fix navigation footer Feedback to prevent leave SRC web experience
- Validate url for navigationValidate, url must end on html to prevent navigation from add choices
Released: February 24, 2020
Changes:
- Fix issue redirecting to merchant callback URL from masterpass.com
- Refactored WebViewControllerManager to dynamically add and remove webviews based on all incoming requests
- Updated dependency script lipo command, added zip file for distribution
- Updated podspec and build settings for MCSCommerceWeb to distribute as .framework instead of source files
Released: November 21, 2019
Changes:
- Improved nullability checks
- Fixed an issue where network error message was not dismissing
- Fixed an issue where button image cache file was incorrectly named
- Removed use of deprecated UIWebView class when rendering the checkout button image from SVG
- Fixed null pointer exception when the checkout button image failed to download
- Fixed an issue causing the wrong checkout button image to download
- Fixed an issue causing the wrong checkout button default image to display
Released: August 12, 2019
Changes:
- Initial public release
Released: August 9, 2019
Changes:
- Adjust Constraints for not hiding SRC mark on iPhone X
- Add alert for no-internet condition when user is already inside webView context.
- Remove cancel button for Activity Indicator
Released: August 6, 2019
Changes:
- Fixed issue where WebView constraints weren't being set, resulting in an empty ViewController
- Fixed issue where loading indicator wasn't appearing in the Popup WebView
- Updated code-level documentation
- Fixed issue where receiving a phone call would activate the loading indicator
- Removed
allowedCardTypes
fromMCSCheckoutRequest
- Implemented check for network connectivity before launching WebView
Released: July 15, 2019
Changes:
- Initial public release