Skip to content

Commit

Permalink
Release v2.3.0 (#160)
Browse files Browse the repository at this point in the history
* Podspec updated

* Changelog updated

* Build Artifacts updated

* Example project updated
  • Loading branch information
iamsimranjot authored Feb 26, 2020
1 parent c771882 commit 0ea51f4
Show file tree
Hide file tree
Showing 98 changed files with 138 additions and 4,977 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [2.3.0] - (26/02/20) - D iOS

### Features

### Enhancements
- Deprecated MHGallery
- Deprecated Masonry
- Fonts made optional to configure

### Bugs
- Corrected custom data syncing

---

## [2.2.3] - (17/02/20) - D iOS

### Features
Expand All @@ -22,6 +36,7 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
- Added MQTT Safe checks

### Bugs

---

## [2.2.1] - (05/02/20) - C iOS
Expand All @@ -34,6 +49,7 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html

### Bugs
- Device Token not parsed correctly is fixed

---

## [2.2.0] - (13/01/20) - A iOS
Expand Down
Binary file removed Examples/Shared/Fonts/SF-UI-Text-Bold.otf
Binary file not shown.
Binary file removed Examples/Shared/Fonts/SF-UI-Text-Light.otf
Binary file not shown.
Binary file removed Examples/Shared/Fonts/SF-UI-Text-LightItalic.otf
Binary file not shown.
Binary file removed Examples/Shared/Fonts/SF-UI-Text-Medium.otf
Binary file not shown.
Binary file removed Examples/Shared/Fonts/SF-UI-Text-MediumItalic.otf
Binary file not shown.
Binary file removed Examples/Shared/Fonts/SF-UI-Text-Regular.otf
Binary file not shown.
Binary file removed Examples/Shared/Fonts/SF-UI-Text-RegularItalic.otf
Binary file not shown.
Binary file removed Examples/Shared/Fonts/SF-UI-Text-Semibold.otf
Binary file not shown.
Binary file removed Examples/Shared/Fonts/SF-UI-Text-SemiboldItalic.otf
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,6 @@
7019E74D2347205F008EA97A /* PINOperation.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 7019E7442347204C008EA97A /* PINOperation.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
7019E74E23472060008EA97A /* PINRemoteImage.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7019E7452347204C008EA97A /* PINRemoteImage.framework */; };
7019E74F23472060008EA97A /* PINRemoteImage.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 7019E7452347204C008EA97A /* PINRemoteImage.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
7019E77323472378008EA97A /* SF-UI-Text-SemiboldItalic.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7019E76A23472378008EA97A /* SF-UI-Text-SemiboldItalic.otf */; };
7019E77423472378008EA97A /* SF-UI-Text-RegularItalic.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7019E76B23472378008EA97A /* SF-UI-Text-RegularItalic.otf */; };
7019E77523472378008EA97A /* SF-UI-Text-Bold.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7019E76C23472378008EA97A /* SF-UI-Text-Bold.otf */; };
7019E77623472378008EA97A /* SF-UI-Text-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7019E76D23472378008EA97A /* SF-UI-Text-Regular.otf */; };
7019E77723472378008EA97A /* SF-UI-Text-Light.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7019E76E23472378008EA97A /* SF-UI-Text-Light.otf */; };
7019E77823472378008EA97A /* SF-UI-Text-MediumItalic.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7019E76F23472378008EA97A /* SF-UI-Text-MediumItalic.otf */; };
7019E77923472378008EA97A /* SF-UI-Text-LightItalic.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7019E77023472378008EA97A /* SF-UI-Text-LightItalic.otf */; };
7019E77A23472378008EA97A /* SF-UI-Text-Medium.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7019E77123472378008EA97A /* SF-UI-Text-Medium.otf */; };
7019E77B23472378008EA97A /* SF-UI-Text-Semibold.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7019E77223472378008EA97A /* SF-UI-Text-Semibold.otf */; };
7019E78123472975008EA97A /* HelperExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7019E78023472975008EA97A /* HelperExtensions.swift */; };
7019E78223472D97008EA97A /* HaptikBase.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7019E74023471F5A008EA97A /* HaptikBase.framework */; };
7019E78323472D97008EA97A /* HaptikBase.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 7019E74023471F5A008EA97A /* HaptikBase.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
Expand Down Expand Up @@ -67,15 +58,6 @@
7019E7442347204C008EA97A /* PINOperation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PINOperation.framework; sourceTree = "<group>"; };
7019E7452347204C008EA97A /* PINRemoteImage.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PINRemoteImage.framework; sourceTree = "<group>"; };
7019E7462347204D008EA97A /* PINCache.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PINCache.framework; sourceTree = "<group>"; };
7019E76A23472378008EA97A /* SF-UI-Text-SemiboldItalic.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-SemiboldItalic.otf"; sourceTree = "<group>"; };
7019E76B23472378008EA97A /* SF-UI-Text-RegularItalic.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-RegularItalic.otf"; sourceTree = "<group>"; };
7019E76C23472378008EA97A /* SF-UI-Text-Bold.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-Bold.otf"; sourceTree = "<group>"; };
7019E76D23472378008EA97A /* SF-UI-Text-Regular.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-Regular.otf"; sourceTree = "<group>"; };
7019E76E23472378008EA97A /* SF-UI-Text-Light.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-Light.otf"; sourceTree = "<group>"; };
7019E76F23472378008EA97A /* SF-UI-Text-MediumItalic.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-MediumItalic.otf"; sourceTree = "<group>"; };
7019E77023472378008EA97A /* SF-UI-Text-LightItalic.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-LightItalic.otf"; sourceTree = "<group>"; };
7019E77123472378008EA97A /* SF-UI-Text-Medium.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-Medium.otf"; sourceTree = "<group>"; };
7019E77223472378008EA97A /* SF-UI-Text-Semibold.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-Semibold.otf"; sourceTree = "<group>"; };
7019E78023472975008EA97A /* HelperExtensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HelperExtensions.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

Expand Down Expand Up @@ -138,7 +120,6 @@
7019E72D23471D4A008EA97A /* Resources */ = {
isa = PBXGroup;
children = (
7019E76923472378008EA97A /* Fonts */,
7019E72123471BD1008EA97A /* Assets.xcassets */,
);
path = Resources;
Expand Down Expand Up @@ -180,23 +161,6 @@
path = Dependencies;
sourceTree = "<group>";
};
7019E76923472378008EA97A /* Fonts */ = {
isa = PBXGroup;
children = (
7019E76A23472378008EA97A /* SF-UI-Text-SemiboldItalic.otf */,
7019E76B23472378008EA97A /* SF-UI-Text-RegularItalic.otf */,
7019E76C23472378008EA97A /* SF-UI-Text-Bold.otf */,
7019E76D23472378008EA97A /* SF-UI-Text-Regular.otf */,
7019E76E23472378008EA97A /* SF-UI-Text-Light.otf */,
7019E76F23472378008EA97A /* SF-UI-Text-MediumItalic.otf */,
7019E77023472378008EA97A /* SF-UI-Text-LightItalic.otf */,
7019E77123472378008EA97A /* SF-UI-Text-Medium.otf */,
7019E77223472378008EA97A /* SF-UI-Text-Semibold.otf */,
);
name = Fonts;
path = ../../../Shared/Fonts;
sourceTree = "<group>";
};
7019E77F23472975008EA97A /* Extensions */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -265,18 +229,9 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
7019E77B23472378008EA97A /* SF-UI-Text-Semibold.otf in Resources */,
7019E77523472378008EA97A /* SF-UI-Text-Bold.otf in Resources */,
7019E77323472378008EA97A /* SF-UI-Text-SemiboldItalic.otf in Resources */,
7019E77923472378008EA97A /* SF-UI-Text-LightItalic.otf in Resources */,
7019E72523471BD1008EA97A /* LaunchScreen.storyboard in Resources */,
7019E77423472378008EA97A /* SF-UI-Text-RegularItalic.otf in Resources */,
7019E77823472378008EA97A /* SF-UI-Text-MediumItalic.otf in Resources */,
7019E72223471BD1008EA97A /* Assets.xcassets in Resources */,
7019E77623472378008EA97A /* SF-UI-Text-Regular.otf in Resources */,
7019E77723472378008EA97A /* SF-UI-Text-Light.otf in Resources */,
7019E72023471BD0008EA97A /* Main.storyboard in Resources */,
7019E77A23472378008EA97A /* SF-UI-Text-Medium.otf in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import UserNotifications;

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

var window: UIWindow?

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

// Required at the Initial Launch of the Application
Expand Down Expand Up @@ -66,14 +66,14 @@ extension AppDelegate {
func userNotificationCenter(_ center: UNUserNotificationCenter,
didReceive response: UNNotificationResponse,
withCompletionHandler completionHandler: @escaping () -> Void) {

// Check if the notification received belongs to haptik and take action accordingly

let userInfo = response.notification.request.content.userInfo as! [String : Any]
let isHaptikNotification = Haptik.sharedSDK().canHandleNotification(userInfo: userInfo)

if isHaptikNotification {

print("Do Housekeeping")
handleNotificationInteraction(userInfo)
}
Expand Down Expand Up @@ -111,14 +111,11 @@ extension AppDelegate {
builder?.businessChatText = UIColor(hexString: "#333333")
builder?.messageTimeStamp = UIColor(hexString: "#777777")

// Providing Fonts are Madatory else the SDK will Assert

builder?.lightFont = "SFUIText-Light"
builder?.regularFont = "SFUIText-Regular"
builder?.mediumFont = "SFUIText-Medium"
builder?.boldFont = "SFUIText-Bold"
builder?.semiBoldFont = "SFUIText-Semibold"
builder?.italicFont = "SFUIText-Italic"
builder?.lightFont = "HelveticaNeue-Light"
builder?.regularFont = "HelveticaNeue"
builder?.mediumFont = "HelveticaNeue-Medium"
builder?.boldFont = "HelveticaNeue-Bold"
builder?.italicFont = "HelveticaNeue-Italic"
}
}
}
Expand All @@ -129,8 +126,7 @@ extension AppDelegate {
extension AppDelegate: HPAnalyticsServiceDelegate {

func eventTracked(_ eventName: String, forParams params: [AnyHashable : Any]?) {

// Get all the events tracked here
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,6 @@
<string>To enable usage and saving of photos</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>To enable usage and saving of photos</string>
<key>UIAppFonts</key>
<array>
<string>SF-UI-Text-Bold.otf</string>
<string>SF-UI-Text-Light.otf</string>
<string>SF-UI-Text-LightItalic.otf</string>
<string>SF-UI-Text-Medium.otf</string>
<string>SF-UI-Text-MediumItalic.otf</string>
<string>SF-UI-Text-Regular.otf</string>
<string>SF-UI-Text-RegularItalic.otf</string>
<string>SF-UI-Text-Semibold.otf</string>
<string>SF-UI-Text-SemiboldItalic.otf</string>
</array>
<key>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
Expand Down
10 changes: 5 additions & 5 deletions Examples/Swift-Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
PODS:
- FLAnimatedImage (1.0.12)
- HaptikLib (2.2.3):
- HaptikLib/Core (= 2.2.3)
- HaptikLib/Base (2.2.3):
- HaptikLib (2.3.0):
- HaptikLib/Core (= 2.3.0)
- HaptikLib/Base (2.3.0):
- PINRemoteImage (= 3.0.0-beta.13)
- PINRemoteImage/WebP (= 3.0.0-beta.13)
- HaptikLib/Core (2.2.3):
- HaptikLib/Core (2.3.0):
- HaptikLib/Base
- libwebp (1.0.0):
- libwebp/core (= 1.0.0)
Expand Down Expand Up @@ -71,7 +71,7 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
FLAnimatedImage: 4a0b56255d9b05f18b6dd7ee06871be5d3b89e31
HaptikLib: debbc426b95b6c8ed7430f41e7e7d11ce9b034da
HaptikLib: 366e40160a40a10e5a876e6b02036643980b0cae
libwebp: d7e0c95fe97245c97e08101eba10702ebb0f6101
PINCache: d195fdba255283f7e9900a55e3cced377f431f9b
PINOperation: a6219e6fc9db9c269eb7a7b871ac193bcf400aac
Expand Down
45 changes: 0 additions & 45 deletions Examples/Swift-Example/Swift-Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@

/* Begin PBXBuildFile section */
36AD21DB3733FBB10062D87F /* Pods_Swift_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C2E42887D871BEC4EBCAFFC4 /* Pods_Swift_Example.framework */; };
7019E75A23472313008EA97A /* SF-UI-Text-SemiboldItalic.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7019E75123472312008EA97A /* SF-UI-Text-SemiboldItalic.otf */; };
7019E75B23472313008EA97A /* SF-UI-Text-RegularItalic.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7019E75223472312008EA97A /* SF-UI-Text-RegularItalic.otf */; };
7019E75C23472313008EA97A /* SF-UI-Text-Bold.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7019E75323472312008EA97A /* SF-UI-Text-Bold.otf */; };
7019E75D23472313008EA97A /* SF-UI-Text-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7019E75423472312008EA97A /* SF-UI-Text-Regular.otf */; };
7019E75E23472313008EA97A /* SF-UI-Text-Light.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7019E75523472312008EA97A /* SF-UI-Text-Light.otf */; };
7019E75F23472313008EA97A /* SF-UI-Text-MediumItalic.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7019E75623472312008EA97A /* SF-UI-Text-MediumItalic.otf */; };
7019E76023472313008EA97A /* SF-UI-Text-LightItalic.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7019E75723472312008EA97A /* SF-UI-Text-LightItalic.otf */; };
7019E76123472313008EA97A /* SF-UI-Text-Medium.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7019E75823472313008EA97A /* SF-UI-Text-Medium.otf */; };
7019E76223472313008EA97A /* SF-UI-Text-Semibold.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7019E75923472313008EA97A /* SF-UI-Text-Semibold.otf */; };
7019E77E2347296C008EA97A /* HelperExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7019E77D2347296B008EA97A /* HelperExtensions.swift */; };
701A85A521C0B656004C49DD /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 701A85A421C0B656004C49DD /* AppDelegate.swift */; };
701A85A721C0B656004C49DD /* RootViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 701A85A621C0B656004C49DD /* RootViewController.swift */; };
Expand All @@ -27,15 +18,6 @@

