Skip to content

Commit

Permalink
3.3.14 - Fix Crunchyroll detection, update AppCenter
Browse files Browse the repository at this point in the history
  • Loading branch information
千代田桃 committed Oct 23, 2022
1 parent 26c15fe commit aa3d5c5
Show file tree
Hide file tree
Showing 54 changed files with 476 additions and 359 deletions.
Binary file modified AppCenter.framework/Versions/A/AppCenter
Binary file not shown.
23 changes: 22 additions & 1 deletion AppCenter.framework/Versions/A/Headers/AppCenter.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,40 @@

#import <Foundation/Foundation.h>

#if __has_include(<AppCenter/MSACAppCenter.h>)
#import <AppCenter/MSACAbstractLog.h>
#import <AppCenter/MSACAppCenter.h>
#import <AppCenter/MSACAppCenterErrors.h>
#import <AppCenter/MSACChannelGroupProtocol.h>
#import <AppCenter/MSACChannelProtocol.h>
#import <AppCenter/MSACConstants+Flags.h>
#import <AppCenter/MSACConstants.h>
#import <AppCenter/MSACDevice.h>
#import <AppCenter/MSACEnable.h>
#import <AppCenter/MSACLog.h>
#import <AppCenter/MSACLogWithProperties.h>
#import <AppCenter/MSACLogger.h>
#import <AppCenter/MSACSerializableObject.h>
#import <AppCenter/MSACService.h>
#import <AppCenter/MSACServiceAbstract.h>
#import <AppCenter/MSACWrapperLogger.h>
#import <AppCenter/MSACWrapperSdk.h>
#else
#import "MSACAbstractLog.h"
#import "MSACAppCenter.h"
#import "MSACAppCenterErrors.h"
#import "MSACChannelGroupProtocol.h"
#import "MSACChannelProtocol.h"
#import "MSACConstants+Flags.h"
#import "MSACConstants.h"
#import "MSACCustomProperties.h"
#import "MSACDevice.h"
#import "MSACEnable.h"
#import "MSACLog.h"
#import "MSACLogWithProperties.h"
#import "MSACLogger.h"
#import "MSACSerializableObject.h"
#import "MSACService.h"
#import "MSACServiceAbstract.h"
#import "MSACWrapperLogger.h"
#import "MSACWrapperSdk.h"
#endif
38 changes: 21 additions & 17 deletions AppCenter.framework/Versions/A/Headers/MSACAppCenter.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@

#import <Foundation/Foundation.h>

#ifndef MSAC_APP_CENTER
#define MSAC_APP_CENTER

#if __has_include(<AppCenter/MSACConstants.h>)
#import <AppCenter/MSACConstants.h>
#else
#import "MSACConstants.h"
#endif

@class MSACWrapperSdk;

#if !TARGET_OS_TV
@class MSACCustomProperties;
#endif

NS_SWIFT_NAME(AppCenter)
@interface MSACAppCenter : NSObject

Expand Down Expand Up @@ -88,6 +91,14 @@ NS_SWIFT_NAME(AppCenter)
*/
@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled);

/**
* Flag indicating whether SDK can send network requests.
*
* The state is persisted in the device's storage across application launches.
*/
@property(class, nonatomic, getter=isNetworkRequestsAllowed, setter=setNetworkRequestsAllowed:)
BOOL networkRequestsAllowed NS_SWIFT_NAME(networkRequestsAllowed);

/**
* The SDK's log level.
*/
Expand All @@ -96,7 +107,7 @@ NS_SWIFT_NAME(AppCenter)
/**
* Base URL to use for backend communication.
*/
@property(class, nonatomic) NSString *logUrl;
@property(class, nonatomic, strong) NSString *logUrl;

/**
* Set log handler.
Expand All @@ -107,16 +118,7 @@ NS_SWIFT_NAME(AppCenter)
* Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App
* Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk.
*/
@property(class, nonatomic) MSACWrapperSdk *wrapperSdk;

#if !TARGET_OS_TV
/**
* Set the custom properties.
*
* @param customProperties Custom properties object.
*/
+ (void)setCustomProperties:(MSACCustomProperties *)customProperties;
#endif
@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk;

/**
* Check whether the application delegate forwarder is enabled or not.
Expand Down Expand Up @@ -174,13 +176,15 @@ NS_SWIFT_NAME(AppCenter)
*
* AppCenter must be configured or started before this API can be used.
*/
@property(class, nonatomic) NSString *userId;
@property(class, nonatomic, strong) NSString *userId;

/**
* Set country code to use when building device properties.
*
* @see https://www.iso.org/obp/ui/#search for more information.
*/
@property(class, nonatomic) NSString *countryCode;
@property(class, nonatomic, strong) NSString *countryCode;

@end

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@

#import <Foundation/Foundation.h>

#if __has_include(<AppCenter/MSACChannelProtocol.h>)
#import <AppCenter/MSACChannelProtocol.h>
#else
#import "MSACChannelProtocol.h"
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down Expand Up @@ -47,12 +51,12 @@ NS_SWIFT_NAME(ChannelGroupProtocol)
/**
* Change the base URL (schema + authority + port only) used to communicate with the backend.
*/
@property(nonatomic) NSString *_Nullable logUrl;
@property(nonatomic, strong) NSString *_Nullable logUrl;

/**
* Set the app secret.
*/
@property(nonatomic) NSString *_Nullable appSecret;
@property(nonatomic, strong) NSString *_Nullable appSecret;

