Skip to content

Commit

Permalink
US1762588 - [iOS] React Native Demo Components Refactor and Props (#86)
Browse files Browse the repository at this point in the history
* Us1762585 - iOS Refactor Native components (#81)

* US1762570: create view manager to native AccessCheckoutEditText component; override onTextChange to support the react native onChangeText event; implement component in react native

* US1762550: update card details field to use new component; update RN module to use reference to AccessCheckoutEditText and not the text value

* US1762550: move AccessCheckoutEditTextManager to correct file path; update local android sdk files to most up-to-date version of master; update AccessCheckoutReactPackageTest

* US1782181: add unit tests for AccessCheckoutEditTextManagerTest; add mockito to build.gradle for unit tests

* US1762551: Expose AccessCheckoutUITextField to be able to use native components via the ios Bridge
Simplify ReactNativeViewLocator and implement/expose specific POC methods to avoid disruptions with previous implementation
Add POC toggle to demo app to be able to switch implementations
Expose new POC validation and sessionGeneration methods to avoid diruptions with previous implementations

* US1762551: Point client to npe environment

* US1762585: Refactor ios Bridge and demo application
Avoids having to handle inputs in states
Uses native components
Only a input field id is needed in order to configure validation and session generation for a field
Integrate the latest AccessCheckoutUITextField changes
Updates and renames cvcValue to cvcId
Updates and renames panValue to panId
Updates and renames expiryDateValue to expiryDateId

* US1762585: Rebuild lib and clean up files

* US1762585: Minor cleanup

* US1762585: Rebuild lib files
Rename AccessCheckoutEditText to AccessCheckoutInputText as EditText was specific to Android
Minor renaming of fields like panUITextField to panACUITextField to improve readability and make it known that we are dealing with AccessCheckoutUITextField in the iOS bridge

* US1762585:
Rename AccessCheckoutEditText to AccessCheckoutInputText in Android bridge

* US1762585:
Rename AccessCheckoutInputText to AccessCheckoutTextInput
Rebuild lib files

* US1762585: Update bitrise-step to use xcode-test v5 and update e2e tests (#82)

* US1762585: Update bitrise-step to use xcode-test v5

* US1762585: Use Optionals to mantain compatibility in both Xcode 13 and Xcode 15

* US1762585: Update e2e tests

* US1762585: Improve matcher based on platform using type

* US1762585: Remove TextInputPO as it is no longer used

---------

Co-authored-by: e5661323 <jason.dzelamensah@fisglobal.com>

* US1762588: Clean and Refactor CVC Expiry and Pan React Native Demo components
Define Props and types to ReactNative component and Native component props

* US1762588: Use paddingHorizontal in demo components

* US1762588: Add Android AccessCheckoutEditText defaults when initialising the component

* US1762588: Add Support for fonts via styling, minor refactorings

* US1762588: Remove Comment and support for keyboartType in iOS Bridge

* US1762588: Revert pod local version

* US1762588: rebuild pod files to point to remote AccessCheckoutSDK

* US1762588: rebuild pod files to point to remote AccessCheckoutSDK

* US1762588: Remove support for fontStyle and fontWeight

* US1762588: Add correct colours to text when input is not editable, remove inverted expression

* US1762588: Fixx import after rebase

* US1762588: Clean imports

* US1762588: Remove unnecessary comments

* US1762588: Rename fontColor to color, and remap in iOS Bridge
Reset defaults provided by AccessCheckoutUITextfield
Reset insets using horizontalPadding in AccessCheckoutUITextfield

* US1762588: point to correct tag instad of branch

* US1762588: Update pod deps

* US1762588: change BitRise flow for iOS Bridge and iOS e2e tests to update and install Pods rather than just install

---------

Co-authored-by: e5661323 <jason.dzelamensah@fisglobal.com>
Co-authored-by: Olivier Chalet <olivier.chalet@fisglobal.com>
  • Loading branch information
3 people committed Jan 15, 2024
1 parent 7d2946e commit 65e99e2
Show file tree
Hide file tree
Showing 15 changed files with 228 additions and 160 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
package com.worldpay.access.checkout.reactnative.ui

import android.view.Gravity
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.uimanager.SimpleViewManager
import com.facebook.react.uimanager.ThemedReactContext
import com.facebook.react.uimanager.ViewProps
import com.facebook.react.uimanager.annotations.ReactProp
import com.worldpay.access.checkout.ui.AccessCheckoutEditText


class AccessCheckoutTextInputManager(private val callerContext: ReactApplicationContext) :
SimpleViewManager<AccessCheckoutEditText>() {

Expand All @@ -16,7 +18,18 @@ class AccessCheckoutTextInputManager(private val callerContext: ReactApplication
const val REACT_CLASS = "AccessCheckoutTextInput"
}

override fun createViewInstance(context: ThemedReactContext) = AccessCheckoutEditText(context)
override fun createViewInstance(context: ThemedReactContext): AccessCheckoutEditText {
val accessCheckoutEditText = AccessCheckoutEditText(context)

// In order to replicate React Native behaviours in both ios and android we need reset
// the default paddings gravity and background added by Android
accessCheckoutEditText.background = null
accessCheckoutEditText.textSize = 14f
accessCheckoutEditText.setPadding(0,0,0,0);
accessCheckoutEditText.gravity = Gravity.CENTER;

return accessCheckoutEditText;
}

/**
* Properties
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
#import <React/RCTViewManager.h>

@interface RCT_EXTERN_MODULE(AccessCheckoutTextInputManager, RCTViewManager)
//Externalises properties
RCT_EXPORT_VIEW_PROPERTY(placeholder, NSString)

//Externalises properties using a remap in case of name changes
//RCT_REMAP_VIEW_PROPERTY(RN property name, ios property name, type)

RCT_REMAP_VIEW_PROPERTY(placeholder, placeholder, NSString)
RCT_REMAP_VIEW_PROPERTY(editable, isEnabled, BOOL)

RCT_REMAP_VIEW_PROPERTY(color, textColor, UIColor)
RCT_REMAP_VIEW_PROPERTY(font, font, UIFont)

@end
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
import AccessCheckoutSDK
import Foundation

import React

@objc(AccessCheckoutTextInputManager)
class AccessCheckoutTextInputManager: RCTViewManager {
override func view() -> UIView! {
return AccessCheckoutUITextField()
var field = AccessCheckoutUITextField()

// In order to replicate React Native behaviours in both ios and android we need reset
// the default padding, borders and radius added by AccessCheckoutUITextField
field.borderWidth = 0
field.cornerRadius = 0
field.horizontalPadding = 0

return field
}

override static func requiresMainQueueSetup() -> Bool {
Expand Down
1 change: 1 addition & 0 deletions access-checkout-react-native-sdk/ios/bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ workflows:
- cocoapods-install@2:
inputs:
- source_root_path: "$BITRISE_SOURCE_DIR/access-checkout-react-native-sdk/ios"
- command: update
- recreate-user-schemes@1:
inputs:
- project_path: "$BITRISE_SOURCE_DIR/access-checkout-react-native-sdk/ios/AccessCheckoutReactNative.xcodeproj"
Expand Down
78 changes: 64 additions & 14 deletions access-checkout-react-native-sdk/src/ui/AccessCheckoutTextInput.tsx
Original file line number Diff line number Diff line change
@@ -1,35 +1,85 @@
import React from 'react';
import {
requireNativeComponent,
StyleProp,
TextStyle,
type ViewProps,
type StyleProp,
StyleSheet,
View,
type ViewStyle,
} from 'react-native';
import type { ColorValue } from 'react-native/Libraries/StyleSheet/StyleSheet';

/**
* Composes `AccessCheckoutTextInput`.
*
* - nativeID: string
* - testID: string
* - style: StyleProp
* - editable: boolean
* - style: StyleProp<AccessCheckoutTextInputStyle>;
* - placeholder: string
* - editable: boolean
*/
interface AccessCheckoutTextInputProps extends ViewProps {
testID: string | undefined;
style?: StyleProp<TextStyle>;
editable?: boolean | undefined;
placeholder?: string | undefined;
isValid?: boolean;
keyboardType?: string;
interface AccessCheckoutTextInputProps {
nativeID: string;
testID?: string;
style?: StyleProp<AccessCheckoutTextInputStyle>;
placeholder?: string;
editable?: boolean;
}

/**
* Note: Not all properties apply styling to placeholder text and input text.
* textColor: only applies to input text.
* fontFamily: applies to both placeholder text and input text.
* fontSize:applies to both placeholder text and input text.
*/
interface AccessCheckoutTextInputStyle extends ViewStyle {
color?: ColorValue;
fontFamily?: string;
fontSize?: number;
}

/**
* Font Changes apply to placeholder text and input text
*/
interface RTCAccessCheckoutTextInputFontProps {
fontFamily?: string;
fontSize?: number;
}

interface RTCAccessCheckoutTextInputProps {
nativeID: string;
testID?: string;
style?: StyleProp<ViewStyle>;
placeholder?: string;
font?: RTCAccessCheckoutTextInputFontProps;
editable?: boolean;
color?: ColorValue;
}

const RTCAccessCheckoutTextInput =
requireNativeComponent<AccessCheckoutTextInputProps>(
requireNativeComponent<RTCAccessCheckoutTextInputProps>(
'AccessCheckoutTextInput'
);
const AccessCheckoutTextInput = (props: AccessCheckoutTextInputProps) => {
return <RTCAccessCheckoutTextInput {...props} />;
const { nativeID, testID, style, placeholder, editable } = props;
const { color, fontFamily, fontSize, ...otherStyles } = StyleSheet.flatten([
style,
]);
return (
<View style={[otherStyles]}>
<RTCAccessCheckoutTextInput
nativeID={nativeID}
testID={testID}
style={[{ flex: 1 }]}
placeholder={placeholder}
font={{
fontFamily,
fontSize,
}}
color={color}
editable={editable}
/>
</View>
);
};

export default AccessCheckoutTextInput;
2 changes: 2 additions & 0 deletions demo-app/bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,12 @@ workflows:
- cocoapods-install@2:
title: "Install pods for iOS Bridge SDK"
inputs:
- command: update
- source_root_path: $BITRISE_SOURCE_DIR/access-checkout-react-native-sdk/ios/
- cocoapods-install@2:
title: "Install pods for demo-app"
inputs:
- command: update
- source_root_path: $BITRISE_SOURCE_DIR/demo-app/ios/
- script@1.2:
title: "Build app for Detox"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,53 @@
objects = {

/* Begin PBXBuildFile section */
1125066BC7C4F89DE74B79F7 /* libPods-AccessCheckoutReactNativeDemo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F3DA2DC966B02E7297E972BF /* libPods-AccessCheckoutReactNativeDemo.a */; };
516A9FCE275920FE00E9B00E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 516A9FCD275920FE00E9B00E /* Assets.xcassets */; };
516A9FD1275920FE00E9B00E /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 516A9FCF275920FE00E9B00E /* LaunchScreen.storyboard */; };
516AA0282759265300E9B00E /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 516AA0252759265200E9B00E /* main.m */; };
516AA0292759265300E9B00E /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 516AA0272759265200E9B00E /* AppDelegate.mm */; };
D66603A8477B29AF913CE40D /* libPods-AccessCheckoutReactNativeDemo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B734630A55155D2C8C7F91B9 /* libPods-AccessCheckoutReactNativeDemo.a */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
0DBADFBDBF445BDD52415B1A /* Pods-AccessCheckoutReactNativeDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AccessCheckoutReactNativeDemo.debug.xcconfig"; path = "Target Support Files/Pods-AccessCheckoutReactNativeDemo/Pods-AccessCheckoutReactNativeDemo.debug.xcconfig"; sourceTree = "<group>"; };
44D41AAC3357D6A1E2F79ECF /* Pods-AccessCheckoutReactNativeDemo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AccessCheckoutReactNativeDemo.release.xcconfig"; path = "Target Support Files/Pods-AccessCheckoutReactNativeDemo/Pods-AccessCheckoutReactNativeDemo.release.xcconfig"; sourceTree = "<group>"; };
516A9FC1275920FA00E9B00E /* AccessCheckoutReactNativeDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AccessCheckoutReactNativeDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
516A9FCD275920FE00E9B00E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
516A9FD0275920FE00E9B00E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
516A9FD2275920FE00E9B00E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
516AA0252759265200E9B00E /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
516AA0262759265200E9B00E /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
516AA0272759265200E9B00E /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = AppDelegate.mm; sourceTree = "<group>"; };
B734630A55155D2C8C7F91B9 /* libPods-AccessCheckoutReactNativeDemo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AccessCheckoutReactNativeDemo.a"; sourceTree = BUILT_PRODUCTS_DIR; };
69373C7C8A20EE6154D2DDFF /* Pods-AccessCheckoutReactNativeDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AccessCheckoutReactNativeDemo.debug.xcconfig"; path = "Target Support Files/Pods-AccessCheckoutReactNativeDemo/Pods-AccessCheckoutReactNativeDemo.debug.xcconfig"; sourceTree = "<group>"; };
C2B87B202891C55E4DDAFBD3 /* Pods-AccessCheckoutReactNativeDemo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AccessCheckoutReactNativeDemo.release.xcconfig"; path = "Target Support Files/Pods-AccessCheckoutReactNativeDemo/Pods-AccessCheckoutReactNativeDemo.release.xcconfig"; sourceTree = "<group>"; };
F3DA2DC966B02E7297E972BF /* libPods-AccessCheckoutReactNativeDemo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AccessCheckoutReactNativeDemo.a"; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
516A9FBE275920FA00E9B00E /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
D66603A8477B29AF913CE40D /* libPods-AccessCheckoutReactNativeDemo.a in Frameworks */,
1125066BC7C4F89DE74B79F7 /* libPods-AccessCheckoutReactNativeDemo.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
0E8E23696739B08F26F678C6 /* Frameworks */ = {
isa = PBXGroup;
children = (
F3DA2DC966B02E7297E972BF /* libPods-AccessCheckoutReactNativeDemo.a */,
);
name = Frameworks;
sourceTree = "<group>";
};
516A9FB8275920FA00E9B00E = {
isa = PBXGroup;
children = (
516A9FC3275920FA00E9B00E /* AccessCheckoutReactNativeDemo */,
516A9FC2275920FA00E9B00E /* Products */,
6215D3A0838FFDCC830A4313 /* Pods */,
784604433CB062468D68A0B1 /* Frameworks */,
0E8E23696739B08F26F678C6 /* Frameworks */,
);
sourceTree = "<group>";
};
Expand Down Expand Up @@ -73,33 +81,25 @@
6215D3A0838FFDCC830A4313 /* Pods */ = {
isa = PBXGroup;
children = (
0DBADFBDBF445BDD52415B1A /* Pods-AccessCheckoutReactNativeDemo.debug.xcconfig */,
44D41AAC3357D6A1E2F79ECF /* Pods-AccessCheckoutReactNativeDemo.release.xcconfig */,
69373C7C8A20EE6154D2DDFF /* Pods-AccessCheckoutReactNativeDemo.debug.xcconfig */,
C2B87B202891C55E4DDAFBD3 /* Pods-AccessCheckoutReactNativeDemo.release.xcconfig */,
);
path = Pods;
sourceTree = "<group>";
};
784604433CB062468D68A0B1 /* Frameworks */ = {
isa = PBXGroup;
children = (
B734630A55155D2C8C7F91B9 /* libPods-AccessCheckoutReactNativeDemo.a */,
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
516A9FC0275920FA00E9B00E /* AccessCheckoutReactNativeDemo */ = {
isa = PBXNativeTarget;
buildConfigurationList = 516A9FEB275920FF00E9B00E /* Build configuration list for PBXNativeTarget "AccessCheckoutReactNativeDemo" */;
buildPhases = (
65813C36A2407303BC61C1E7 /* [CP] Check Pods Manifest.lock */,
1032E5F552FCDFAFC05F7C37 /* [CP] Check Pods Manifest.lock */,
516A9FBD275920FA00E9B00E /* Sources */,
516A9FBE275920FA00E9B00E /* Frameworks */,
516A9FBF275920FA00E9B00E /* Resources */,
ECE030C980C52F713F26662D /* [CP] Embed Pods Frameworks */,
F32FFFAAD2B26C3470785201 /* [CP] Copy Pods Resources */,
85B5C22FF1668F3DA9D4EAA5 /* [CP] Embed Pods Frameworks */,
4D4FF15648D592B4977F643F /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -155,7 +155,7 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
65813C36A2407303BC61C1E7 /* [CP] Check Pods Manifest.lock */ = {
1032E5F552FCDFAFC05F7C37 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
Expand All @@ -177,38 +177,38 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
ECE030C980C52F713F26662D /* [CP] Embed Pods Frameworks */ = {
4D4FF15648D592B4977F643F /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-AccessCheckoutReactNativeDemo/Pods-AccessCheckoutReactNativeDemo-frameworks-${CONFIGURATION}-input-files.xcfilelist",
"${PODS_ROOT}/Target Support Files/Pods-AccessCheckoutReactNativeDemo/Pods-AccessCheckoutReactNativeDemo-resources-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-AccessCheckoutReactNativeDemo/Pods-AccessCheckoutReactNativeDemo-frameworks-${CONFIGURATION}-output-files.xcfilelist",
"${PODS_ROOT}/Target Support Files/Pods-AccessCheckoutReactNativeDemo/Pods-AccessCheckoutReactNativeDemo-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AccessCheckoutReactNativeDemo/Pods-AccessCheckoutReactNativeDemo-frameworks.sh\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AccessCheckoutReactNativeDemo/Pods-AccessCheckoutReactNativeDemo-resources.sh\"\n";
showEnvVarsInLog = 0;
};
F32FFFAAD2B26C3470785201 /* [CP] Copy Pods Resources */ = {
85B5C22FF1668F3DA9D4EAA5 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-AccessCheckoutReactNativeDemo/Pods-AccessCheckoutReactNativeDemo-resources-${CONFIGURATION}-input-files.xcfilelist",
"${PODS_ROOT}/Target Support Files/Pods-AccessCheckoutReactNativeDemo/Pods-AccessCheckoutReactNativeDemo-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-AccessCheckoutReactNativeDemo/Pods-AccessCheckoutReactNativeDemo-resources-${CONFIGURATION}-output-files.xcfilelist",
"${PODS_ROOT}/Target Support Files/Pods-AccessCheckoutReactNativeDemo/Pods-AccessCheckoutReactNativeDemo-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AccessCheckoutReactNativeDemo/Pods-AccessCheckoutReactNativeDemo-resources.sh\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AccessCheckoutReactNativeDemo/Pods-AccessCheckoutReactNativeDemo-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
Expand Down Expand Up @@ -378,7 +378,7 @@
};
516A9FEC275920FF00E9B00E /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 0DBADFBDBF445BDD52415B1A /* Pods-AccessCheckoutReactNativeDemo.debug.xcconfig */;
baseConfigurationReference = 69373C7C8A20EE6154D2DDFF /* Pods-AccessCheckoutReactNativeDemo.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
Expand All @@ -398,7 +398,7 @@
};
516A9FED275920FF00E9B00E /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 44D41AAC3357D6A1E2F79ECF /* Pods-AccessCheckoutReactNativeDemo.release.xcconfig */;
baseConfigurationReference = C2B87B202891C55E4DDAFBD3 /* Pods-AccessCheckoutReactNativeDemo.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
Expand Down
1 change: 0 additions & 1 deletion demo-app/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ target 'AccessCheckoutReactNativeDemo' do
# Remove once version 3.0.0 of the AccessCheckoutSDK has been released to Cocoapods
pod 'AccessCheckoutSDK', :git => 'git@github.com:Worldpay/access-checkout-ios.git', :tag => 'v3.0.0'


end

post_install do |installer|
Expand Down
2 changes: 1 addition & 1 deletion demo-app/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,6 @@ SPEC CHECKSUMS:
ReactCommon: dce64235f8548b6e4758647310145f5356c8d0cb
Yoga: 56413d530d1808044600320ced5baa883acedc44

PODFILE CHECKSUM: 408b947d698c5c185eaffb553e600969f934485a
PODFILE CHECKSUM: 90afca6b86cd3ad6ff88aeef745a144f74227963

COCOAPODS: 1.14.3
Loading

0 comments on commit 65e99e2

Please sign in to comment.