-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Rich Push notification support for requesting store reviews - Notification suppor integrated with BVLocation module (store geofence support) - Fix some max limit bugs in Conversations Display requests for Reviews and Bulk Ratings - Bump SDK version to 5.0
- Loading branch information
Tim Kelly
committed
Oct 28, 2016
1 parent
e59efa5
commit 4f8d9a3
Showing
184 changed files
with
7,806 additions
and
777 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
|
||
Pod::Spec.new do |s| | ||
s.name = "BVSDK" | ||
s.version = '4.3.0' | ||
s.version = '5.0.0' | ||
s.homepage = 'https://developer.bazaarvoice.com' | ||
s.license = { :type => 'Commercial', :text => 'See https://developer.bazaarvoice.com/API_Terms_of_Use' } | ||
s.author = { 'Bazaarvoice' => '[email protected]' } | ||
|
@@ -27,6 +27,8 @@ Pod::Spec.new do |s| | |
|
||
s.subspec 'Core' do |core| | ||
core.source_files = 'Pod/BVCommon/**/*.{h,m}', 'Pod/BVConversations/**/*.{h,m}', 'Pod/BVAnalytics/**/*.{h,m}' | ||
core.resources = ['Pod/BVCommon/Notifications/mapThumbnail.png'] | ||
|
||
end | ||
|
||
s.subspec 'BVConversations' do |conversations| | ||
|
@@ -54,4 +56,10 @@ Pod::Spec.new do |s| | |
location.library = 'z' | ||
location.dependency 'BVSDK/Core' | ||
end | ||
|
||
s.subspec 'BVNotifications' do |notifications| | ||
notifications.source_files = 'Pod/BVNotifications/**/*.{h,m}', 'Pod/BVAnalytics/**/*.{h,m}', 'Pod/BVConversations/**/*.{h,m}', 'Pod/BVCommon/*.{h,m}','Pod/BVCommon/Private/*.{h,m}','Pod/BVCommon/Notifications/BVNotificationCenterObject.h','Pod/BVCommon/Notifications/BVReviewRichNotificationCenter.{h,m}','Pod/BVCommon/Notifications/BVNotificationConstants.h' | ||
notifications.resources = ['Pod/BVNotifications/BVStoreReviewNotificationViewController.xib'] | ||
end | ||
|
||
end |
34 changes: 34 additions & 0 deletions
34
Examples/BVSDKDemo/BVReviewContentExtension/Base.lproj/MainInterface.storyboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11201" systemVersion="15G1004" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="M4Y-Lb-cyx"> | ||
<dependencies> | ||
<deployment identifier="iOS"/> | ||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/> | ||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | ||
</dependencies> | ||
<scenes> | ||
<!--Notification View Controller--> | ||
<scene sceneID="cwh-vc-ff4"> | ||
<objects> | ||
<viewController id="M4Y-Lb-cyx" userLabel="Notification View Controller" customClass="NotificationViewController" sceneMemberID="viewController"> | ||
<layoutGuides> | ||
<viewControllerLayoutGuide type="top" id="pRP-DF-rgR"/> | ||
<viewControllerLayoutGuide type="bottom" id="MHx-1Q-7GX"/> | ||
</layoutGuides> | ||
<view key="view" contentMode="scaleToFill" simulatedAppContext="notificationCenter" id="cXC-RW-vBY"> | ||
<rect key="frame" x="0.0" y="0.0" width="320" height="217"/> | ||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" flexibleMaxY="YES"/> | ||
<color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.93725490199999995" alpha="1" colorSpace="calibratedRGB"/> | ||
</view> | ||
<extendedEdge key="edgesForExtendedLayout"/> | ||
<nil key="simulatedStatusBarMetrics"/> | ||
<nil key="simulatedTopBarMetrics"/> | ||
<nil key="simulatedBottomBarMetrics"/> | ||
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/> | ||
<size key="freeformSize" width="320" height="217"/> | ||
</viewController> | ||
<placeholder placeholderIdentifier="IBFirstResponder" id="vXp-U4-Rya" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
</objects> | ||
<point key="canvasLocation" x="116.8" y="120.98950524737631"/> | ||
</scene> | ||
</scenes> | ||
</document> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>en</string> | ||
<key>CFBundleDisplayName</key> | ||
<string>BVReviewContentExtension</string> | ||
<key>CFBundleExecutable</key> | ||
<string>$(EXECUTABLE_NAME)</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>$(PRODUCT_NAME)</string> | ||
<key>CFBundlePackageType</key> | ||
<string>XPC!</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>34</string> | ||
<key>NSAppTransportSecurity</key> | ||
<dict> | ||
<key>NSAllowsArbitraryLoads</key> | ||
<true/> | ||
</dict> | ||
<key>NSExtension</key> | ||
<dict> | ||
<key>NSExtensionAttributes</key> | ||
<dict> | ||
<key>UNNotificationExtensionCategory</key> | ||
<string>bvReviewCustomContent</string> | ||
<key>UNNotificationExtensionInitialContentSizeRatio</key> | ||
<real>1</real> | ||
</dict> | ||
<key>NSExtensionMainStoryboard</key> | ||
<string>MainInterface</string> | ||
<key>NSExtensionPointIdentifier</key> | ||
<string>com.apple.usernotifications.content-extension</string> | ||
</dict> | ||
</dict> | ||
</plist> |
13 changes: 13 additions & 0 deletions
13
Examples/BVSDKDemo/BVReviewContentExtension/NotificationViewController.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// | ||
// NotificationViewController.h | ||
// BVReviewContentExtension | ||
// | ||
// Copyright © 2016 Bazaarvoice. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
#import "BVStoreReviewNotificationViewController.h" | ||
|
||
@interface NotificationViewController : BVStoreReviewNotificationViewController | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
Examples/BVSDKDemo/BVReviewContentExtension/NotificationViewController.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// NotificationViewController.m | ||
// BVReviewContentExtension | ||
// | ||
// Copyright © 2016 Bazaarvoice. All rights reserved. | ||
// | ||
|
||
#import "NotificationViewController.h" | ||
#import <UserNotifications/UserNotifications.h> | ||
#import <UserNotificationsUI/UserNotificationsUI.h> | ||
#import <MapKit/MapKit.h> | ||
|
||
@interface NotificationViewController () | ||
|
||
@end | ||
|
||
@implementation NotificationViewController | ||
|
||
-(void)viewDidLoad { | ||
[super viewDidLoad]; | ||
|
||
} | ||
|
||
@end |
Oops, something went wrong.