/* Begin PBXFileReference section */
09CD2E240BB46EC049F48C5D /* Pods-Swift-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Swift-Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-Swift-Example/Pods-Swift-Example.release.xcconfig"; sourceTree = "<group>"; };
7019E75123472312008EA97A /* SF-UI-Text-SemiboldItalic.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-SemiboldItalic.otf"; sourceTree = "<group>"; };
7019E75223472312008EA97A /* SF-UI-Text-RegularItalic.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-RegularItalic.otf"; sourceTree = "<group>"; };
7019E75323472312008EA97A /* SF-UI-Text-Bold.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-Bold.otf"; sourceTree = "<group>"; };
7019E75423472312008EA97A /* SF-UI-Text-Regular.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-Regular.otf"; sourceTree = "<group>"; };
7019E75523472312008EA97A /* SF-UI-Text-Light.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-Light.otf"; sourceTree = "<group>"; };
7019E75623472312008EA97A /* SF-UI-Text-MediumItalic.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-MediumItalic.otf"; sourceTree = "<group>"; };
7019E75723472312008EA97A /* SF-UI-Text-LightItalic.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-LightItalic.otf"; sourceTree = "<group>"; };
7019E75823472313008EA97A /* SF-UI-Text-Medium.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-Medium.otf"; sourceTree = "<group>"; };
7019E75923472313008EA97A /* SF-UI-Text-Semibold.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-Semibold.otf"; sourceTree = "<group>"; };
7019E77D2347296B008EA97A /* HelperExtensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HelperExtensions.swift; sourceTree = "<group>"; };
701A85A121C0B656004C49DD /* Swift-Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Swift-Example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
701A85A421C0B656004C49DD /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -77,23 +59,6 @@
name = Pods;
sourceTree = "<group>";
};
7019E75023472312008EA97A /* Fonts */ = {
isa = PBXGroup;
children = (
7019E75123472312008EA97A /* SF-UI-Text-SemiboldItalic.otf */,
7019E75223472312008EA97A /* SF-UI-Text-RegularItalic.otf */,
7019E75323472312008EA97A /* SF-UI-Text-Bold.otf */,
7019E75423472312008EA97A /* SF-UI-Text-Regular.otf */,
7019E75523472312008EA97A /* SF-UI-Text-Light.otf */,
7019E75623472312008EA97A /* SF-UI-Text-MediumItalic.otf */,
7019E75723472312008EA97A /* SF-UI-Text-LightItalic.otf */,
7019E75823472313008EA97A /* SF-UI-Text-Medium.otf */,
7019E75923472313008EA97A /* SF-UI-Text-Semibold.otf */,
);
name = Fonts;
path = ../../../Shared/Fonts;
sourceTree = "<group>";
};
7019E77C2347296B008EA97A /* Extensions */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -145,7 +110,6 @@
701A85B921C0BCBE004C49DD /* Resources */ = {
isa = PBXGroup;
children = (
7019E75023472312008EA97A /* Fonts */,
701A85AB21C0B658004C49DD /* Assets.xcassets */,
);
path = Resources;
Expand Down Expand Up @@ -236,18 +200,9 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
7019E76223472313008EA97A /* SF-UI-Text-Semibold.otf in Resources */,
7019E75C23472313008EA97A /* SF-UI-Text-Bold.otf in Resources */,
7019E75A23472313008EA97A /* SF-UI-Text-SemiboldItalic.otf in Resources */,
7019E76023472313008EA97A /* SF-UI-Text-LightItalic.otf in Resources */,
701A85AC21C0B658004C49DD /* Assets.xcassets in Resources */,
7019E75B23472313008EA97A /* SF-UI-Text-RegularItalic.otf in Resources */,
7019E75F23472313008EA97A /* SF-UI-Text-MediumItalic.otf in Resources */,
701A85D421C0C570004C49DD /* LaunchScreen.storyboard in Resources */,
7019E75D23472313008EA97A /* SF-UI-Text-Regular.otf in Resources */,
7019E75E23472313008EA97A /* SF-UI-Text-Light.otf in Resources */,
701A85AA21C0B656004C49DD /* Main.storyboard in Resources */,
7019E76123472313008EA97A /* SF-UI-Text-Medium.otf in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
13 changes: 5 additions & 8 deletions Examples/Swift-Example/Swift-Example/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,11 @@ extension AppDelegate {
builder?.businessChatText = UIColor(hexString: "#333333")
builder?.messageTimeStamp = UIColor(hexString: "#777777")

// Providing Fonts are Madatory else the SDK will Assert

builder?.lightFont = "SFUIText-Light"
builder?.regularFont = "SFUIText-Regular"
builder?.mediumFont = "SFUIText-Medium"
builder?.boldFont = "SFUIText-Bold"
builder?.semiBoldFont = "SFUIText-Semibold"
builder?.italicFont = "SFUIText-Italic"
builder?.lightFont = "HelveticaNeue-Light"
builder?.regularFont = "HelveticaNeue"
builder?.mediumFont = "HelveticaNeue-Medium"
builder?.boldFont = "HelveticaNeue-Bold"
builder?.italicFont = "HelveticaNeue-Italic"
}
}
}
Expand Down
12 changes: 0 additions & 12 deletions Examples/Swift-Example/Swift-Example/Supporting Files/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,6 @@
<string>To enable usage and saving of photos</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>To enable usage and saving of photos</string>
<key>UIAppFonts</key>
<array>
<string>SF-UI-Text-Bold.otf</string>
<string>SF-UI-Text-Light.otf</string>
<string>SF-UI-Text-LightItalic.otf</string>
<string>SF-UI-Text-Medium.otf</string>
<string>SF-UI-Text-MediumItalic.otf</string>
<string>SF-UI-Text-Regular.otf</string>
<string>SF-UI-Text-RegularItalic.otf</string>
<string>SF-UI-Text-Semibold.otf</string>
<string>SF-UI-Text-SemiboldItalic.otf</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
Expand Down
Loading

0 comments on commit 0ea51f4

Please sign in to comment.