/**
* Set the maximum size of the internal storage. This method must be called before App Center is started.
Expand Down
4 changes: 4 additions & 0 deletions AppCenter.framework/Versions/A/Headers/MSACChannelProtocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@

#import <Foundation/Foundation.h>

#if __has_include(<AppCenter/MSACEnable.h>)
#import <AppCenter/MSACEnable.h>
#else
#import "MSACEnable.h"
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
71 changes: 0 additions & 71 deletions AppCenter.framework/Versions/A/Headers/MSACCustomProperties.h

This file was deleted.

4 changes: 4 additions & 0 deletions AppCenter.framework/Versions/A/Headers/MSACDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@

#import <Foundation/Foundation.h>

#if __has_include(<AppCenter/MSACWrapperSdk.h>)
#import <AppCenter/MSACWrapperSdk.h>
#else
#import "MSACWrapperSdk.h"
#endif

NS_SWIFT_NAME(Device)
@interface MSACDevice : MSACWrapperSdk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@

#import <Foundation/Foundation.h>

#if __has_include(<AppCenter/MSACAbstractLog.h>)
#import <AppCenter/MSACAbstractLog.h>
#else
#import "MSACAbstractLog.h"
#endif

NS_SWIFT_NAME(LogWithProperties)
@interface MSACLogWithProperties : MSACAbstractLog
Expand Down
9 changes: 9 additions & 0 deletions AppCenter.framework/Versions/A/Headers/MSACLogger.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@

#import <Foundation/Foundation.h>

#ifndef MSAC_LOGGER
#define MSAC_LOGGER

#if __has_include(<AppCenter/MSACConstants.h>)
#import <AppCenter/MSACConstants.h>
#else
#import "MSACConstants.h"
#endif

#define MSACLog(_level, _tag, _message) \
[MSACLogger logMessage:_message level:_level tag:_tag file:__FILE__ function:__PRETTY_FUNCTION__ line:__LINE__]
Expand Down Expand Up @@ -43,3 +50,5 @@ NS_SWIFT_NAME(Logger)
line:(uint)line;

@end

#endif
19 changes: 19 additions & 0 deletions AppCenter.framework/Versions/A/Headers/MSACSerializableObject.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#import <Foundation/Foundation.h>

#ifndef SERIALIZABLE_OBJECT_H
#define SERIALIZABLE_OBJECT_H

@protocol MSACSerializableObject <NSCoding>

/**
* Serialize this object to a dictionary.
*
* @return A dictionary representing this object.
*/
- (NSMutableDictionary *)serializeToDictionary;

@end
#endif
4 changes: 4 additions & 0 deletions AppCenter.framework/Versions/A/Headers/MSACServiceAbstract.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@

#import <Foundation/Foundation.h>

#if __has_include(<AppCenter/MSACService.h>)
#import <AppCenter/MSACService.h>
#else
#import "MSACService.h"
#endif

@protocol MSACChannelGroupProtocol;

Expand Down
4 changes: 4 additions & 0 deletions AppCenter.framework/Versions/A/Headers/MSACWrapperLogger.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@

#import <Foundation/Foundation.h>

#if __has_include(<AppCenter/MSACConstants.h>)
#import <AppCenter/MSACConstants.h>
#else
#import "MSACConstants.h"
#endif

/**
* This is a utility for producing App Center style log messages. It is only intended for use by App Center services and wrapper SDKs of App
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
@protocol MSACChannelProtocol;
@protocol MSACLog;

NS_ASSUME_NONNULL_BEGIN

@protocol MSACChannelDelegate <NSObject>

@optional
Expand Down Expand Up @@ -69,7 +71,7 @@
* @param log The log to be sent.
* @param error The error that occured.
*/
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(NSError *)error;
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(nullable NSError *)error;

/**
* A callback that is called when setEnabled has been invoked.
Expand Down Expand Up @@ -108,3 +110,5 @@
- (BOOL)channelUnit:(id<MSACChannelUnitProtocol>)channelUnit shouldFilterLog:(id<MSACLog>)log;

@end

NS_ASSUME_NONNULL_END
2 changes: 1 addition & 1 deletion AppCenter.framework/Versions/A/Resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>19H15</string>
<string>19H1922</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand Down
Binary file modified AppCenterAnalytics.framework/Versions/A/AppCenterAnalytics
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,18 @@

#import <Foundation/Foundation.h>

#import "MSACAbstractLog.h"
#if __has_include(<AppCenterAnalytics/MSACAnalytics.h>)
#import <AppCenterAnalytics/MSACAnalytics.h>
#import <AppCenterAnalytics/MSACAnalyticsAuthenticationProvider.h>
#import <AppCenterAnalytics/MSACAnalyticsAuthenticationProviderDelegate.h>
#import <AppCenterAnalytics/MSACAnalyticsTransmissionTarget.h>
#import <AppCenterAnalytics/MSACEventLog.h>
#import <AppCenterAnalytics/MSACEventProperties.h>
#else
#import "MSACAnalytics.h"
#import "MSACAnalyticsAuthenticationProvider.h"
#import "MSACAnalyticsAuthenticationProviderDelegate.h"
#import "MSACAnalyticsTransmissionTarget.h"
#import "MSACConstants+Flags.h"
#import "MSACEventLog.h"
#import "MSACEventProperties.h"
#endif
14 changes: 0 additions & 14 deletions AppCenterAnalytics.framework/Versions/A/Headers/MSACAbstractLog.h

This file was deleted.

Loading

0 comments on commit aa3d5c5

Please sign in to comment.