summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/Stone Island/Plugins
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/platforms/ios/Stone Island/Plugins')
-rw-r--r--[l---------]StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Boltsbin18 -> 2687780 bytes
l---------StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers1
-rw-r--r--StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLink.h49
-rw-r--r--StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkNavigation.h93
-rw-r--r--StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkResolving.h30
-rw-r--r--StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h87
-rw-r--r--StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h91
-rw-r--r--StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkTarget.h33
-rw-r--r--StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFExecutor.h58
-rw-r--r--StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFMeasurementEvent.h46
-rw-r--r--StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFTask.h166
-rw-r--r--StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFTaskCompletionSource.h85
-rw-r--r--StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFURL.h77
-rw-r--r--StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFWebViewAppLinkResolver.h26
-rw-r--r--StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/Bolts.h37
-rw-r--r--StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BoltsVersion.h1
16 files changed, 879 insertions, 1 deletions
diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Bolts b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Bolts
index 190cc04c..2f6ba68d 120000..100644
--- a/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Bolts
+++ b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Bolts
Binary files differ
diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers
deleted file mode 120000
index b0cc393f..00000000
--- a/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers
+++ /dev/null
@@ -1 +0,0 @@
-./Versions/A/Headers \ No newline at end of file
diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLink.h b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLink.h
new file mode 100644
index 00000000..5e51acd8
--- /dev/null
+++ b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLink.h
@@ -0,0 +1,49 @@
+/*
+ * Copyright (c) 2014, Facebook, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under the BSD-style license found in the
+ * LICENSE file in the root directory of this source tree. An additional grant
+ * of patent rights can be found in the PATENTS file in the same directory.
+ *
+ */
+
+#import <Foundation/Foundation.h>
+
+/*! The version of the App Link protocol that this library supports */
+FOUNDATION_EXPORT NSString *const BFAppLinkVersion;
+
+/*!
+ Contains App Link metadata relevant for navigation on this device
+ derived from the HTML at a given URL.
+ */
+@interface BFAppLink : NSObject
+
+/*!
+ Creates a BFAppLink with the given list of BFAppLinkTargets and target URL.
+
+ Generally, this will only be used by implementers of the BFAppLinkResolving protocol,
+ as these implementers will produce App Link metadata for a given URL.
+
+ @param sourceURL the URL from which this App Link is derived
+ @param targets an ordered list of BFAppLinkTargets for this platform derived
+ from App Link metadata.
+ @param webURL the fallback web URL, if any, for the app link.
+ */
++ (instancetype)appLinkWithSourceURL:(NSURL *)sourceURL
+ targets:(NSArray *)targets
+ webURL:(NSURL *)webURL;
+
+/*! The URL from which this BFAppLink was derived */
+@property (nonatomic, strong, readonly) NSURL *sourceURL;
+
+/*!
+ The ordered list of targets applicable to this platform that will be used
+ for navigation.
+ */
+@property (nonatomic, copy, readonly) NSArray *targets;
+
+/*! The fallback web URL to use if no targets are installed on this device. */
+@property (nonatomic, strong, readonly) NSURL *webURL;
+
+@end
diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkNavigation.h b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkNavigation.h
new file mode 100644
index 00000000..d459f722
--- /dev/null
+++ b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkNavigation.h
@@ -0,0 +1,93 @@
+/*
+ * Copyright (c) 2014, Facebook, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under the BSD-style license found in the
+ * LICENSE file in the root directory of this source tree. An additional grant
+ * of patent rights can be found in the PATENTS file in the same directory.
+ *
+ */
+
+#import <Foundation/Foundation.h>
+
+#import <Bolts/BFAppLink.h>
+
+/*!
+ The result of calling navigate on a BFAppLinkNavigation
+ */
+typedef NS_ENUM(NSInteger, BFAppLinkNavigationType) {
+ /*! Indicates that the navigation failed and no app was opened */
+ BFAppLinkNavigationTypeFailure,
+ /*! Indicates that the navigation succeeded by opening the URL in the browser */
+ BFAppLinkNavigationTypeBrowser,
+ /*! Indicates that the navigation succeeded by opening the URL in an app on the device */
+ BFAppLinkNavigationTypeApp
+};
+
+@protocol BFAppLinkResolving;
+@class BFTask;
+
+/*!
+ Represents a pending request to navigate to an App Link. Most developers will
+ simply use navigateToURLInBackground: to open a URL, but developers can build
+ custom requests with additional navigation and app data attached to them by
+ creating BFAppLinkNavigations themselves.
+ */
+@interface BFAppLinkNavigation : NSObject
+
+/*!
+ The extras for the AppLinkNavigation. This will generally contain application-specific
+ data that should be passed along with the request, such as advertiser or affiliate IDs or
+ other such metadata relevant on this device.
+ */
+@property (nonatomic, copy, readonly) NSDictionary *extras;
+
+/*!
+ The al_applink_data for the AppLinkNavigation. This will generally contain data common to
+ navigation attempts such as back-links, user agents, and other information that may be used
+ in routing and handling an App Link request.
+ */
+@property (nonatomic, copy, readonly) NSDictionary *appLinkData;
+
+/*! The AppLink to navigate to */
+@property (nonatomic, strong, readonly) BFAppLink *appLink;
+
+/*! Creates an AppLinkNavigation with the given link, extras, and App Link data */
++ (instancetype)navigationWithAppLink:(BFAppLink *)appLink
+ extras:(NSDictionary *)extras
+ appLinkData:(NSDictionary *)appLinkData;
+
+/*! Performs the navigation */
+- (BFAppLinkNavigationType)navigate:(NSError **)error;
+
+/*! Returns a BFAppLink for the given URL */
++ (BFTask *)resolveAppLinkInBackground:(NSURL *)destination;
+
+/*! Returns a BFAppLink for the given URL using the given App Link resolution strategy */
++ (BFTask *)resolveAppLinkInBackground:(NSURL *)destination resolver:(id<BFAppLinkResolving>)resolver;
+
+/*! Navigates to a BFAppLink and returns whether it opened in-app or in-browser */
++ (BFAppLinkNavigationType)navigateToAppLink:(BFAppLink *)link error:(NSError **)error;
+
+/*! Navigates to a URL (an asynchronous action) and returns a BFNavigationType */
++ (BFTask *)navigateToURLInBackground:(NSURL *)destination;
+
+/*!
+ Navigates to a URL (an asynchronous action) using the given App Link resolution
+ strategy and returns a BFNavigationType
+ */
++ (BFTask *)navigateToURLInBackground:(NSURL *)destination resolver:(id<BFAppLinkResolving>)resolver;
+
+/*!
+ Gets the default resolver to be used for App Link resolution. If the developer has not set one explicitly,
+ a basic, built-in resolver will be used.
+ */
++ (id<BFAppLinkResolving>)defaultResolver;
+
+/*!
+ Sets the default resolver to be used for App Link resolution. Setting this to nil will revert the
+ default resolver to the basic, built-in resolver provided by Bolts.
+ */
++ (void)setDefaultResolver:(id<BFAppLinkResolving>)resolver;
+
+@end
diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkResolving.h b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkResolving.h
new file mode 100644
index 00000000..baa1451e
--- /dev/null
+++ b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkResolving.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2014, Facebook, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under the BSD-style license found in the
+ * LICENSE file in the root directory of this source tree. An additional grant
+ * of patent rights can be found in the PATENTS file in the same directory.
+ *
+ */
+
+#import <Foundation/Foundation.h>
+
+@class BFTask;
+
+/*!
+ Implement this protocol to provide an alternate strategy for resolving
+ App Links that may include pre-fetching, caching, or querying for App Link
+ data from an index provided by a service provider.
+ */
+@protocol BFAppLinkResolving <NSObject>
+
+/*!
+ Asynchronously resolves App Link data for a given URL.
+
+ @param url The URL to resolve into an App Link.
+ @returns A BFTask that will return a BFAppLink for the given URL.
+ */
+- (BFTask *)appLinkFromURLInBackground:(NSURL *)url;
+
+@end
diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h
new file mode 100644
index 00000000..22648d44
--- /dev/null
+++ b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h
@@ -0,0 +1,87 @@
+/*
+ * Copyright (c) 2014, Facebook, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under the BSD-style license found in the
+ * LICENSE file in the root directory of this source tree. An additional grant
+ * of patent rights can be found in the PATENTS file in the same directory.
+ *
+ */
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
+
+#import <Bolts/BFAppLinkReturnToRefererView.h>
+
+@class BFAppLink;
+@class BFAppLinkReturnToRefererController;
+
+/*!
+ Protocol that a class can implement in order to be notified when the user has navigated back
+ to the referer of an App Link.
+ */
+@protocol BFAppLinkReturnToRefererControllerDelegate <NSObject>
+
+@optional
+
+/*! Called when the user has tapped to navigate, but before the navigation has been performed. */
+- (void)returnToRefererController:(BFAppLinkReturnToRefererController *)controller
+ willNavigateToAppLink:(BFAppLink *)appLink;
+
+/*! Called after the navigation has been attempted, with an indication of whether the referer
+ app link was successfully opened. */
+- (void)returnToRefererController:(BFAppLinkReturnToRefererController *)controller
+ didNavigateToAppLink:(BFAppLink *)url
+ type:(BFAppLinkNavigationType)type;
+
+@end
+
+/*!
+ A controller class that implements default behavior for a BFAppLinkReturnToRefererView, including
+ the ability to display the view above the navigation bar for navigation-bsaed apps.
+ */
+@interface BFAppLinkReturnToRefererController : NSObject <BFAppLinkReturnToRefererViewDelegate>
+
+/*!
+ The delegate that will be notified when the user navigates back to the referer.
+ */
+@property (nonatomic, weak) id<BFAppLinkReturnToRefererControllerDelegate> delegate;
+
+/*!
+ The BFAppLinkReturnToRefererView this controller is controlling.
+ */
+@property (nonatomic, strong) BFAppLinkReturnToRefererView *view;
+
+/*!
+ Initializes a controller suitable for controlling a BFAppLinkReturnToRefererView that is to be displayed
+ contained within another UIView (i.e., not displayed above the navigation bar).
+ */
+- (instancetype)init;
+
+/*!
+ Initializes a controller suitable for controlling a BFAppLinkReturnToRefererView that is to be displayed
+ displayed above the navigation bar.
+ */
+- (instancetype)initForDisplayAboveNavController:(UINavigationController *)navController;
+
+/*!
+ Removes the view entirely from the navigation controller it is currently displayed in.
+ */
+- (void)removeFromNavController;
+
+/*!
+ Shows the BFAppLinkReturnToRefererView with the specified referer information. If nil or missing data,
+ the view will not be displayed. */
+- (void)showViewForRefererAppLink:(BFAppLink *)refererAppLink;
+
+/*!
+ Shows the BFAppLinkReturnToRefererView with referer information extracted from the specified URL.
+ If nil or missing referer App Link data, the view will not be displayed. */
+- (void)showViewForRefererURL:(NSURL *)url;
+
+/*!
+ Closes the view, possibly animating it.
+ */
+- (void)closeViewAnimated:(BOOL)animated;
+
+@end
diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h
new file mode 100644
index 00000000..e3af9408
--- /dev/null
+++ b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h
@@ -0,0 +1,91 @@
+/*
+ * Copyright (c) 2014, Facebook, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under the BSD-style license found in the
+ * LICENSE file in the root directory of this source tree. An additional grant
+ * of patent rights can be found in the PATENTS file in the same directory.
+ *
+ */
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
+
+#import <Bolts/BFAppLinkNavigation.h>
+
+@class BFAppLinkReturnToRefererView;
+@class BFURL;
+
+typedef enum BFIncludeStatusBarInSize {
+ BFIncludeStatusBarInSizeNever,
+ BFIncludeStatusBarInSizeIOS7AndLater,
+ BFIncludeStatusBarInSizeAlways,
+} BFIncludeStatusBarInSize;
+
+/*!
+ Protocol that a class can implement in order to be notified when the user has navigated back
+ to the referer of an App Link.
+ */
+@protocol BFAppLinkReturnToRefererViewDelegate <NSObject>
+
+/*!
+ Called when the user has tapped inside the close button.
+ */
+- (void)returnToRefererViewDidTapInsideCloseButton:(BFAppLinkReturnToRefererView *)view;
+
+/*!
+ Called when the user has tapped inside the App Link portion of the view.
+ */
+- (void)returnToRefererViewDidTapInsideLink:(BFAppLinkReturnToRefererView *)view
+ link:(BFAppLink *)link;
+
+@end
+
+/*!
+ Provides a UIView that displays a button allowing users to navigate back to the
+ application that launched the App Link currently being handled, if the App Link
+ contained referer data. The user can also close the view by clicking a close button
+ rather than navigating away. If the view is provided an App Link that does not contain
+ referer data, it will have zero size and no UI will be displayed.
+ */
+@interface BFAppLinkReturnToRefererView : UIView
+
+/*!
+ The delegate that will be notified when the user navigates back to the referer.
+ */
+@property (nonatomic, weak) id<BFAppLinkReturnToRefererViewDelegate> delegate;
+
+/*!
+ The color of the text label and close button.
+ */
+@property (nonatomic, strong) UIColor *textColor;
+
+@property (nonatomic, strong) BFAppLink *refererAppLink;
+
+/*!
+ Indicates whether to extend the size of the view to include the current status bar
+ size, for use in scenarios where the view might extend under the status bar on iOS 7 and
+ above; this property has no effect on earlier versions of iOS.
+ */
+@property (nonatomic, assign) BFIncludeStatusBarInSize includeStatusBarInSize;
+
+/*!
+ Indicates whether the user has closed the view by clicking the close button.
+ */
+@property (nonatomic, assign) BOOL closed;
+
+/*!
+ For apps that use a navigation controller, this method allows for displaying the view as
+ a banner above the navigation bar of the navigation controller. It will listen for orientation
+ change and other events to ensure it stays properly positioned above the nevigation bar.
+ If this method is called from, e.g., viewDidAppear, its counterpart, detachFromMainWindow should
+ be called from, e.g., viewWillDisappear.
+ */
+//- (void)attachToMainWindowAboveNavigationController:(UINavigationController *)navigationController view:(UIView *)view;
+
+/*!
+ Indicates that the view should no longer position itself above a navigation bar.
+ */
+//- (void)detachFromMainWindow;
+
+@end
diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkTarget.h b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkTarget.h
new file mode 100644
index 00000000..61721269
--- /dev/null
+++ b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFAppLinkTarget.h
@@ -0,0 +1,33 @@
+/*
+ * Copyright (c) 2014, Facebook, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under the BSD-style license found in the
+ * LICENSE file in the root directory of this source tree. An additional grant
+ * of patent rights can be found in the PATENTS file in the same directory.
+ *
+ */
+
+#import <Foundation/Foundation.h>
+
+/*!
+ Represents a target defined in App Link metadata, consisting of at least
+ a URL, and optionally an App Store ID and name.
+ */
+@interface BFAppLinkTarget : NSObject
+
+/*! Creates a BFAppLinkTarget with the given app site and target URL. */
++ (instancetype)appLinkTargetWithURL:(NSURL *)url
+ appStoreId:(NSString *)appStoreId
+ appName:(NSString *)appName;
+
+/*! The URL prefix for this app link target */
+@property (nonatomic, strong, readonly) NSURL *URL;
+
+/*! The app ID for the app store */
+@property (nonatomic, copy, readonly) NSString *appStoreId;
+
+/*! The name of the app */
+@property (nonatomic, copy, readonly) NSString *appName;
+
+@end
diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFExecutor.h b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFExecutor.h
new file mode 100644
index 00000000..02af9ba2
--- /dev/null
+++ b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFExecutor.h
@@ -0,0 +1,58 @@
+/*
+ * Copyright (c) 2014, Facebook, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under the BSD-style license found in the
+ * LICENSE file in the root directory of this source tree. An additional grant
+ * of patent rights can be found in the PATENTS file in the same directory.
+ *
+ */
+
+#import <Foundation/Foundation.h>
+
+/*!
+ An object that can run a given block.
+ */
+@interface BFExecutor : NSObject
+
+/*!
+ Returns a default executor, which runs continuations immediately until the call stack gets too
+ deep, then dispatches to a new GCD queue.
+ */
++ (instancetype)defaultExecutor;
+
+/*!
+ Returns an executor that runs continuations on the thread where the previous task was completed.
+ */
++ (instancetype)immediateExecutor;
+
+/*!
+ Returns an executor that runs continuations on the main thread.
+ */
++ (instancetype)mainThreadExecutor;
+
+/*!
+ Returns a new executor that uses the given block to execute continuations.
+ @param block The block to use.
+ */
++ (instancetype)executorWithBlock:(void(^)(void(^block)()))block;
+
+/*!
+ Returns a new executor that runs continuations on the given queue.
+ @param queue The instance of `dispatch_queue_t` to dispatch all continuations onto.
+ */
++ (instancetype)executorWithDispatchQueue:(dispatch_queue_t)queue;
+
+/*!
+ Returns a new executor that runs continuations on the given queue.
+ @param queue The instance of `NSOperationQueue` to run all continuations on.
+ */
++ (instancetype)executorWithOperationQueue:(NSOperationQueue *)queue;
+
+/*!
+ Runs the given block using this executor's particular strategy.
+ @param block The block to execute.
+ */
+- (void)execute:(void(^)())block;
+
+@end
diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFMeasurementEvent.h b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFMeasurementEvent.h
new file mode 100644
index 00000000..7a9948c3
--- /dev/null
+++ b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFMeasurementEvent.h
@@ -0,0 +1,46 @@
+/*
+ * Copyright (c) 2014, Facebook, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under the BSD-style license found in the
+ * LICENSE file in the root directory of this source tree. An additional grant
+ * of patent rights can be found in the PATENTS file in the same directory.
+ *
+ */
+
+#import <Foundation/Foundation.h>
+
+/*! The name of the notification posted by BFMeasurementEvent */
+FOUNDATION_EXPORT NSString *const BFMeasurementEventNotificationName;
+
+/*! Defines keys in the userInfo object for the notification named BFMeasurementEventNotificationName */
+/*! The string field for the name of the event */
+FOUNDATION_EXPORT NSString *const BFMeasurementEventNameKey;
+/*! The dictionary field for the arguments of the event */
+FOUNDATION_EXPORT NSString *const BFMeasurementEventArgsKey;
+
+
+/*! Bolts Events raised by BFMeasurementEvent for Applink */
+/*!
+ The name of the event posted when [BFURL URLWithURL:] is called successfully. This represents the successful parsing of an app link URL.
+ */
+FOUNDATION_EXPORT NSString *const BFAppLinkParseEventName;
+
+/*!
+ The name of the event posted when [BFURL URLWithInboundURL:] is called successfully.
+ This represents parsing an inbound app link URL from a different application
+ */
+FOUNDATION_EXPORT NSString *const BFAppLinkNavigateInEventName;
+
+/*! The event raised when the user navigates from your app to other apps */
+FOUNDATION_EXPORT NSString *const BFAppLinkNavigateOutEventName;
+
+/*!
+ The event raised when the user navigates out from your app and back to the referrer app.
+ e.g when the user leaves your app after tapping the back-to-referrer navigation bar
+ */
+FOUNDATION_EXPORT NSString *const BFAppLinkNavigateBackToReferrerEventName;
+
+@interface BFMeasurementEvent : NSObject
+
+@end
diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFTask.h b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFTask.h
new file mode 100644
index 00000000..2ac84d60
--- /dev/null
+++ b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFTask.h
@@ -0,0 +1,166 @@
+/*
+ * Copyright (c) 2014, Facebook, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under the BSD-style license found in the
+ * LICENSE file in the root directory of this source tree. An additional grant
+ * of patent rights can be found in the PATENTS file in the same directory.
+ *
+ */
+
+#import <Foundation/Foundation.h>
+
+@class BFExecutor;
+@class BFTask;
+
+/*!
+ A block that can act as a continuation for a task.
+ */
+typedef id(^BFContinuationBlock)(BFTask *task);
+
+/*!
+ The consumer view of a Task. A BFTask has methods to
+ inspect the state of the task, and to add continuations to
+ be run once the task is complete.
+ */
+@interface BFTask : NSObject
+
+/*!
+ Creates a task that is already completed with the given result.
+ @param result The result for the task.
+ */
++ (instancetype)taskWithResult:(id)result;
+
+/*!
+ Creates a task that is already completed with the given error.
+ @param error The error for the task.
+ */
++ (instancetype)taskWithError:(NSError *)error;
+
+/*!
+ Creates a task that is already completed with the given exception.
+ @param exception The exception for the task.
+ */
++ (instancetype)taskWithException:(NSException *)exception;
+
+/*!
+ Creates a task that is already cancelled.
+ */
++ (instancetype)cancelledTask;
+
+/*!
+ Returns a task that will be completed (with result == nil) once
+ all of the input tasks have completed.
+ @param tasks An `NSArray` of the tasks to use as an input.
+ */
++ (instancetype)taskForCompletionOfAllTasks:(NSArray *)tasks;
+
+/*!
+ Returns a task that will be completed a certain amount of time in the future.
+ @param millis The approximate number of milliseconds to wait before the
+ task will be finished (with result == nil).
+ */
++ (instancetype)taskWithDelay:(int)millis;
+
+/*!
+ Returns a task that will be completed after the given block completes with
+ the specified executor.
+ @param executor A BFExecutor responsible for determining how the
+ continuation block will be run.
+ @param block The block to immediately schedule to run with the given executor.
+ @returns A task that will be completed after block has run.
+ If block returns a BFTask, then the task returned from
+ this method will not be completed until that task is completed.
+ */
++ (instancetype)taskFromExecutor:(BFExecutor *)executor
+ withBlock:(id (^)())block;
+
+// Properties that will be set on the task once it is completed.
+
+/*!
+ The result of a successful task.
+ */
+@property (nonatomic, strong, readonly) id result;
+
+
+/*!
+ The error of a failed task.
+ */
+@property (nonatomic, strong, readonly) NSError *error;
+
+/*!
+ The exception of a failed task.
+ */
+@property (nonatomic, strong, readonly) NSException *exception;
+
+/*!
+ Whether this task has been cancelled.
+ */
+@property (nonatomic, assign, readonly, getter = isCancelled) BOOL cancelled;
+
+/*!
+ Whether this task has completed.
+ */
+@property (nonatomic, assign, readonly, getter = isCompleted) BOOL completed;
+
+/*!
+ Enqueues the given block to be run once this task is complete.
+ This method uses a default execution strategy. The block will be
+ run on the thread where the previous task completes, unless the
+ the stack depth is too deep, in which case it will be run on a
+ dispatch queue with default priority.
+ @param block The block to be run once this task is complete.
+ @returns A task that will be completed after block has run.
+ If block returns a BFTask, then the task returned from
+ this method will not be completed until that task is completed.
+ */
+- (instancetype)continueWithBlock:(BFContinuationBlock)block;
+
+/*!
+ Enqueues the given block to be run once this task is complete.
+ @param executor A BFExecutor responsible for determining how the
+ continuation block will be run.
+ @param block The block to be run once this task is complete.
+ @returns A task that will be completed after block has run.
+ If block returns a BFTask, then the task returned from
+ this method will not be completed until that task is completed.
+ */
+- (instancetype)continueWithExecutor:(BFExecutor *)executor
+ withBlock:(BFContinuationBlock)block;
+
+/*!
+ Identical to continueWithBlock:, except that the block is only run
+ if this task did not produce a cancellation, error, or exception.
+ If it did, then the failure will be propagated to the returned
+ task.
+ @param block The block to be run once this task is complete.
+ @returns A task that will be completed after block has run.
+ If block returns a BFTask, then the task returned from
+ this method will not be completed until that task is completed.
+ */
+- (instancetype)continueWithSuccessBlock:(BFContinuationBlock)block;
+
+/*!
+ Identical to continueWithExecutor:withBlock:, except that the block
+ is only run if this task did not produce a cancellation, error, or
+ exception. If it did, then the failure will be propagated to the
+ returned task.
+ @param executor A BFExecutor responsible for determining how the
+ continuation block will be run.
+ @param block The block to be run once this task is complete.
+ @returns A task that will be completed after block has run.
+ If block returns a BFTask, then the task returned from
+ this method will not be completed until that task is completed.
+ */
+- (instancetype)continueWithExecutor:(BFExecutor *)executor
+ withSuccessBlock:(BFContinuationBlock)block;
+
+/*!
+ Waits until this operation is completed.
+ This method is inefficient and consumes a thread resource while
+ it's running. It should be avoided. This method logs a warning
+ message if it is used on the main thread.
+ */
+- (void)waitUntilFinished;
+
+@end
diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFTaskCompletionSource.h b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFTaskCompletionSource.h
new file mode 100644
index 00000000..d0ea545d
--- /dev/null
+++ b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFTaskCompletionSource.h
@@ -0,0 +1,85 @@
+/*
+ * Copyright (c) 2014, Facebook, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under the BSD-style license found in the
+ * LICENSE file in the root directory of this source tree. An additional grant
+ * of patent rights can be found in the PATENTS file in the same directory.
+ *
+ */
+
+#import <Foundation/Foundation.h>
+
+@class BFTask;
+
+/*!
+ A BFTaskCompletionSource represents the producer side of tasks.
+ It is a task that also has methods for changing the state of the
+ task by settings its completion values.
+ */
+@interface BFTaskCompletionSource : NSObject
+
+/*!
+ Creates a new unfinished task.
+ */
++ (instancetype)taskCompletionSource;
+
+/*!
+ The task associated with this TaskCompletionSource.
+ */
+@property (nonatomic, retain, readonly) BFTask *task;
+
+/*!
+ Completes the task by setting the result.
+ Attempting to set this for a completed task will raise an exception.
+ @param result The result of the task.
+ */
+- (void)setResult:(id)result;
+
+/*!
+ Completes the task by setting the error.
+ Attempting to set this for a completed task will raise an exception.
+ @param error The error for the task.
+ */
+- (void)setError:(NSError *)error;
+
+/*!
+ Completes the task by setting an exception.
+ Attempting to set this for a completed task will raise an exception.
+ @param exception The exception for the task.
+ */
+- (void)setException:(NSException *)exception;
+
+/*!
+ Completes the task by marking it as cancelled.
+ Attempting to set this for a completed task will raise an exception.
+ */
+- (void)cancel;
+
+/*!
+ Sets the result of the task if it wasn't already completed.
+ @returns whether the new value was set.
+ */
+- (BOOL)trySetResult:(id)result;
+
+/*!
+ Sets the error of the task if it wasn't already completed.
+ @param error The error for the task.
+ @returns whether the new value was set.
+ */
+- (BOOL)trySetError:(NSError *)error;
+
+/*!
+ Sets the exception of the task if it wasn't already completed.
+ @param exception The exception for the task.
+ @returns whether the new value was set.
+ */
+- (BOOL)trySetException:(NSException *)exception;
+
+/*!
+ Sets the cancellation state of the task if it wasn't already completed.
+ @returns whether the new value was set.
+ */
+- (BOOL)trySetCancelled;
+
+@end
diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFURL.h b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFURL.h
new file mode 100644
index 00000000..f269e2d1
--- /dev/null
+++ b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFURL.h
@@ -0,0 +1,77 @@
+/*
+ * Copyright (c) 2014, Facebook, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under the BSD-style license found in the
+ * LICENSE file in the root directory of this source tree. An additional grant
+ * of patent rights can be found in the PATENTS file in the same directory.
+ *
+ */
+
+#import <Foundation/Foundation.h>
+
+
+
+@class BFAppLink;
+
+/*!
+ Provides a set of utilities for working with NSURLs, such as parsing of query parameters
+ and handling for App Link requests.
+ */
+@interface BFURL : NSObject
+
+/*!
+ Creates a link target from a raw URL.
+ On success, this posts the BFAppLinkParseEventName measurement event. If you are constructing the BFURL within your application delegate's
+ application:openURL:sourceApplication:annotation:, you should instead use URLWithInboundURL:sourceApplication:
+ to support better BFMeasurementEvent notifications
+ @param url The instance of `NSURL` to create BFURL from.
+ */
++ (BFURL *)URLWithURL:(NSURL *)url;
+
+/*!
+ Creates a link target from a raw URL received from an external application. This is typically called from the app delegate's
+ application:openURL:sourceApplication:annotation: and will post the BFAppLinkNavigateInEventName measurement event.
+ @param url The instance of `NSURL` to create BFURL from.
+ @param sourceApplication the bundle ID of the app that is requesting your app to open the URL. The same sourceApplication in application:openURL:sourceApplication:annotation:
+*/
++ (BFURL *)URLWithInboundURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication;
+
+/*!
+ Gets the target URL. If the link is an App Link, this is the target of the App Link.
+ Otherwise, it is the url that created the target.
+ */
+@property (nonatomic, strong, readonly) NSURL *targetURL;
+
+/*!
+ Gets the query parameters for the target, parsed into an NSDictionary.
+ */
+@property (nonatomic, strong, readonly) NSDictionary *targetQueryParameters;
+
+/*!
+ If this link target is an App Link, this is the data found in al_applink_data.
+ Otherwise, it is nil.
+ */
+@property (nonatomic, strong, readonly) NSDictionary *appLinkData;
+
+/*!
+ If this link target is an App Link, this is the data found in extras.
+ */
+@property (nonatomic, strong, readonly) NSDictionary *appLinkExtras;
+
+/*!
+ The App Link indicating how to navigate back to the referer app, if any.
+ */
+@property (nonatomic, strong, readonly) BFAppLink *appLinkReferer;
+
+/*!
+ The URL that was used to create this BFURL.
+ */
+@property (nonatomic, strong, readonly) NSURL *inputURL;
+
+/*!
+ The query parameters of the inputURL, parsed into an NSDictionary.
+ */
+@property (nonatomic, strong, readonly) NSDictionary *inputQueryParameters;
+
+@end
diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFWebViewAppLinkResolver.h b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFWebViewAppLinkResolver.h
new file mode 100644
index 00000000..cffa5292
--- /dev/null
+++ b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BFWebViewAppLinkResolver.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) 2014, Facebook, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under the BSD-style license found in the
+ * LICENSE file in the root directory of this source tree. An additional grant
+ * of patent rights can be found in the PATENTS file in the same directory.
+ *
+ */
+
+#import <Foundation/Foundation.h>
+
+#import <Bolts/BFAppLinkResolving.h>
+
+/*!
+ A reference implementation for an App Link resolver that uses a hidden UIWebView
+ to parse the HTML containing App Link metadata.
+ */
+@interface BFWebViewAppLinkResolver : NSObject<BFAppLinkResolving>
+
+/*!
+ Gets the instance of a BFWebViewAppLinkResolver.
+ */
++ (instancetype)sharedInstance;
+
+@end
diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/Bolts.h b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/Bolts.h
new file mode 100644
index 00000000..e22bdd54
--- /dev/null
+++ b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/Bolts.h
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) 2014, Facebook, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under the BSD-style license found in the
+ * LICENSE file in the root directory of this source tree. An additional grant
+ * of patent rights can be found in the PATENTS file in the same directory.
+ *
+ */
+
+#import <Bolts/BoltsVersion.h>
+#import <Bolts/BFExecutor.h>
+#import <Bolts/BFTask.h>
+#import <Bolts/BFTaskCompletionSource.h>
+
+#if TARGET_OS_IPHONE
+#import <Bolts/BFAppLinkNavigation.h>
+#import <Bolts/BFAppLink.h>
+#import <Bolts/BFAppLinkTarget.h>
+#import <Bolts/BFURL.h>
+#import <Bolts/BFMeasurementEvent.h>
+#import <Bolts/BFAppLinkReturnToRefererController.h>
+#import <Bolts/BFAppLinkReturnToRefererView.h>
+#endif
+
+/*! @abstract 80175001: There were multiple errors. */
+extern NSInteger const kBFMultipleErrorsError;
+
+@interface Bolts : NSObject
+
+/*!
+ Returns the version of the Bolts Framework as an NSString.
+ @returns The NSString representation of the current version.
+ */
++ (NSString *)version;
+
+@end
diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BoltsVersion.h b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BoltsVersion.h
new file mode 100644
index 00000000..24e802ed
--- /dev/null
+++ b/StoneIsland/platforms/ios/Stone Island/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Headers/BoltsVersion.h
@@ -0,0 +1 @@
+#define BOLTS_VERSION @"1.1.3"