Skip to content

Commit

Permalink
Update Link iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
afh committed Mar 9, 2017
1 parent cd7cab8 commit b3ad7ab
Show file tree
Hide file tree
Showing 154 changed files with 1,102 additions and 168 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ node_modules
!default.xcworkspace
*.xcuserdata
xcuserdata
**/.DS_Store


## requirejs ##
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
910CAE181E3BC35C0089B9CC /* LinkBeta-ObjC.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "LinkBeta-ObjC.app"; sourceTree = BUILT_PRODUCTS_DIR; };
910CAE181E3BC35C0089B9CC /* LinkDemo-ObjC.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "LinkDemo-ObjC.app"; sourceTree = BUILT_PRODUCTS_DIR; };
910CAE1C1E3BC35C0089B9CC /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
910CAE1E1E3BC35C0089B9CC /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
910CAE1F1E3BC35C0089B9CC /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -61,20 +61,20 @@
isa = PBXGroup;
children = (
910CAE331E3BC5000089B9CC /* LinkKit.framework */,
910CAE1A1E3BC35C0089B9CC /* LinkBeta-ObjC */,
910CAE1A1E3BC35C0089B9CC /* LinkDemo-ObjC */,
910CAE191E3BC35C0089B9CC /* Products */,
);
sourceTree = "<group>";
};
910CAE191E3BC35C0089B9CC /* Products */ = {
isa = PBXGroup;
children = (
910CAE181E3BC35C0089B9CC /* LinkBeta-ObjC.app */,
910CAE181E3BC35C0089B9CC /* LinkDemo-ObjC.app */,
);
name = Products;
sourceTree = "<group>";
};
910CAE1A1E3BC35C0089B9CC /* LinkBeta-ObjC */ = {
910CAE1A1E3BC35C0089B9CC /* LinkDemo-ObjC */ = {
isa = PBXGroup;
children = (
910CAE1E1E3BC35C0089B9CC /* AppDelegate.h */,
Expand All @@ -87,7 +87,7 @@
910CAE2C1E3BC35C0089B9CC /* Info.plist */,
910CAE1B1E3BC35C0089B9CC /* Supporting Files */,
);
path = "LinkBeta-ObjC";
path = "LinkDemo-ObjC";
sourceTree = "<group>";
};
910CAE1B1E3BC35C0089B9CC /* Supporting Files */ = {
Expand All @@ -101,9 +101,9 @@
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
910CAE171E3BC35C0089B9CC /* LinkBeta-ObjC */ = {
910CAE171E3BC35C0089B9CC /* LinkDemo-ObjC */ = {
isa = PBXNativeTarget;
buildConfigurationList = 910CAE2F1E3BC35C0089B9CC /* Build configuration list for PBXNativeTarget "LinkBeta-ObjC" */;
buildConfigurationList = 910CAE2F1E3BC35C0089B9CC /* Build configuration list for PBXNativeTarget "LinkDemo-ObjC" */;
buildPhases = (
910CAE141E3BC35C0089B9CC /* Sources */,
910CAE151E3BC35C0089B9CC /* Frameworks */,
Expand All @@ -115,9 +115,9 @@
);
dependencies = (
);
name = "LinkBeta-ObjC";
productName = "LinkBeta-ObjC";
productReference = 910CAE181E3BC35C0089B9CC /* LinkBeta-ObjC.app */;
name = "LinkDemo-ObjC";
productName = "LinkDemo-ObjC";
productReference = 910CAE181E3BC35C0089B9CC /* LinkDemo-ObjC.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
Expand All @@ -131,12 +131,11 @@
TargetAttributes = {
910CAE171E3BC35C0089B9CC = {
CreatedOnToolsVersion = 8.2.1;
DevelopmentTeam = Z2P2MSMY87;
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = 910CAE131E3BC35C0089B9CC /* Build configuration list for PBXProject "LinkBeta-ObjC" */;
buildConfigurationList = 910CAE131E3BC35C0089B9CC /* Build configuration list for PBXProject "LinkDemo-ObjC" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
Expand All @@ -149,7 +148,7 @@
projectDirPath = "";
projectRoot = "";
targets = (
910CAE171E3BC35C0089B9CC /* LinkBeta-ObjC */,
910CAE171E3BC35C0089B9CC /* LinkDemo-ObjC */,
);
};
/* End PBXProject section */
Expand Down Expand Up @@ -239,7 +238,7 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_IDENTITY = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
Expand All @@ -258,7 +257,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -287,7 +286,7 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_IDENTITY = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
Expand All @@ -300,7 +299,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -312,15 +311,14 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = Z2P2MSMY87;
DEVELOPMENT_TEAM = "";
FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/../";
INFOPLIST_FILE = "LinkBeta-ObjC/Info.plist";
INFOPLIST_FILE = "LinkDemo-ObjC/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LINK_ENV = Development;
LINK_KEY = YOUR_PLAID_PUBLIC_KEY;
PRODUCT_BUNDLE_IDENTIFIER = "com.plaid.LinkBeta-ObjC";
PRODUCT_BUNDLE_IDENTIFIER = com.plaid.linkdemo.objc;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
Expand All @@ -329,23 +327,22 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = Z2P2MSMY87;
DEVELOPMENT_TEAM = "";
FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/../";
INFOPLIST_FILE = "LinkBeta-ObjC/Info.plist";
INFOPLIST_FILE = "LinkDemo-ObjC/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LINK_ENV = Testing;
LINK_KEY = YOUR_PLAID_PUBLIC_KEY;
PRODUCT_BUNDLE_IDENTIFIER = "com.plaid.LinkBeta-ObjC";
PRODUCT_BUNDLE_IDENTIFIER = com.plaid.linkdemo.objc;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
910CAE131E3BC35C0089B9CC /* Build configuration list for PBXProject "LinkBeta-ObjC" */ = {
910CAE131E3BC35C0089B9CC /* Build configuration list for PBXProject "LinkDemo-ObjC" */ = {
isa = XCConfigurationList;
buildConfigurations = (
910CAE2D1E3BC35C0089B9CC /* Debug */,
Expand All @@ -354,7 +351,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
910CAE2F1E3BC35C0089B9CC /* Build configuration list for PBXNativeTarget "LinkBeta-ObjC" */ = {
910CAE2F1E3BC35C0089B9CC /* Build configuration list for PBXNativeTarget "LinkDemo-ObjC" */ = {
isa = XCConfigurationList;
buildConfigurations = (
910CAE301E3BC35C0089B9CC /* Debug */,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "910CAE171E3BC35C0089B9CC"
BuildableName = "LinkBeta-ObjC.app"
BlueprintName = "LinkBeta-ObjC"
ReferencedContainer = "container:LinkBeta-ObjC.xcodeproj">
BuildableName = "LinkDemo-ObjC.app"
BlueprintName = "LinkDemo-ObjC"
ReferencedContainer = "container:LinkDemo-ObjC.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand All @@ -33,9 +33,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "910CAE171E3BC35C0089B9CC"
BuildableName = "LinkBeta-ObjC.app"
BlueprintName = "LinkBeta-ObjC"
ReferencedContainer = "container:LinkBeta-ObjC.xcodeproj">
BuildableName = "LinkDemo-ObjC.app"
BlueprintName = "LinkDemo-ObjC"
ReferencedContainer = "container:LinkDemo-ObjC.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
Expand All @@ -56,9 +56,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "910CAE171E3BC35C0089B9CC"
BuildableName = "LinkBeta-ObjC.app"
BlueprintName = "LinkBeta-ObjC"
ReferencedContainer = "container:LinkBeta-ObjC.xcodeproj">
BuildableName = "LinkDemo-ObjC.app"
BlueprintName = "LinkDemo-ObjC"
ReferencedContainer = "container:LinkDemo-ObjC.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<EnvironmentVariables>
Expand Down Expand Up @@ -87,9 +87,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "910CAE171E3BC35C0089B9CC"
BuildableName = "LinkBeta-ObjC.app"
BlueprintName = "LinkBeta-ObjC"
ReferencedContainer = "container:LinkBeta-ObjC.xcodeproj">
BuildableName = "LinkDemo-ObjC.app"
BlueprintName = "LinkDemo-ObjC"
ReferencedContainer = "container:LinkDemo-ObjC.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// AppDelegate.h
// LinkBeta-ObjC
// LinkDemo-ObjC
//
// Copyright © 2017 Plaid Technologies, Inc. All rights reserved.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// AppDelegate.m
// LinkBeta-ObjC
// LinkDemo-ObjC
//
// Copyright © 2017 Plaid Technologies, Inc. All rights reserved.
//
Expand Down Expand Up @@ -28,7 +28,7 @@ - (void)setupPlaidLinkWithSharedConfiguration {
if (success) {
// Handle success here, e.g. by posting a notification
NSLog(@"Plaid Link setup was successful");
[[NSNotificationCenter defaultCenter] postNotificationName:@"PLBPlaidLinkSetupFinished" object:self];
[[NSNotificationCenter defaultCenter] postNotificationName:@"PLDPlaidLinkSetupFinished" object:self];
}
else {
NSLog(@"Unable to setup Plaid Link due to: %@", [error localizedDescription]);
Expand All @@ -48,12 +48,12 @@ - (void)setupPlaidLinkWithCustomConfiguration {
linkConfiguration = [[PLKConfiguration alloc] initWithKey:@"<#YOUR_PLAID_PUBLIC_KEY#>"
env:PLKEnvironmentDevelopment
product:PLKProductAuth];
linkConfiguration.clientName = @"Link Beta";
linkConfiguration.clientName = @"Link Demo";
[PLKPlaidLink setupWithConfiguration:linkConfiguration completion:^(BOOL success, NSError * _Nullable error) {
if (success) {
// Handle success here, e.g. by posting a notification
NSLog(@"Plaid Link setup was successful");
[[NSNotificationCenter defaultCenter] postNotificationName:@"PLBPlaidLinkSetupFinished" object:self];
[[NSNotificationCenter defaultCenter] postNotificationName:@"PLDPlaidLinkSetupFinished" object:self];
}
else {
NSLog(@"Unable to setup Plaid Link due to: %@", [error localizedDescription]);
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1217" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1217" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="NO" initialViewController="01J-lp-oVM">
<dependencies>
<deployment identifier="iOS"/>
<development version="7000" identifier="xcode"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
Expand All @@ -18,14 +15,14 @@
<viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Background" translatesAutoresizingMaskIntoConstraints="NO" id="mas-ma-eMV">
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" image="Background" translatesAutoresizingMaskIntoConstraints="NO" id="mas-ma-eMV">
<rect key="frame" x="300" y="0.0" width="375" height="667"/>
</imageView>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstItem="mas-ma-eMV" firstAttribute="height" secondItem="Ze5-6b-2t3" secondAttribute="height" id="EHf-1E-Xw8"/>
<constraint firstItem="mas-ma-eMV" firstAttribute="width" secondItem="Ze5-6b-2t3" secondAttribute="width" id="RYh-xF-tQj"/>
Expand Down
Loading

0 comments on commit b3ad7ab

Please sign in to comment.