diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-11-08 11:46:59 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-11-08 11:46:59 -0500 |
| commit | 5fa81da81260d65113f57a293b6256d334fe8e2d (patch) | |
| tree | 01d3dd7ab7a1febccd20de1756d0801a64ae64e9 /StoneIsland/platforms/ios/Stone Island | |
| parent | e5652e9cd560ccda249819857c207643820b075f (diff) | |
| parent | 7773d1d0686de69504e9b820efdb3e94d72eff04 (diff) | |
le build
Diffstat (limited to 'StoneIsland/platforms/ios/Stone Island')
90 files changed, 1697 insertions, 398 deletions
diff --git a/StoneIsland/platforms/ios/Stone Island/.gitignore b/StoneIsland/platforms/ios/Stone Island/.gitignore index cc76483f..cc76483f 100755..100644 --- a/StoneIsland/platforms/ios/Stone Island/.gitignore +++ b/StoneIsland/platforms/ios/Stone Island/.gitignore diff --git a/StoneIsland/platforms/ios/Stone Island/Bridging-Header.h b/StoneIsland/platforms/ios/Stone Island/Bridging-Header.h new file mode 100644 index 00000000..5d8abc98 --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Bridging-Header.h @@ -0,0 +1,28 @@ +/* + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + */ +// +// Bridging-Header.h +// __PROJECT_NAME__ +// +// Created by ___FULLUSERNAME___ on ___DATE___. +// Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved. +// +// +// Use this file to import your target's public headers that you would like to expose to Swift. +// + +#import <Cordova/CDV.h> diff --git a/StoneIsland/platforms/ios/Stone Island/CDVLaunchScreen.storyboard b/StoneIsland/platforms/ios/Stone Island/CDVLaunchScreen.storyboard new file mode 100644 index 00000000..51cdcf6d --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/CDVLaunchScreen.storyboard @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="15G1004" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM"> + <dependencies> + <deployment identifier="iOS"/> + <development version="6100" identifier="xcode"/> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/> + </dependencies> + <scenes> + <!--View Controller--> + <scene sceneID="EHf-IW-A2E"> + <objects> + <viewController id="01J-lp-oVM" sceneMemberID="viewController"> + <layoutGuides> + <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/> + <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="600" height="600"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <subviews> + <imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="LaunchStoryboard" translatesAutoresizingMaskIntoConstraints="NO" id="2ns-9I-Qjs"> + <rect key="frame" x="0.0" y="0.0" width="600" height="600"/> + </imageView> + </subviews> + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> + <constraints> + <constraint firstAttribute="trailing" secondItem="2ns-9I-Qjs" secondAttribute="trailing" id="FZL-3Z-NFz"/> + <constraint firstItem="2ns-9I-Qjs" firstAttribute="bottom" secondItem="xb3-aO-Qok" secondAttribute="top" id="L9l-pw-wXj"/> + <constraint firstItem="2ns-9I-Qjs" firstAttribute="top" secondItem="Ze5-6b-2t3" secondAttribute="top" id="oGN-hc-Uzj"/> + <constraint firstItem="2ns-9I-Qjs" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" id="rS9-Wd-zY4"/> + </constraints> + </view> + </viewController> + <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/> + </objects> + <point key="canvasLocation" x="53" y="375"/> + </scene> + </scenes> + <resources> + <image name="LaunchStoryboard" width="1366" height="1366"/> + </resources> +</document> diff --git a/StoneIsland/platforms/ios/Stone Island/Classes/AppDelegate.h b/StoneIsland/platforms/ios/Stone Island/Classes/AppDelegate.h index ee3f0764..69ba6c08 100755..100644 --- a/StoneIsland/platforms/ios/Stone Island/Classes/AppDelegate.h +++ b/StoneIsland/platforms/ios/Stone Island/Classes/AppDelegate.h @@ -25,18 +25,9 @@ // Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved. // -#import <UIKit/UIKit.h> - #import <Cordova/CDVViewController.h> +#import <Cordova/CDVAppDelegate.h> -@interface AppDelegate : NSObject <UIApplicationDelegate>{} - -// invoke string is passed to your app on launch, this is only valid if you -// edit Stone Island-Info.plist to add a protocol -// a simple tutorial can be found here : -// http://iphonedevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html - -@property (nonatomic, strong) IBOutlet UIWindow* window; -@property (nonatomic, strong) IBOutlet CDVViewController* viewController; +@interface AppDelegate : CDVAppDelegate {} @end diff --git a/StoneIsland/platforms/ios/Stone Island/Classes/AppDelegate.m b/StoneIsland/platforms/ios/Stone Island/Classes/AppDelegate.m index c2d42df8..bc84bed9 100755..100644 --- a/StoneIsland/platforms/ios/Stone Island/Classes/AppDelegate.m +++ b/StoneIsland/platforms/ios/Stone Island/Classes/AppDelegate.m @@ -28,128 +28,12 @@ #import "AppDelegate.h" #import "MainViewController.h" -#import <Cordova/CDVPlugin.h> - @implementation AppDelegate -@synthesize window, viewController; - -- (id)init -{ - /** If you need to do any extra app-specific initialization, you can do it here - * -jm - **/ - NSHTTPCookieStorage* cookieStorage = [NSHTTPCookieStorage sharedHTTPCookieStorage]; - - [cookieStorage setCookieAcceptPolicy:NSHTTPCookieAcceptPolicyAlways]; - - int cacheSizeMemory = 8 * 1024 * 1024; // 8MB - int cacheSizeDisk = 32 * 1024 * 1024; // 32MB -#if __has_feature(objc_arc) - NSURLCache* sharedCache = [[NSURLCache alloc] initWithMemoryCapacity:cacheSizeMemory diskCapacity:cacheSizeDisk diskPath:@"nsurlcache"]; -#else - NSURLCache* sharedCache = [[[NSURLCache alloc] initWithMemoryCapacity:cacheSizeMemory diskCapacity:cacheSizeDisk diskPath:@"nsurlcache"] autorelease]; -#endif - [NSURLCache setSharedURLCache:sharedCache]; - - self = [super init]; - return self; -} - -#pragma mark UIApplicationDelegate implementation - -/** - * This is main kick off after the app inits, the views and Settings are setup here. (preferred - iOS4 and up) - */ - (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions { - CGRect screenBounds = [[UIScreen mainScreen] bounds]; - -#if __has_feature(objc_arc) - self.window = [[UIWindow alloc] initWithFrame:screenBounds]; -#else - self.window = [[[UIWindow alloc] initWithFrame:screenBounds] autorelease]; -#endif - self.window.autoresizesSubviews = YES; - -#if __has_feature(objc_arc) - self.viewController = [[MainViewController alloc] init]; -#else - self.viewController = [[[MainViewController alloc] init] autorelease]; -#endif - - // Set your app's start page by setting the <content src='foo.html' /> tag in config.xml. - // If necessary, uncomment the line below to override it. - // self.viewController.startPage = @"index.html"; - - // NOTE: To customize the view's frame size (which defaults to full screen), override - // [self.viewController viewWillAppear:] in your view controller. - - self.window.rootViewController = self.viewController; - [self.window makeKeyAndVisible]; - - return YES; -} - -// this happens while we are running ( in the background, or from within our own app ) -// only valid if Stone Island-Info.plist specifies a protocol to handle -- (BOOL)application:(UIApplication*)application openURL:(NSURL*)url sourceApplication:(NSString*)sourceApplication annotation:(id)annotation -{ - if (!url) { - return NO; - } - - // all plugins will get the notification, and their handlers will be called - [[NSNotificationCenter defaultCenter] postNotification:[NSNotification notificationWithName:CDVPluginHandleOpenURLNotification object:url]]; - - return YES; -} - -// repost all remote and local notification using the default NSNotificationCenter so multiple plugins may respond -- (void) application:(UIApplication*)application - didReceiveLocalNotification:(UILocalNotification*)notification -{ - // re-post ( broadcast ) - [[NSNotificationCenter defaultCenter] postNotificationName:CDVLocalNotification object:notification]; -} - -#ifndef DISABLE_PUSH_NOTIFICATIONS - - - (void) application:(UIApplication*)application - didRegisterForRemoteNotificationsWithDeviceToken:(NSData*)deviceToken - { - // re-post ( broadcast ) - NSString* token = [[[[deviceToken description] - stringByReplacingOccurrencesOfString:@"<" withString:@""] - stringByReplacingOccurrencesOfString:@">" withString:@""] - stringByReplacingOccurrencesOfString:@" " withString:@""]; - - [[NSNotificationCenter defaultCenter] postNotificationName:CDVRemoteNotification object:token]; - } - - - (void) application:(UIApplication*)application - didFailToRegisterForRemoteNotificationsWithError:(NSError*)error - { - // re-post ( broadcast ) - [[NSNotificationCenter defaultCenter] postNotificationName:CDVRemoteNotificationError object:error]; - } -#endif - -#if __IPHONE_OS_VERSION_MAX_ALLOWED < 90000 -- (NSUInteger)application:(UIApplication*)application supportedInterfaceOrientationsForWindow:(UIWindow*)window -#else -- (UIInterfaceOrientationMask)application:(UIApplication*)application supportedInterfaceOrientationsForWindow:(UIWindow*)window -#endif -{ - // iPhone doesn't support upside down by default, while the iPad does. Override to allow all orientations always, and let the root view controller decide what's allowed (the supported orientations mask gets intersected). - NSUInteger supportedInterfaceOrientations = (1 << UIInterfaceOrientationPortrait) | (1 << UIInterfaceOrientationLandscapeLeft) | (1 << UIInterfaceOrientationLandscapeRight) | (1 << UIInterfaceOrientationPortraitUpsideDown); - - return supportedInterfaceOrientations; -} - -- (void)applicationDidReceiveMemoryWarning:(UIApplication*)application -{ - [[NSURLCache sharedURLCache] removeAllCachedResponses]; + self.viewController = [[MainViewController alloc] init]; + return [super application:application didFinishLaunchingWithOptions:launchOptions]; } @end diff --git a/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.h b/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.h index a9aaeeaf..a9aaeeaf 100755..100644 --- a/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.h +++ b/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.h diff --git a/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.m b/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.m index a066b197..3f3a0c8e 100755..100644 --- a/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.m +++ b/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.m @@ -84,12 +84,6 @@ // e.g. self.myOutlet = nil; } -- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation -{ - // Return YES for supported orientations - return [super shouldAutorotateToInterfaceOrientation:interfaceOrientation]; -} - /* Comment out the block below to over-ride */ /* @@ -97,35 +91,20 @@ { return[super newCordovaViewWithFrame:bounds]; } -*/ - -#pragma mark UIWebDelegate implementation -- (void)webViewDidFinishLoad:(UIWebView*)theWebView +- (NSUInteger)supportedInterfaceOrientations { - // Black base color for background matches the native apps - theWebView.backgroundColor = [UIColor blackColor]; - - return [super webViewDidFinishLoad:theWebView]; + return [super supportedInterfaceOrientations]; } -/* Comment out the block below to over-ride */ - -/* - -- (void) webViewDidStartLoad:(UIWebView*)theWebView +- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { - return [super webViewDidStartLoad:theWebView]; -} - -- (void) webView:(UIWebView*)theWebView didFailLoadWithError:(NSError*)error -{ - return [super webView:theWebView didFailLoadWithError:error]; + return [super shouldAutorotateToInterfaceOrientation:interfaceOrientation]; } -- (BOOL) webView:(UIWebView*)theWebView shouldStartLoadWithRequest:(NSURLRequest*)request navigationType:(UIWebViewNavigationType)navigationType +- (BOOL)shouldAutorotate { - return [super webView:theWebView shouldStartLoadWithRequest:request navigationType:navigationType]; + return [super shouldAutorotate]; } */ diff --git a/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.xib b/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.xib index e45d65c6..e45d65c6 100755..100644 --- a/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.xib +++ b/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.xib diff --git a/StoneIsland/platforms/ios/Stone Island/Entitlements-Debug.plist b/StoneIsland/platforms/ios/Stone Island/Entitlements-Debug.plist new file mode 100644 index 00000000..1ed4ae5b --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Entitlements-Debug.plist @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<plist version="1.0"> + <dict> + </dict> +</plist> diff --git a/StoneIsland/platforms/ios/Stone Island/Entitlements-Release.plist b/StoneIsland/platforms/ios/Stone Island/Entitlements-Release.plist new file mode 100644 index 00000000..1ed4ae5b --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Entitlements-Release.plist @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<plist version="1.0"> + <dict> + </dict> +</plist> diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/Contents.json b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 00000000..d19e65fd --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,182 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "29x29", + "filename" : "icon-small.png", + "scale" : "1x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "filename" : "icon-small@2x.png", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "filename" : "icon-small@3x.png", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "filename" : "icon-40@2x.png", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "filename" : "icon-60@2x.png", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "57x57", + "filename" : "icon.png", + "scale" : "1x" + }, + { + "idiom" : "iphone", + "size" : "57x57", + "filename" : "icon@2x.png", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "filename" : "icon-60@2x.png", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "filename" : "icon-60@3x.png", + "scale" : "3x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "filename" : "icon-small.png", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "filename" : "icon-small@2x.png", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "filename" : "icon-40.png", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "filename" : "icon-40@2x.png", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "50x50", + "filename" : "icon-50.png", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "50x50", + "filename" : "icon-50@2x.png", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "72x72", + "filename" : "icon-72.png", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "72x72", + "filename" : "icon-72@2x.png", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "filename" : "icon-76.png", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "filename" : "icon-76@2x.png", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "83.5x83.5", + "filename" : "icon-83.5@2x.png", + "scale" : "2x" + }, + { + "size" : "24x24", + "idiom" : "watch", + "scale" : "2x", + "role" : "notificationCenter", + "subtype" : "38mm" + }, + { + "size" : "27.5x27.5", + "idiom" : "watch", + "scale" : "2x", + "role" : "notificationCenter", + "subtype" : "42mm" + }, + { + "size" : "29x29", + "idiom" : "watch", + "role" : "companionSettings", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "watch", + "role" : "companionSettings", + "scale" : "3x" + }, + { + "size" : "40x40", + "idiom" : "watch", + "scale" : "2x", + "role" : "appLauncher", + "subtype" : "38mm" + }, + { + "size" : "44x44", + "idiom" : "watch", + "scale" : "2x", + "role" : "longLook", + "subtype" : "42mm" + }, + { + "size" : "86x86", + "idiom" : "watch", + "scale" : "2x", + "role" : "quickLook", + "subtype" : "38mm" + }, + { + "size" : "98x98", + "idiom" : "watch", + "scale" : "2x", + "role" : "quickLook", + "subtype" : "42mm" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +}
\ No newline at end of file diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-40.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-40.png Binary files differnew file mode 100644 index 00000000..e865adbc --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-40.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-40@2x.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-40@2x.png Binary files differnew file mode 100644 index 00000000..6d07dce5 --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-40@2x.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-50.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-50.png Binary files differnew file mode 100644 index 00000000..98a9d96d --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-50.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-50@2x.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-50@2x.png Binary files differnew file mode 100644 index 00000000..bac693f7 --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-50@2x.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-60@2x.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-60@2x.png Binary files differnew file mode 100644 index 00000000..955af362 --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-60@2x.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-60@3x.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-60@3x.png Binary files differnew file mode 100644 index 00000000..e1268916 --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-60@3x.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-72.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-72.png Binary files differnew file mode 100644 index 00000000..8c6e5df3 --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-72.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-72@2x.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-72@2x.png Binary files differnew file mode 100644 index 00000000..dd819da6 --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-72@2x.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-76.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-76.png Binary files differnew file mode 100644 index 00000000..63afe7f1 --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-76.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-76@2x.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-76@2x.png Binary files differnew file mode 100644 index 00000000..4cff29a2 --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-76@2x.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-83.5@2x.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-83.5@2x.png Binary files differnew file mode 100644 index 00000000..3c1a0115 --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-83.5@2x.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-small.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-small.png Binary files differnew file mode 100644 index 00000000..0ea1c42f --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-small.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-small@2x.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-small@2x.png Binary files differnew file mode 100644 index 00000000..2c72038e --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-small@2x.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-small@3x.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-small@3x.png Binary files differnew file mode 100644 index 00000000..5c37dfc2 --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon-small@3x.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon.png Binary files differnew file mode 100644 index 00000000..b2571a71 --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon@2x.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon@2x.png Binary files differnew file mode 100644 index 00000000..d75098f5 --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/AppIcon.appiconset/icon@2x.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/Contents.json b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/Contents.json new file mode 100644 index 00000000..da4a164c --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +}
\ No newline at end of file diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Contents.json b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Contents.json new file mode 100644 index 00000000..175f378c --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Contents.json @@ -0,0 +1,156 @@ +{ + "images" : [ + { + "extent" : "full-screen", + "idiom" : "iphone", + "subtype" : "736h", + "filename" : "Default-736h.png", + "minimum-system-version" : "8.0", + "orientation" : "portrait", + "scale" : "3x" + }, + { + "extent" : "full-screen", + "idiom" : "iphone", + "subtype" : "736h", + "filename" : "Default-Landscape-736h.png", + "minimum-system-version" : "8.0", + "orientation" : "landscape", + "scale" : "3x" + }, + { + "extent" : "full-screen", + "idiom" : "iphone", + "subtype" : "667h", + "filename" : "Default-667h.png", + "minimum-system-version" : "8.0", + "orientation" : "portrait", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "filename" : "Default@2x~iphone.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "extent" : "full-screen", + "idiom" : "iphone", + "subtype" : "retina4", + "filename" : "Default-568h@2x~iphone.png", + "minimum-system-version" : "7.0", + "orientation" : "portrait", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "filename" : "Default-Portrait~ipad.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "1x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "filename" : "Default-Landscape~ipad.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "1x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "filename" : "Default-Portrait@2x~ipad.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "filename" : "Default-Landscape@2x~ipad.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "filename" : "Default~iphone.png", + "extent" : "full-screen", + "scale" : "1x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "filename" : "Default@2x~iphone.png", + "extent" : "full-screen", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "filename" : "Default-568h@2x~iphone.png", + "extent" : "full-screen", + "subtype" : "retina4", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "extent" : "to-status-bar", + "scale" : "1x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "filename" : "Default-Portrait~ipad.png", + "extent" : "full-screen", + "scale" : "1x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "extent" : "to-status-bar", + "scale" : "1x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "extent" : "full-screen", + "scale" : "1x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "extent" : "to-status-bar", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "filename" : "Default-Portrait@2x~ipad.png", + "extent" : "full-screen", + "scale" : "2x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "extent" : "to-status-bar", + "scale" : "2x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "extent" : "full-screen", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +}
\ No newline at end of file diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png Binary files differnew file mode 100644 index 00000000..10ed683c --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-667h.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-667h.png Binary files differnew file mode 100644 index 00000000..d9bcf61d --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-667h.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-736h.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-736h.png Binary files differnew file mode 100644 index 00000000..1fcef229 --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-736h.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png Binary files differnew file mode 100644 index 00000000..eae0792d --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png Binary files differnew file mode 100644 index 00000000..1fc8c7db --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png Binary files differnew file mode 100644 index 00000000..58ea2fbd --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png Binary files differnew file mode 100644 index 00000000..1570b37d --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png Binary files differnew file mode 100644 index 00000000..223e75d0 --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png Binary files differnew file mode 100644 index 00000000..0098dc73 --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default~iphone.png b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default~iphone.png Binary files differnew file mode 100644 index 00000000..42b8fdea --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchImage.launchimage/Default~iphone.png diff --git a/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchStoryboard.imageset/Contents.json b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchStoryboard.imageset/Contents.json new file mode 100644 index 00000000..71f82acb --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island/Images.xcassets/LaunchStoryboard.imageset/Contents.json @@ -0,0 +1,168 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + }, + { + "idiom" : "universal", + "scale" : "1x", + "height-class" : "compact" + }, + { + "idiom" : "universal", + "scale" : "2x", + "height-class" : "compact" + }, + { + "idiom" : "universal", + "height-class" : "compact", + "scale" : "3x" + }, + { + "idiom" : "universal", + "scale" : "1x", + "width-class" : "compact" + }, + { + "idiom" : "universal", + "width-class" : "compact", + "scale" : "2x" + }, + { + "idiom" : "universal", + "width-class" : "compact", + "scale" : "3x" + }, + { + "idiom" : "universal", + "width-class" : "compact", + "height-class" : "compact", + "scale" : "1x" + }, + { + "idiom" : "universal", + "width-class" : "compact", + "height-class" : "compact", + "scale" : "2x" + }, + { + "idiom" : "universal", + "width-class" : "compact", + "height-class" : "compact", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "scale" : "1x" + }, + { + "idiom" : "iphone", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "scale" : "1x", + "height-class" : "compact" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "height-class" : "compact" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "height-class" : "compact" + }, + { + "idiom" : "iphone", + "scale" : "1x", + "width-class" : "compact" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "width-class" : "compact" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "width-class" : "compact" + }, + { + "idiom" : "iphone", + "width-class" : "compact", + "height-class" : "compact", + "scale" : "1x" + }, + { + "idiom" : "iphone", + "width-class" : "compact", + "height-class" : "compact", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "width-class" : "compact", + "height-class" : "compact", + "scale" : "3x" + }, + { + "idiom" : "ipad", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "height-class" : "compact" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "height-class" : "compact" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "width-class" : "compact" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "width-class" : "compact" + }, + { + "idiom" : "ipad", + "width-class" : "compact", + "height-class" : "compact", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "width-class" : "compact", + "height-class" : "compact", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +}
\ No newline at end of file diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/README b/StoneIsland/platforms/ios/Stone Island/Plugins/README index 87df09f2..87df09f2 100755..100644 --- a/StoneIsland/platforms/ios/Stone Island/Plugins/README +++ b/StoneIsland/platforms/ios/Stone Island/Plugins/README 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 Binary files differindex 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 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" diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/cordova-plugin-splashscreen/CDVSplashScreen.h b/StoneIsland/platforms/ios/Stone Island/Plugins/cordova-plugin-splashscreen/CDVSplashScreen.h index 0d6ae397..0d6ae397 100755..100644 --- a/StoneIsland/platforms/ios/Stone Island/Plugins/cordova-plugin-splashscreen/CDVSplashScreen.h +++ b/StoneIsland/platforms/ios/Stone Island/Plugins/cordova-plugin-splashscreen/CDVSplashScreen.h diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/cordova-plugin-splashscreen/CDVSplashScreen.m b/StoneIsland/platforms/ios/Stone Island/Plugins/cordova-plugin-splashscreen/CDVSplashScreen.m index 43b356ad..a1add304 100755..100644 --- a/StoneIsland/platforms/ios/Stone Island/Plugins/cordova-plugin-splashscreen/CDVSplashScreen.m +++ b/StoneIsland/platforms/ios/Stone Island/Plugins/cordova-plugin-splashscreen/CDVSplashScreen.m @@ -22,14 +22,14 @@ #import <Cordova/CDVScreenOrientationDelegate.h> #import "CDVViewController+SplashScreen.h" -#define kSplashScreenDurationDefault 0.25f +#define kSplashScreenDurationDefault 3000.0f @implementation CDVSplashScreen - (void)pluginInitialize { - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(pageDidLoad) name:CDVPageDidLoadNotification object:self.webView]; + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(pageDidLoad) name:CDVPageDidLoadNotification object:nil]; [self setVisible:YES]; } @@ -82,11 +82,16 @@ NSString* topActivityIndicator = [self.commandDelegate.settings objectForKey:[@"TopActivityIndicator" lowercaseString]]; UIActivityIndicatorViewStyle topActivityIndicatorStyle = UIActivityIndicatorViewStyleGray; - if ([topActivityIndicator isEqualToString:@"whiteLarge"]) { + if ([topActivityIndicator isEqualToString:@"whiteLarge"]) + { topActivityIndicatorStyle = UIActivityIndicatorViewStyleWhiteLarge; - } else if ([topActivityIndicator isEqualToString:@"white"]) { + } + else if ([topActivityIndicator isEqualToString:@"white"]) + { topActivityIndicatorStyle = UIActivityIndicatorViewStyleWhite; - } else if ([topActivityIndicator isEqualToString:@"gray"]) { + } + else if ([topActivityIndicator isEqualToString:@"gray"]) + { topActivityIndicatorStyle = UIActivityIndicatorViewStyleGray; } @@ -104,7 +109,8 @@ id showSplashScreenSpinnerValue = [self.commandDelegate.settings objectForKey:[@"ShowSplashScreenSpinner" lowercaseString]]; // backwards compatibility - if key is missing, default to true - if ((showSplashScreenSpinnerValue == nil) || [showSplashScreenSpinnerValue boolValue]) { + if ((showSplashScreenSpinnerValue == nil) || [showSplashScreenSpinnerValue boolValue]) + { [parentView addSubview:_activityView]; } @@ -116,6 +122,12 @@ [self updateImage]; } +- (void)hideViews +{ + [_imageView setAlpha:0]; + [_activityView setAlpha:0]; +} + - (void)destroyViews { [(CDVViewController *)self.viewController setEnabledAutorotation:[(CDVViewController *)self.viewController shouldAutorotateDefaultValue]]; @@ -167,21 +179,33 @@ // this means there are no mixed orientations in there BOOL isOrientationLocked = !(supportsPortrait && supportsLandscape); - if (imageName) { + if (imageName) + { imageName = [imageName stringByDeletingPathExtension]; - } else { + } + else + { imageName = @"Default"; } - if (device.iPhone5) { // does not support landscape + if (device.iPhone5) + { // does not support landscape imageName = [imageName stringByAppendingString:@"-568h"]; - } else if (device.iPhone6) { // does not support landscape + } + else if (device.iPhone6) + { // does not support landscape imageName = [imageName stringByAppendingString:@"-667h"]; - } else if (device.iPhone6Plus) { // supports landscape - if (isOrientationLocked) { + } + else if (device.iPhone6Plus) + { // supports landscape + if (isOrientationLocked) + { imageName = [imageName stringByAppendingString:(supportsLandscape ? @"-Landscape" : @"")]; - } else { - switch (currentOrientation) { + } + else + { + switch (currentOrientation) + { case UIInterfaceOrientationLandscapeLeft: case UIInterfaceOrientationLandscapeRight: imageName = [imageName stringByAppendingString:@"-Landscape"]; @@ -192,11 +216,17 @@ } imageName = [imageName stringByAppendingString:@"-736h"]; - } else if (device.iPad) { // supports landscape - if (isOrientationLocked) { + } + else if (device.iPad) + { // supports landscape + if (isOrientationLocked) + { imageName = [imageName stringByAppendingString:(supportsLandscape ? @"-Landscape" : @"-Portrait")]; - } else { - switch (currentOrientation) { + } + else + { + switch (currentOrientation) + { case UIInterfaceOrientationLandscapeLeft: case UIInterfaceOrientationLandscapeRight: imageName = [imageName stringByAppendingString:@"-Landscape"]; @@ -219,16 +249,20 @@ { NSString* imageName = [self getImageName:[[UIApplication sharedApplication] statusBarOrientation] delegate:(id<CDVScreenOrientationDelegate>)self.viewController device:[self getCurrentDevice]]; - if (![imageName isEqualToString:_curImageName]) { + if (![imageName isEqualToString:_curImageName]) + { UIImage* img = [UIImage imageNamed:imageName]; _imageView.image = img; _curImageName = imageName; } // Check that splash screen's image exists before updating bounds - if (_imageView.image) { + if (_imageView.image) + { [self updateBounds]; - } else { + } + else + { NSLog(@"WARNING: The splashscreen image named %@ was not found", imageName); } } @@ -248,26 +282,34 @@ * correctly. */ BOOL isIPad = [[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad; - if (UIInterfaceOrientationIsLandscape(orientation) && !isIPad) { + if (UIInterfaceOrientationIsLandscape(orientation) && !isIPad) + { imgTransform = CGAffineTransformMakeRotation(M_PI / 2); imgBounds.size = CGSizeMake(imgBounds.size.height, imgBounds.size.width); } // There's a special case when the image is the size of the screen. - if (CGSizeEqualToSize(screenSize, imgBounds.size)) { + if (CGSizeEqualToSize(screenSize, imgBounds.size)) + { CGRect statusFrame = [self.viewController.view convertRect:[UIApplication sharedApplication].statusBarFrame fromView:nil]; - if (!(IsAtLeastiOSVersion(@"7.0"))) { + if (!(IsAtLeastiOSVersion(@"7.0"))) + { imgBounds.origin.y -= statusFrame.size.height; } - } else if (imgBounds.size.width > 0) { + } + else if (imgBounds.size.width > 0) + { CGRect viewBounds = self.viewController.view.bounds; CGFloat imgAspect = imgBounds.size.width / imgBounds.size.height; CGFloat viewAspect = viewBounds.size.width / viewBounds.size.height; // This matches the behaviour of the native splash screen. CGFloat ratio; - if (viewAspect > imgAspect) { + if (viewAspect > imgAspect) + { ratio = viewBounds.size.width / imgBounds.size.width; - } else { + } + else + { ratio = viewBounds.size.height / imgBounds.size.height; } imgBounds.size.height *= ratio; @@ -280,50 +322,54 @@ - (void)setVisible:(BOOL)visible { - if (visible == _visible) { - return; - } - _visible = visible; + if (visible != _visible) + { + _visible = visible; - id fadeSplashScreenValue = [self.commandDelegate.settings objectForKey:[@"FadeSplashScreen" lowercaseString]]; - id fadeSplashScreenDuration = [self.commandDelegate.settings objectForKey:[@"FadeSplashScreenDuration" lowercaseString]]; + id fadeSplashScreenValue = [self.commandDelegate.settings objectForKey:[@"FadeSplashScreen" lowercaseString]]; + id fadeSplashScreenDuration = [self.commandDelegate.settings objectForKey:[@"FadeSplashScreenDuration" lowercaseString]]; - float fadeDuration = fadeSplashScreenDuration == nil ? kSplashScreenDurationDefault : [fadeSplashScreenDuration floatValue]; + float fadeDuration = fadeSplashScreenDuration == nil ? kSplashScreenDurationDefault : [fadeSplashScreenDuration floatValue]; - if ((fadeSplashScreenValue == nil) || ![fadeSplashScreenValue boolValue]) { - fadeDuration = 0; - } - - // Never animate the showing of the splash screen. - if (visible) { - if (_imageView == nil) { - [self createViews]; + if ((fadeSplashScreenValue == nil) || ![fadeSplashScreenValue boolValue]) + { + fadeDuration = 0; + } + else if(fadeDuration < 30) + { + // [CB-9750] This value used to be in decimal seconds, so we will assume that if someone specifies 10 + // they mean 10 seconds, and not the meaningless 10ms + fadeDuration *= 1000; + } + + if (_visible) + { + if (_imageView == nil) + { + [self createViews]; + } + } + else if (fadeDuration == 0) + { + [self destroyViews]; + } + else + { + __weak __typeof(self) weakSelf = self; + [UIView transitionWithView:self.viewController.view + duration:(fadeDuration / 1000) + options:UIViewAnimationOptionTransitionNone + animations:^(void) { + [weakSelf hideViews]; + } + completion:^(BOOL finished) { + if (finished) { + [weakSelf destroyViews]; + // TODO: It might also be nice to have a js event happen here -jm + } + } + ]; } - } else if (fadeDuration == 0) { - [self destroyViews]; - } else { - __weak __typeof(self) weakSelf = self; - - [UIView transitionWithView:self.viewController.view - duration:fadeDuration - options:UIViewAnimationOptionTransitionNone - animations:^(void) { - __typeof(self) strongSelf = weakSelf; - if (strongSelf != nil) { - dispatch_async(dispatch_get_main_queue(), ^{ - [strongSelf->_activityView setAlpha:0]; - [strongSelf->_imageView setAlpha:0]; - }); - } - } - completion:^(BOOL finished) { - if (finished) { - dispatch_async(dispatch_get_main_queue(), ^{ - [weakSelf destroyViews]; - }); - } - } - ]; } } diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/cordova-plugin-splashscreen/CDVViewController+SplashScreen.h b/StoneIsland/platforms/ios/Stone Island/Plugins/cordova-plugin-splashscreen/CDVViewController+SplashScreen.h index a948ea31..a948ea31 100755..100644 --- a/StoneIsland/platforms/ios/Stone Island/Plugins/cordova-plugin-splashscreen/CDVViewController+SplashScreen.h +++ b/StoneIsland/platforms/ios/Stone Island/Plugins/cordova-plugin-splashscreen/CDVViewController+SplashScreen.h diff --git a/StoneIsland/platforms/ios/Stone Island/Plugins/cordova-plugin-splashscreen/CDVViewController+SplashScreen.m b/StoneIsland/platforms/ios/Stone Island/Plugins/cordova-plugin-splashscreen/CDVViewController+SplashScreen.m index 5736b6f2..5736b6f2 100755..100644 --- a/StoneIsland/platforms/ios/Stone Island/Plugins/cordova-plugin-splashscreen/CDVViewController+SplashScreen.m +++ b/StoneIsland/platforms/ios/Stone Island/Plugins/cordova-plugin-splashscreen/CDVViewController+SplashScreen.m diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-40.png b/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-40.png Binary files differdeleted file mode 100755 index 6234d357..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-40.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-40@2x.png b/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-40@2x.png Binary files differdeleted file mode 100755 index 1f417b6a..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-40@2x.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-50.png b/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-50.png Binary files differdeleted file mode 100755 index 48b83e00..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-50.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-50@2x.png b/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-50@2x.png Binary files differdeleted file mode 100755 index 214899d7..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-50@2x.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-60.png b/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-60.png Binary files differdeleted file mode 100755 index eb0e8577..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-60.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-60@2x.png b/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-60@2x.png Binary files differdeleted file mode 100755 index f790d9e7..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-60@2x.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-60@3x.png b/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-60@3x.png Binary files differdeleted file mode 100755 index e3df8b92..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-60@3x.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-72.png b/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-72.png Binary files differdeleted file mode 100755 index eb9ef36b..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-72.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-72@2x.png b/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-72@2x.png Binary files differdeleted file mode 100755 index add109d8..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-72@2x.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-76.png b/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-76.png Binary files differdeleted file mode 100755 index c3bcf073..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-76.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-76@2x.png b/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-76@2x.png Binary files differdeleted file mode 100755 index 4b757ba9..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-76@2x.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-small.png b/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-small.png Binary files differdeleted file mode 100755 index b4d688f5..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-small.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-small@2x.png b/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-small@2x.png Binary files differdeleted file mode 100755 index 055d4761..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon-small@2x.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon.png b/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon.png Binary files differdeleted file mode 100755 index c898ad8b..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon@2x.png b/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon@2x.png Binary files differdeleted file mode 100755 index a633fcbb..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/icons/icon@2x.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-568h@2x~iphone.png b/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-568h@2x~iphone.png Binary files differdeleted file mode 100755 index 47079c45..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-568h@2x~iphone.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-667h.png b/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-667h.png Binary files differdeleted file mode 100755 index 57a8f40e..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-667h.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-736h.png b/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-736h.png Binary files differdeleted file mode 100755 index 2f00da21..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-736h.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-Landscape-736h.png b/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-Landscape-736h.png Binary files differdeleted file mode 100755 index fc6512f7..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-Landscape-736h.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-Landscape@2x~ipad.png b/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-Landscape@2x~ipad.png Binary files differdeleted file mode 100755 index f0fa0658..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-Landscape@2x~ipad.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-Landscape~ipad.png b/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-Landscape~ipad.png Binary files differdeleted file mode 100755 index 89964903..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-Landscape~ipad.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-Portrait@2x~ipad.png b/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-Portrait@2x~ipad.png Binary files differdeleted file mode 100755 index 9002f6f3..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-Portrait@2x~ipad.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-Portrait~ipad.png b/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-Portrait~ipad.png Binary files differdeleted file mode 100755 index 2916e875..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default-Portrait~ipad.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default@2x~iphone.png b/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default@2x~iphone.png Binary files differdeleted file mode 100755 index 13ada67a..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default@2x~iphone.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default~iphone.png b/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default~iphone.png Binary files differdeleted file mode 100755 index 19d2b2ae..00000000 --- a/StoneIsland/platforms/ios/Stone Island/Resources/splash/Default~iphone.png +++ /dev/null diff --git a/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist b/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist index a8e57f0b..903a41d6 100755..100644 --- a/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist +++ b/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist @@ -8,46 +8,10 @@ <string>${PRODUCT_NAME}</string> <key>CFBundleExecutable</key> <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIconFile</key> - <string>icon.png</string> <key>CFBundleIcons</key> - <dict> - <key>CFBundlePrimaryIcon</key> - <dict> - <key>CFBundleIconFiles</key> - <array> - <string>icon-40</string> - <string>icon-small</string> - <string>icon-60</string> - <string>icon.png</string> - <string>icon@2x</string> - <string>icon-72</string> - <string>icon-72@2x</string> - </array> - <key>UIPrerenderedIcon</key> - <false/> - </dict> - </dict> + <dict/> <key>CFBundleIcons~ipad</key> - <dict> - <key>CFBundlePrimaryIcon</key> - <dict> - <key>CFBundleIconFiles</key> - <array> - <string>icon-small</string> - <string>icon-40</string> - <string>icon-50</string> - <string>icon-76</string> - <string>icon-60</string> - <string>icon</string> - <string>icon@2x</string> - <string>icon-72</string> - <string>icon-72@2x</string> - </array> - <key>UIPrerenderedIcon</key> - <false/> - </dict> - </dict> + <dict/> <key>CFBundleIdentifier</key> <string>us.okfoc.stoneisland</string> <key>CFBundleInfoDictionaryVersion</key> @@ -60,154 +24,49 @@ <string>0.6.1</string> <key>CFBundleSignature</key> <string>????</string> - <key>CFBundleURLTypes</key> - <array> - <dict> - <key>CFBundleURLSchemes</key> - <array> - <string>stoneisland</string> - </array> - </dict> - </array> <key>CFBundleVersion</key> <string>0.6.1</string> - <key>LSApplicationQueriesSchemes</key> + <key>LSRequiresIPhoneOS</key> + <true/> + <key>NSMainNibFile</key> + <string/> + <key>NSMainNibFile~ipad</key> + <string/> + <key>UISupportedInterfaceOrientations</key> <array> - <string>youtube</string> + <string>UIInterfaceOrientationPortrait</string> + <string>UIInterfaceOrientationPortraitUpsideDown</string> </array> - <key>LSRequiresIPhoneOS</key> + <key>UISupportedInterfaceOrientations~ipad</key> + <array> + <string>UIInterfaceOrientationPortrait</string> + <string>UIInterfaceOrientationPortraitUpsideDown</string> + </array> + <key>UIRequiresFullScreen</key> <true/> <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict> - <key>NSLocationWhenInUseUsageDescription</key> - <string/> - <key>NSMainNibFile~ipad</key> - <string/> - <key>UIBackgroundModes</key> - <array> - <string>remote-notification</string> - </array> <key>UIInterfaceOrientation</key> <array> <string>UIInterfaceOrientationPortrait</string> </array> - <key>UILaunchImages</key> + <key>CFBundleURLTypes</key> <array> <dict> - <key>UILaunchImageMinimumOSVersion</key> - <string>8.0</string> - <key>UILaunchImageName</key> - <string>Default</string> - <key>UILaunchImageOrientation</key> - <string>Portrait</string> - <key>UILaunchImageSize</key> - <string>{320, 480}</string> - </dict> - <dict> - <key>UILaunchImageMinimumOSVersion</key> - <string>8.0</string> - <key>UILaunchImageName</key> - <string>Default</string> - <key>UILaunchImageOrientation</key> - <string>Landscape</string> - <key>UILaunchImageSize</key> - <string>{320, 480}</string> - </dict> - <dict> - <key>UILaunchImageMinimumOSVersion</key> - <string>8.0</string> - <key>UILaunchImageName</key> - <string>Default-568h</string> - <key>UILaunchImageOrientation</key> - <string>Portrait</string> - <key>UILaunchImageSize</key> - <string>{320, 568}</string> - </dict> - <dict> - <key>UILaunchImageMinimumOSVersion</key> - <string>8.0</string> - <key>UILaunchImageName</key> - <string>Default-568h</string> - <key>UILaunchImageOrientation</key> - <string>Landscape</string> - <key>UILaunchImageSize</key> - <string>{320, 568}</string> - </dict> - <dict> - <key>UILaunchImageMinimumOSVersion</key> - <string>8.0</string> - <key>UILaunchImageName</key> - <string>Default-667h</string> - <key>UILaunchImageOrientation</key> - <string>Portrait</string> - <key>UILaunchImageSize</key> - <string>{375, 667}</string> - </dict> - <dict> - <key>UILaunchImageMinimumOSVersion</key> - <string>8.0</string> - <key>UILaunchImageName</key> - <string>Default-667h</string> - <key>UILaunchImageOrientation</key> - <string>Landscape</string> - <key>UILaunchImageSize</key> - <string>{375, 667}</string> - </dict> - <dict> - <key>UILaunchImageMinimumOSVersion</key> - <string>8.0</string> - <key>UILaunchImageName</key> - <string>Default-736h</string> - <key>UILaunchImageOrientation</key> - <string>Portrait</string> - <key>UILaunchImageSize</key> - <string>{414, 736}</string> - </dict> - <dict> - <key>UILaunchImageMinimumOSVersion</key> - <string>8.0</string> - <key>UILaunchImageName</key> - <string>Default-Landscape-736h</string> - <key>UILaunchImageOrientation</key> - <string>Landscape</string> - <key>UILaunchImageSize</key> - <string>{414, 736}</string> - </dict> - <dict> - <key>UILaunchImageMinimumOSVersion</key> - <string>8.0</string> - <key>UILaunchImageName</key> - <string>Default-Portrait</string> - <key>UILaunchImageOrientation</key> - <string>Portrait</string> - <key>UILaunchImageSize</key> - <string>{768, 1024}</string> - </dict> - <dict> - <key>UILaunchImageMinimumOSVersion</key> - <string>8.0</string> - <key>UILaunchImageName</key> - <string>Default-Landscape</string> - <key>UILaunchImageOrientation</key> - <string>Landscape</string> - <key>UILaunchImageSize</key> - <string>{768, 1024}</string> + <key>CFBundleURLSchemes</key> + <array> + <string>stoneisland</string> + </array> </dict> </array> - <key>UIRequiresFullScreen</key> - <true/> - <key>UISupportedInterfaceOrientations</key> - <array> - <string>UIInterfaceOrientationPortrait</string> - <string>UIInterfaceOrientationPortraitUpsideDown</string> - </array> - <key>UISupportedInterfaceOrientations~ipad</key> + <key>NSLocationWhenInUseUsageDescription</key> + <string/> + <key>UIBackgroundModes</key> <array> - <string>UIInterfaceOrientationPortrait</string> - <string>UIInterfaceOrientationPortraitUpsideDown</string> + <string>remote-notification</string> </array> </dict> </plist>
\ No newline at end of file diff --git a/StoneIsland/platforms/ios/Stone Island/Stone Island-Prefix.pch b/StoneIsland/platforms/ios/Stone Island/Stone Island-Prefix.pch index d1b4e1e8..d1b4e1e8 100755..100644 --- a/StoneIsland/platforms/ios/Stone Island/Stone Island-Prefix.pch +++ b/StoneIsland/platforms/ios/Stone Island/Stone Island-Prefix.pch diff --git a/StoneIsland/platforms/ios/Stone Island/config.xml b/StoneIsland/platforms/ios/Stone Island/config.xml index 4b1803b1..90d98387 100755 --- a/StoneIsland/platforms/ios/Stone Island/config.xml +++ b/StoneIsland/platforms/ios/Stone Island/config.xml @@ -3,9 +3,24 @@ <feature name="LocalStorage"> <param name="ios-package" value="CDVLocalStorage" /> </feature> + <feature name="HandleOpenUrl"> + <param name="ios-package" value="CDVHandleOpenURL" /> + <param name="onload" value="true" /> + </feature> + <feature name="IntentAndNavigationFilter"> + <param name="ios-package" value="CDVIntentAndNavigationFilter" /> + <param name="onload" value="true" /> + </feature> + <feature name="GestureHandler"> + <param name="ios-package" value="CDVGestureHandler" /> + <param name="onload" value="true" /> + </feature> <feature name="Keyboard"> <param name="ios-package" onload="true" value="IonicKeyboard" /> </feature> + <feature name="ParsePlugin"> + <param name="ios-package" value="CDVParsePlugin" /> + </feature> <feature name="Console"> <param name="ios-package" value="CDVLogger" /> </feature> @@ -18,6 +33,9 @@ <feature name="Geolocation"> <param name="ios-package" value="CDVLocation" /> </feature> + <feature name="InAppBrowser"> + <param name="ios-package" value="CDVInAppBrowser" /> + </feature> <feature name="NetworkStatus"> <param name="ios-package" value="CDVConnection" /> </feature> @@ -32,12 +50,6 @@ <feature name="PushNotification"> <param name="ios-package" value="PushPlugin" /> </feature> - <feature name="InAppBrowser"> - <param name="ios-package" value="CDVInAppBrowser" /> - </feature> - <feature name="ParsePlugin"> - <param name="ios-package" value="CDVParsePlugin" /> - </feature> <name>Stone Island</name> <description> Stone Island @@ -55,13 +67,15 @@ <allow-intent href="geo:*" /> <allow-intent href="itms:*" /> <allow-intent href="itms-apps:*" /> - <preference name="AllowInlineMediaPlayback" value="false" /> + <preference name="AllowInlineMediaPlayback" value="true" /> <preference name="BackupWebStorage" value="local" /> <preference name="DisallowOverscroll" value="true" /> <preference name="EnableViewportScale" value="true" /> <preference name="KeyboardDisplayRequiresUserAction" value="false" /> <preference name="MediaPlaybackRequiresUserAction" value="false" /> <preference name="SuppressesIncrementalRendering" value="true" /> + <preference name="SuppressesLongPressGesture" value="false" /> + <preference name="Suppresses3DTouchGesture" value="false" /> <preference name="GapBetweenPages" value="0" /> <preference name="PageLength" value="0" /> <preference name="PaginationBreakingMode" value="page" /> diff --git a/StoneIsland/platforms/ios/Stone Island/main.m b/StoneIsland/platforms/ios/Stone Island/main.m index 2c0b35c3..2c0b35c3 100755..100644 --- a/StoneIsland/platforms/ios/Stone Island/main.m +++ b/StoneIsland/platforms/ios/Stone Island/main.m |
