Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
iOS - Delay bluetooth prompt until it's absolutely needed (#1359)
Browse files Browse the repository at this point in the history
* use google-cast-sdk-no-bluetooth
  • Loading branch information
mumer92 committed May 12, 2020
1 parent db2bcf8 commit 0f0c26c
Show file tree
Hide file tree
Showing 86 changed files with 54 additions and 1,909 deletions.
Binary file modified Libraries/Cast/GoogleCast.framework/GoogleCast
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion Libraries/Cast/GoogleCast.framework/Headers/GCKDefines.h
Expand Up @@ -4,7 +4,7 @@

#define GCK_VERSION_MAJOR 4
#define GCK_VERSION_MINOR 4
#define GCK_VERSION_FIX 5
#define GCK_VERSION_FIX 7

#define GCK_VERSION_IS_LESS_THAN(__major, __minor, __fix) \
((__major > GCK_VERSION_MAJOR) \
Expand Down
38 changes: 35 additions & 3 deletions Libraries/Cast/GoogleCast.framework/Headers/GCKLaunchOptions.h
Expand Up @@ -7,7 +7,8 @@
NS_ASSUME_NONNULL_BEGIN

/**
* Receiver application launch options.
* Receiver application launch options. Changes to this object must be made before passing it to the
* GCKCastContext.
*/
GCK_EXPORT
@interface GCKLaunchOptions : NSObject <NSCopying, NSSecureCoding>
Expand All @@ -21,6 +22,14 @@ GCK_EXPORT
*/
@property(nonatomic, assign) BOOL relaunchIfRunning;

/**
* A flag indicating whether the sender application supports casting to an Android TV application.
* Default value is <code>NO</code>.
*
* @since 4.4.7
*/
@property(nonatomic, assign) BOOL androidReceiverCompatible;

/** Initializes the object with default values. */
- (instancetype)init;

Expand All @@ -31,8 +40,7 @@ GCK_EXPORT
- (instancetype)initWithRelaunchIfRunning:(BOOL)relaunchIfRunning;

/**
* Designated initializer. Initializes the object with the specified language code and
* relaunch behavior.
* Initializes the object with the specified language code and relaunch behavior.
*
* @param languageCode The language code as per RFC 5646.
* @param relaunchIfRunning A flag indicating whether the receiver application should be relaunched
Expand All @@ -41,6 +49,30 @@ GCK_EXPORT
- (instancetype)initWithLanguageCode:(nullable NSString *)languageCode
relaunchIfRunning:(BOOL)relaunchIfRunning;

/**
* Initializes the object with the sender device's language code, the specified relaunch
* behavior and if the sender application supports Android TV application.
*
* @since 4.4.7
*/
- (instancetype)initWithRelaunchIfRunning:(BOOL)relaunchIfRunning
androidReceiverCompatible:(BOOL)androidReceiverCompatible;

/**
* Designated initializer. Initializes the object with the specified language code,
* relaunch behavior and support for Android TV application.
*
* @param relaunchIfRunning A flag indicating whether the receiver application should be relaunched
* @param languageCode The language code as per RFC 5646.
* @param androidReceiverCompatible A flag indicating whether the sender application supports
* Android application on the receiver side.
*
* @since 4.4.7
*/
- (instancetype)initWithRelaunchIfRunning:(BOOL)relaunchIfRunning
languageCode:(nullable NSString *)languageCode
androidReceiverCompatible:(BOOL)androidReceiverCompatible;

@end

NS_ASSUME_NONNULL_END
Expand Up @@ -110,7 +110,10 @@ GCK_EXPORT
@property(nonatomic, readonly, nullable) GCKVASTAdsRequest *VMAP;

/**
* The epoch time in seconds of the stream start time.
* The epoch time, in seconds, of a live stream's start time.
* For live streams that have a known start time, e.g. a live TV show or sport game, it would be the
* epoch time that the event started. Otherwise, it will be start time of the live seekable range
* when the streaming started.
*
* @since 4.4.1
*/
Expand Down
Expand Up @@ -27,7 +27,7 @@ typedef NS_ENUM(NSInteger, GCKMediaQueueContainerType) {
};

/**
* A container metadata of media queue.
* Additional metadata for the media queue container.
*
* @since 4.4.1
*/
Expand Down
Expand Up @@ -44,7 +44,7 @@ typedef NS_ENUM(NSInteger, GCKMediaQueueType) {
};

/**
* A container for media queue data.
* A class that holds the information of the playing queue or media container.
*
* @since 4.4.1
*/
Expand Down
4 changes: 2 additions & 2 deletions Libraries/Cast/GoogleCast.framework/Headers/GoogleCast.h
@@ -1,6 +1,6 @@
// GoogleCast Framework
// Build generated on Fri Sep 20 12:54:23 PDT 2019.
// Copyright 2013-2019 Google Inc.
// Build generated on Mon Feb 24 11:36:36 PST 2020.
// Copyright 2013-2020 Google Inc.


#import <GoogleCast/GCKAdBreakClipInfo.h>
Expand Down
Binary file modified Libraries/Cast/GoogleCast.framework/Info.plist
Binary file not shown.
Expand Up @@ -5,7 +5,6 @@ framework module GoogleCast {
module * { export * }

link framework "CFNetwork"
link framework "CoreBluetooth"
link framework "CoreText"
link framework "Foundation"
link framework "MediaAccessibility"
Expand Down

0 comments on commit 0f0c26c

Please sign in to comment.