Compare commits

..
336 changed files with 5640 additions and 28465 deletions

No files matched your search

-2
View File
@@ -1,2 +0,0 @@
github: lwouis
patreon: lwouis
+1 -7
View File
@@ -13,7 +13,7 @@ A clear and concise description of what the bug is. What happened, and what you
**Screenshots / video**
Add screenshots to help explain your problem. You can also record your screen to show the bug in action. That is *really* helpful!
Add screenshots to help explain your problem. You can also use Loom to easily record your screen to show the bug in action. That is *really* helpful!
**Steps to reproduce the bug**
@@ -21,9 +21,3 @@ Add screenshots to help explain your problem. You can also record your screen to
2. Click on '....'
3. Scroll down to '....'
4. See error
**Your environment**
* AltTab version:
* macOS version:
* Other relevant info: e.g. using external keyboard, multiple monitors, etc
+3 -5
View File
@@ -1,9 +1,8 @@
branches:
only:
- master
- develop
os: osx
osx_image: xcode13.4
osx_image: xcode12.3
language: node_js
node_js:
- 10
@@ -21,14 +20,13 @@ env:
- APP_NAME="$(awk -F ' = ' '/PRODUCT_NAME/ { print $2; }' < config/base.xcconfig)"
install: true # disable default install
script: scripts/travis.sh
before_deploy: if [[ $TRAVIS_TEST_RESULT == 1 ]]; then echo "build failed; exiting to prevent deploy phases"; sleep 2; exit 1; fi
deploy:
provider: releases
token:
secure: wZUHfOs+JQ0ikNMJ8BnM+8fuoQdhgOEQpNd01ueZxe760GAAjSbq1icME8qaYJJMk1G6n14jo9ecEhzxF0XV8hSdy4WtikK7l5SXiOx5Efuh/tNscmHggGk235eLwQD9pglePZsP3xJUB1BHEj260rypkjnSx5kVOfLUeB1ASeg4+KdxZd2vXjwel+YQf+dYbNUYtwoWqjiLbqT1ao+0q04MPgD2c9jb+HnsA94LUGb44lPXqfUJ+xG2LxBpcDW/q1JhFXL/AmJb0dOOEVzzrBqfWysPukgPMONexZse4c3BBqkMI52ZuF3OoEVAffofmuGKiR5OoyU/hW17xi9jGeb79r+Xt4RdaJAgwcn7/7GtemYKUJp8jhLGsy9XZJShENX7UHTkP3L4iyOrd2Wz+ctZWAebyNReLt985/xTaplpDiQrPcKAuQNBa4sgWk5rIsf7Z0tcBfZau/fQl9Q4100xTbwC+GeAbL0IyXG3kVzQGsGllXHr/2JM1sj7rmKA7lmDlp7xiOBCPscn2YCT87U+F6VbYoNvnxne0igQOUwrvX4qa4XlYrUXDeHcyKku0m8znY74nOu+m6LXkIt8r29pi6Xac0/ZGMwKZRUvKg/skamWPRoy9DAVd8TBQW1c91oYKmqDQRy0eWnD6X1djcKywJ7WlSQDejebJql0h+o=
secure: wcAMT2rbXhhdk6lsc6EG9VZZkSW0BjOwjYSyXzHjKrgiXsQcZAzAsOkuisj8EfeYN9/uhpa8XX7f5KsdkE5reMqVGGWqdmJU4NnmK5Aew0LmBbzFHfffliQecVCzMmGYPmhPcDxAjidYxgCMrMbvQFaElc0WXdIsQNcaNieSkEgZw6TwGsTxgHXABD2e575K3SN/PPcq7Nx5mRZkURI7YLmo2KfsD2OPR4IcEXFpJRFbPcAZIpKaHUIC2VzpayJA93pBe+siwU150p04PzfSs/nTH/nUO9m24SUi6kAIzVN77cExvX+JDnQoVLz0V45L0iJjkKDTVb07rVOsfm6Pcuaaj2ZVXlpujSb7B5LDUIspUn/NnqMLOtzbSTuaGcx2u+zCcC0b17KooznilQ/sFq3YpeNdmjL4VL5fsw1hdpjcP6S9DqZ90TJZqy6xBQP5NubuJukH//BRilhWGfnq5rOFUlqrN8aApJ7gYry0K2rB8rVWWvA9cU+zX351iy0EERICEU6q3rQwq8gFUbdNATPJJgNg7n0PaNXSQTTF9VluZTRVUtMrpA0hWe7dn+Tvrvhrnhmqvccw3Qfw/i3SECIDHHtsjwLqHCx5gkz/xUdf7+t3k6x+r6Veua0Z3jvyVhdHprU47VTSUhM/n87EiKyNRuKa9IpA18eSlZ59exU=
file_glob: true
file: "$XCODE_BUILD_PATH/*.zip"
skip_cleanup: true
on:
repo: lwouis/alt-tab-macos
after_deploy: scripts/after_deploy.sh
after_deploy: scripts/update_homebrew_cask.sh
+2
View File
@@ -52,5 +52,7 @@
<string>2e9SQOBoaKElchSa/4QDli/nvYkyuDNfynfzBF6vJK4=</string>
<key>SUScheduledCheckInterval</key>
<string>604800</string>
<key>NSAppleEventsUsageDescription</key>
<string>$(PRODUCT_NAME) needs this permission to toggle "Start at login"</string>
</dict>
</plist>
+2 -2
View File
@@ -4,7 +4,7 @@ target 'alt-tab-macos' do
use_frameworks!
pod 'LetsMove', :git => 'https://github.com/lwouis/LetsMove.git', :commit => '7abf4daed1a25218f2b52f2dfd190aee5a50071c'
pod 'Sparkle', :podspec => 'https://raw.githubusercontent.com/lwouis/Sparkle/fix-iframe-popup-1.24/Sparkle.podspec'
pod 'ShortcutRecorder', :git => 'https://github.com/lwouis/ShortcutRecorder.git', :branch => 'alt-tab-current'
pod 'ShortcutRecorder', :git => 'https://github.com/Kentzo/ShortcutRecorder.git', :commit => 'f718220854575bad86fa89dd2bb3decd0b14b2b0'
pod 'SwiftyMarkdown', '1.1.0'
pod 'AppCenter/Crashes', '4.3.0'
pod 'AppCenter/Crashes', '4.1.0'
end
+10 -10
View File
@@ -1,6 +1,6 @@
PODS:
- AppCenter/Core (4.3.0)
- AppCenter/Crashes (4.3.0):
- AppCenter/Core (4.1.0)
- AppCenter/Crashes (4.1.0):
- AppCenter/Core
- LetsMove (1.24)
- ShortcutRecorder (3.1)
@@ -8,9 +8,9 @@ PODS:
- SwiftyMarkdown (1.1.0)
DEPENDENCIES:
- AppCenter/Crashes (= 4.3.0)
- AppCenter/Crashes (= 4.1.0)
- LetsMove (from `https://github.com/lwouis/LetsMove.git`, commit `7abf4daed1a25218f2b52f2dfd190aee5a50071c`)
- ShortcutRecorder (from `https://github.com/lwouis/ShortcutRecorder.git`, branch `alt-tab-current`)
- ShortcutRecorder (from `https://github.com/Kentzo/ShortcutRecorder.git`, commit `f718220854575bad86fa89dd2bb3decd0b14b2b0`)
- Sparkle (from `https://raw.githubusercontent.com/lwouis/Sparkle/fix-iframe-popup-1.24/Sparkle.podspec`)
- SwiftyMarkdown (= 1.1.0)
@@ -24,8 +24,8 @@ EXTERNAL SOURCES:
:commit: 7abf4daed1a25218f2b52f2dfd190aee5a50071c
:git: https://github.com/lwouis/LetsMove.git
ShortcutRecorder:
:branch: alt-tab-current
:git: https://github.com/lwouis/ShortcutRecorder.git
:commit: f718220854575bad86fa89dd2bb3decd0b14b2b0
:git: https://github.com/Kentzo/ShortcutRecorder.git
Sparkle:
:podspec: https://raw.githubusercontent.com/lwouis/Sparkle/fix-iframe-popup-1.24/Sparkle.podspec
@@ -34,16 +34,16 @@ CHECKOUT OPTIONS:
:commit: 7abf4daed1a25218f2b52f2dfd190aee5a50071c
:git: https://github.com/lwouis/LetsMove.git
ShortcutRecorder:
:commit: 5bb32febdab48038ce1762bf14f5ce8024b11fe7
:git: https://github.com/lwouis/ShortcutRecorder.git
:commit: f718220854575bad86fa89dd2bb3decd0b14b2b0
:git: https://github.com/Kentzo/ShortcutRecorder.git
SPEC CHECKSUMS:
AppCenter: 883369ab78427b0561c688158d689dfe1f993ea9
AppCenter: 8832b158d17e54845c3b88a91076218f0b07174d
LetsMove: fefe56bc7bc7fb7d37049e28a14f297961229fc5
ShortcutRecorder: fdf620aca34101b0cba3b10fca815e0459254189
Sparkle: 1fa490bb4ab2a9b37cfb9ea4feec19dd33b81cd2
SwiftyMarkdown: 033abc9dad9a37903f81aec5188cade436f40520
PODFILE CHECKSUM: db137cd4263235b552493949169a44f7e874a90f
PODFILE CHECKSUM: 6102fea2825ff3bd342fd007b8e6322858c9474e
COCOAPODS: 1.9.1
@@ -6,15 +6,18 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>tvos-arm64</string>
<string>ios-arm64_arm64e_armv7_armv7s</string>
<key>LibraryPath</key>
<string>AppCenter.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>arm64e</string>
<string>armv7</string>
<string>armv7s</string>
</array>
<key>SupportedPlatform</key>
<string>tvos</string>
<string>ios</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
@@ -31,6 +34,18 @@
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>tvos-arm64</string>
<key>LibraryPath</key>
<string>AppCenter.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>tvos</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
@@ -49,18 +64,16 @@
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_arm64e_armv7_armv7s</string>
<string>macos-arm64_x86_64</string>
<key>LibraryPath</key>
<string>AppCenter.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>arm64e</string>
<string>armv7</string>
<string>armv7s</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<string>macos</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
@@ -77,19 +90,6 @@
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>macos-arm64_x86_64</string>
<key>LibraryPath</key>
<string>AppCenter.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>macos</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
@@ -17,7 +17,6 @@
#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>
@@ -36,7 +35,6 @@
#import "MSACLog.h"
#import "MSACLogWithProperties.h"
#import "MSACLogger.h"
#import "MSACSerializableObject.h"
#import "MSACService.h"
#import "MSACServiceAbstract.h"
#import "MSACWrapperLogger.h"
@@ -95,14 +95,6 @@ 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.
*/
@@ -111,7 +103,7 @@ NS_SWIFT_NAME(AppCenter)
/**
* Base URL to use for backend communication.
*/
@property(class, nonatomic, strong) NSString *logUrl;
@property(class, nonatomic) NSString *logUrl;
/**
* Set log handler.
@@ -122,7 +114,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, strong) MSACWrapperSdk *wrapperSdk;
@property(class, nonatomic) MSACWrapperSdk *wrapperSdk;
#if !TARGET_OS_TV
/**
@@ -189,14 +181,14 @@ NS_SWIFT_NAME(AppCenter)
*
* AppCenter must be configured or started before this API can be used.
*/
@property(class, nonatomic, strong) NSString *userId;
@property(class, nonatomic) 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, strong) NSString *countryCode;
@property(class, nonatomic) NSString *countryCode;
@end
@@ -51,12 +51,12 @@ NS_SWIFT_NAME(ChannelGroupProtocol)
/**
* Change the base URL (schema + authority + port only) used to communicate with the backend.
*/
@property(nonatomic, strong) NSString *_Nullable logUrl;
@property(nonatomic) NSString *_Nullable logUrl;
/**
* Set the app secret.
*/
@property(nonatomic, strong) NSString *_Nullable appSecret;
@property(nonatomic) NSString *_Nullable appSecret;
/**
* Set the maximum size of the internal storage. This method must be called before App Center is started.
@@ -1,19 +0,0 @@
// 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
@@ -10,8 +10,6 @@
@protocol MSACChannelProtocol;
@protocol MSACLog;
NS_ASSUME_NONNULL_BEGIN
@protocol MSACChannelDelegate <NSObject>
@optional
@@ -71,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param log The log to be sent.
* @param error The error that occured.
*/
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(nullable NSError *)error;
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(NSError *)error;
/**
* A callback that is called when setEnabled has been invoked.
@@ -110,5 +108,3 @@ NS_ASSUME_NONNULL_BEGIN
- (BOOL)channelUnit:(id<MSACChannelUnitProtocol>)channelUnit shouldFilterLog:(id<MSACLog>)log;
@end
NS_ASSUME_NONNULL_END
@@ -17,7 +17,6 @@
#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>
@@ -36,7 +35,6 @@
#import "MSACLog.h"
#import "MSACLogWithProperties.h"
#import "MSACLogger.h"
#import "MSACSerializableObject.h"
#import "MSACService.h"
#import "MSACServiceAbstract.h"
#import "MSACWrapperLogger.h"
@@ -95,14 +95,6 @@ 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.
*/
@@ -111,7 +103,7 @@ NS_SWIFT_NAME(AppCenter)
/**
* Base URL to use for backend communication.
*/
@property(class, nonatomic, strong) NSString *logUrl;
@property(class, nonatomic) NSString *logUrl;
/**
* Set log handler.
@@ -122,7 +114,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, strong) MSACWrapperSdk *wrapperSdk;
@property(class, nonatomic) MSACWrapperSdk *wrapperSdk;
#if !TARGET_OS_TV
/**
@@ -189,14 +181,14 @@ NS_SWIFT_NAME(AppCenter)
*
* AppCenter must be configured or started before this API can be used.
*/
@property(class, nonatomic, strong) NSString *userId;
@property(class, nonatomic) 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, strong) NSString *countryCode;
@property(class, nonatomic) NSString *countryCode;
@end
@@ -51,12 +51,12 @@ NS_SWIFT_NAME(ChannelGroupProtocol)
/**
* Change the base URL (schema + authority + port only) used to communicate with the backend.
*/
@property(nonatomic, strong) NSString *_Nullable logUrl;
@property(nonatomic) NSString *_Nullable logUrl;
/**
* Set the app secret.
*/
@property(nonatomic, strong) NSString *_Nullable appSecret;
@property(nonatomic) NSString *_Nullable appSecret;
/**
* Set the maximum size of the internal storage. This method must be called before App Center is started.
@@ -1,19 +0,0 @@
// 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
@@ -10,8 +10,6 @@
@protocol MSACChannelProtocol;
@protocol MSACLog;
NS_ASSUME_NONNULL_BEGIN
@protocol MSACChannelDelegate <NSObject>
@optional
@@ -71,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param log The log to be sent.
* @param error The error that occured.
*/
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(nullable NSError *)error;
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(NSError *)error;
/**
* A callback that is called when setEnabled has been invoked.
@@ -110,5 +108,3 @@ NS_ASSUME_NONNULL_BEGIN
- (BOOL)channelUnit:(id<MSACChannelUnitProtocol>)channelUnit shouldFilterLog:(id<MSACLog>)log;
@end
NS_ASSUME_NONNULL_END
@@ -6,7 +6,7 @@
<dict>
<key>Headers/AppCenter.h</key>
<data>
w9sW6K7DVhGfORLCjGXijaR25m0=
qaTNZSZUTXwLe2rrosDNCarRqAM=
</data>
<key>Headers/MSACAbstractLog.h</key>
<data>
@@ -14,7 +14,7 @@
</data>
<key>Headers/MSACAppCenter.h</key>
<data>
2cUgfgx3odOGivdk+n6FXq94KgU=
fyZS3gRJvUizXP6KoVErqu2xyZE=
</data>
<key>Headers/MSACAppCenterErrors.h</key>
<data>
@@ -22,7 +22,7 @@
</data>
<key>Headers/MSACChannelGroupProtocol.h</key>
<data>
jyWCHN4PSygLVy0IM5565DvDQAc=
3ucRib1Bg8/nTJfvHHieHPd9o+s=
</data>
<key>Headers/MSACChannelProtocol.h</key>
<data>
@@ -60,10 +60,6 @@
<data>
CaYHmB3+psy5/txfMvd2+bWGJkc=
</data>
<key>Headers/MSACSerializableObject.h</key>
<data>
or5nqKvOQVn2ZieUCmYK6fIZkWY=
</data>
<key>Headers/MSACService.h</key>
<data>
lz5atiMe+oTdu9e6g74KPC0CjOs=
@@ -82,7 +78,7 @@
</data>
<key>Info.plist</key>
<data>
vQsDzcm1lLcpUNIaE5cw31rdoVk=
zdZ/cUUa6uXVQ4cqVo6u7Rs1B38=
</data>
<key>Modules/module.modulemap</key>
<data>
@@ -90,7 +86,7 @@
</data>
<key>PrivateHeaders/MSACChannelDelegate.h</key>
<data>
Msff4BZ/b1IjaYeKTDBHtNtT7wI=
WzX9TX1oxW4ezY/2JpPNH9dUE24=
</data>
</dict>
<key>files2</key>
@@ -99,11 +95,11 @@
<dict>
<key>hash</key>
<data>
w9sW6K7DVhGfORLCjGXijaR25m0=
qaTNZSZUTXwLe2rrosDNCarRqAM=
</data>
<key>hash2</key>
<data>
e9qe35Ew1pz0RMBfwa2Jv+3188p8iTwwktkIgCa/ztg=
2Wv2BhvzEcs7qHle8K3IXhWh7EVoAIrE2gOs4b0p39c=
</data>
</dict>
<key>Headers/MSACAbstractLog.h</key>
@@ -121,11 +117,11 @@
<dict>
<key>hash</key>
<data>
2cUgfgx3odOGivdk+n6FXq94KgU=
fyZS3gRJvUizXP6KoVErqu2xyZE=
</data>
<key>hash2</key>
<data>
C10z0NrhN4J4qdWbypOdjlQ8QLlq4tvPMP21geOS4vI=
nuBkrbyOl3jAk9o5WoL4cSZAFLBmtD3D0NhUzZh8XZ4=
</data>
</dict>
<key>Headers/MSACAppCenterErrors.h</key>
@@ -143,11 +139,11 @@
<dict>
<key>hash</key>
<data>
jyWCHN4PSygLVy0IM5565DvDQAc=
3ucRib1Bg8/nTJfvHHieHPd9o+s=
</data>
<key>hash2</key>
<data>
d36rCjxsURqDkFv+g5BwWNybz5Zksc9B91gqArFcJbk=
ZygIkpz0WRFePrjQafoN7MektFloCZQARlOWc3ozcVw=
</data>
</dict>
<key>Headers/MSACChannelProtocol.h</key>
@@ -249,17 +245,6 @@
GipSaz+D+Z5eWauQP+10U8xvbAnxPeIRD4HTvn0F5DQ=
</data>
</dict>
<key>Headers/MSACSerializableObject.h</key>
<dict>
<key>hash</key>
<data>
or5nqKvOQVn2ZieUCmYK6fIZkWY=
</data>
<key>hash2</key>
<data>
TdCeoNla8kUqc5HPES6WNwi7ycy+4vRr3HGDipEXNVE=
</data>
</dict>
<key>Headers/MSACService.h</key>
<dict>
<key>hash</key>
@@ -319,11 +304,11 @@
<dict>
<key>hash</key>
<data>
Msff4BZ/b1IjaYeKTDBHtNtT7wI=
WzX9TX1oxW4ezY/2JpPNH9dUE24=
</data>
<key>hash2</key>
<data>
d1uS+ptvOX/o3CCB23FEJAtvcf7KIf/8ozlruAf1f0g=
AbAoifmIR5SJez5erJnVgTIz81yIMmvbnw6siYXEvaM=
</data>
</dict>
</dict>
@@ -17,7 +17,6 @@
#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>
@@ -36,7 +35,6 @@
#import "MSACLog.h"
#import "MSACLogWithProperties.h"
#import "MSACLogger.h"
#import "MSACSerializableObject.h"
#import "MSACService.h"
#import "MSACServiceAbstract.h"
#import "MSACWrapperLogger.h"
@@ -95,14 +95,6 @@ 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.
*/
@@ -111,7 +103,7 @@ NS_SWIFT_NAME(AppCenter)
/**
* Base URL to use for backend communication.
*/
@property(class, nonatomic, strong) NSString *logUrl;
@property(class, nonatomic) NSString *logUrl;
/**
* Set log handler.
@@ -122,7 +114,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, strong) MSACWrapperSdk *wrapperSdk;
@property(class, nonatomic) MSACWrapperSdk *wrapperSdk;
#if !TARGET_OS_TV
/**
@@ -189,14 +181,14 @@ NS_SWIFT_NAME(AppCenter)
*
* AppCenter must be configured or started before this API can be used.
*/
@property(class, nonatomic, strong) NSString *userId;
@property(class, nonatomic) 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, strong) NSString *countryCode;
@property(class, nonatomic) NSString *countryCode;
@end
@@ -51,12 +51,12 @@ NS_SWIFT_NAME(ChannelGroupProtocol)
/**
* Change the base URL (schema + authority + port only) used to communicate with the backend.
*/
@property(nonatomic, strong) NSString *_Nullable logUrl;
@property(nonatomic) NSString *_Nullable logUrl;
/**
* Set the app secret.
*/
@property(nonatomic, strong) NSString *_Nullable appSecret;
@property(nonatomic) NSString *_Nullable appSecret;
/**
* Set the maximum size of the internal storage. This method must be called before App Center is started.
@@ -1,19 +0,0 @@
// 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
@@ -10,8 +10,6 @@
@protocol MSACChannelProtocol;
@protocol MSACLog;
NS_ASSUME_NONNULL_BEGIN
@protocol MSACChannelDelegate <NSObject>
@optional
@@ -71,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param log The log to be sent.
* @param error The error that occured.
*/
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(nullable NSError *)error;
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(NSError *)error;
/**
* A callback that is called when setEnabled has been invoked.
@@ -110,5 +108,3 @@ NS_ASSUME_NONNULL_BEGIN
- (BOOL)channelUnit:(id<MSACChannelUnitProtocol>)channelUnit shouldFilterLog:(id<MSACLog>)log;
@end
NS_ASSUME_NONNULL_END
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>19H1323</string>
<string>19H15</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
@@ -17,7 +17,6 @@
#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>
@@ -36,7 +35,6 @@
#import "MSACLog.h"
#import "MSACLogWithProperties.h"
#import "MSACLogger.h"
#import "MSACSerializableObject.h"
#import "MSACService.h"
#import "MSACServiceAbstract.h"
#import "MSACWrapperLogger.h"
@@ -95,14 +95,6 @@ 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.
*/
@@ -111,7 +103,7 @@ NS_SWIFT_NAME(AppCenter)
/**
* Base URL to use for backend communication.
*/
@property(class, nonatomic, strong) NSString *logUrl;
@property(class, nonatomic) NSString *logUrl;
/**
* Set log handler.
@@ -122,7 +114,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, strong) MSACWrapperSdk *wrapperSdk;
@property(class, nonatomic) MSACWrapperSdk *wrapperSdk;
#if !TARGET_OS_TV
/**
@@ -189,14 +181,14 @@ NS_SWIFT_NAME(AppCenter)
*
* AppCenter must be configured or started before this API can be used.
*/
@property(class, nonatomic, strong) NSString *userId;
@property(class, nonatomic) 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, strong) NSString *countryCode;
@property(class, nonatomic) NSString *countryCode;
@end
@@ -51,12 +51,12 @@ NS_SWIFT_NAME(ChannelGroupProtocol)
/**
* Change the base URL (schema + authority + port only) used to communicate with the backend.
*/
@property(nonatomic, strong) NSString *_Nullable logUrl;
@property(nonatomic) NSString *_Nullable logUrl;
/**
* Set the app secret.
*/
@property(nonatomic, strong) NSString *_Nullable appSecret;
@property(nonatomic) NSString *_Nullable appSecret;
/**
* Set the maximum size of the internal storage. This method must be called before App Center is started.
@@ -1,19 +0,0 @@
// 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
@@ -10,8 +10,6 @@
@protocol MSACChannelProtocol;
@protocol MSACLog;
NS_ASSUME_NONNULL_BEGIN
@protocol MSACChannelDelegate <NSObject>
@optional
@@ -71,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param log The log to be sent.
* @param error The error that occured.
*/
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(nullable NSError *)error;
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(NSError *)error;
/**
* A callback that is called when setEnabled has been invoked.
@@ -110,5 +108,3 @@ NS_ASSUME_NONNULL_BEGIN
- (BOOL)channelUnit:(id<MSACChannelUnitProtocol>)channelUnit shouldFilterLog:(id<MSACLog>)log;
@end
NS_ASSUME_NONNULL_END
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>19H1323</string>
<string>19H15</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
@@ -17,7 +17,6 @@
#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>
@@ -36,7 +35,6 @@
#import "MSACLog.h"
#import "MSACLogWithProperties.h"
#import "MSACLogger.h"
#import "MSACSerializableObject.h"
#import "MSACService.h"
#import "MSACServiceAbstract.h"
#import "MSACWrapperLogger.h"
@@ -95,14 +95,6 @@ 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.
*/
@@ -111,7 +103,7 @@ NS_SWIFT_NAME(AppCenter)
/**
* Base URL to use for backend communication.
*/
@property(class, nonatomic, strong) NSString *logUrl;
@property(class, nonatomic) NSString *logUrl;
/**
* Set log handler.
@@ -122,7 +114,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, strong) MSACWrapperSdk *wrapperSdk;
@property(class, nonatomic) MSACWrapperSdk *wrapperSdk;
#if !TARGET_OS_TV
/**
@@ -189,14 +181,14 @@ NS_SWIFT_NAME(AppCenter)
*
* AppCenter must be configured or started before this API can be used.
*/
@property(class, nonatomic, strong) NSString *userId;
@property(class, nonatomic) 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, strong) NSString *countryCode;
@property(class, nonatomic) NSString *countryCode;
@end
@@ -51,12 +51,12 @@ NS_SWIFT_NAME(ChannelGroupProtocol)
/**
* Change the base URL (schema + authority + port only) used to communicate with the backend.
*/
@property(nonatomic, strong) NSString *_Nullable logUrl;
@property(nonatomic) NSString *_Nullable logUrl;
/**
* Set the app secret.
*/
@property(nonatomic, strong) NSString *_Nullable appSecret;
@property(nonatomic) NSString *_Nullable appSecret;
/**
* Set the maximum size of the internal storage. This method must be called before App Center is started.
@@ -1,19 +0,0 @@
// 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
@@ -10,8 +10,6 @@
@protocol MSACChannelProtocol;
@protocol MSACLog;
NS_ASSUME_NONNULL_BEGIN
@protocol MSACChannelDelegate <NSObject>
@optional
@@ -71,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param log The log to be sent.
* @param error The error that occured.
*/
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(nullable NSError *)error;
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(NSError *)error;
/**
* A callback that is called when setEnabled has been invoked.
@@ -110,5 +108,3 @@ NS_ASSUME_NONNULL_BEGIN
- (BOOL)channelUnit:(id<MSACChannelUnitProtocol>)channelUnit shouldFilterLog:(id<MSACLog>)log;
@end
NS_ASSUME_NONNULL_END
@@ -17,7 +17,6 @@
#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>
@@ -36,7 +35,6 @@
#import "MSACLog.h"
#import "MSACLogWithProperties.h"
#import "MSACLogger.h"
#import "MSACSerializableObject.h"
#import "MSACService.h"
#import "MSACServiceAbstract.h"
#import "MSACWrapperLogger.h"
@@ -95,14 +95,6 @@ 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.
*/
@@ -111,7 +103,7 @@ NS_SWIFT_NAME(AppCenter)
/**
* Base URL to use for backend communication.
*/
@property(class, nonatomic, strong) NSString *logUrl;
@property(class, nonatomic) NSString *logUrl;
/**
* Set log handler.
@@ -122,7 +114,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, strong) MSACWrapperSdk *wrapperSdk;
@property(class, nonatomic) MSACWrapperSdk *wrapperSdk;
#if !TARGET_OS_TV
/**
@@ -189,14 +181,14 @@ NS_SWIFT_NAME(AppCenter)
*
* AppCenter must be configured or started before this API can be used.
*/
@property(class, nonatomic, strong) NSString *userId;
@property(class, nonatomic) 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, strong) NSString *countryCode;
@property(class, nonatomic) NSString *countryCode;
@end
@@ -51,12 +51,12 @@ NS_SWIFT_NAME(ChannelGroupProtocol)
/**
* Change the base URL (schema + authority + port only) used to communicate with the backend.
*/
@property(nonatomic, strong) NSString *_Nullable logUrl;
@property(nonatomic) NSString *_Nullable logUrl;
/**
* Set the app secret.
*/
@property(nonatomic, strong) NSString *_Nullable appSecret;
@property(nonatomic) NSString *_Nullable appSecret;
/**
* Set the maximum size of the internal storage. This method must be called before App Center is started.
@@ -1,19 +0,0 @@
// 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
@@ -10,8 +10,6 @@
@protocol MSACChannelProtocol;
@protocol MSACLog;
NS_ASSUME_NONNULL_BEGIN
@protocol MSACChannelDelegate <NSObject>
@optional
@@ -71,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param log The log to be sent.
* @param error The error that occured.
*/
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(nullable NSError *)error;
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(NSError *)error;
/**
* A callback that is called when setEnabled has been invoked.
@@ -110,5 +108,3 @@ NS_ASSUME_NONNULL_BEGIN
- (BOOL)channelUnit:(id<MSACChannelUnitProtocol>)channelUnit shouldFilterLog:(id<MSACLog>)log;
@end
NS_ASSUME_NONNULL_END
@@ -6,7 +6,7 @@
<dict>
<key>Headers/AppCenter.h</key>
<data>
w9sW6K7DVhGfORLCjGXijaR25m0=
qaTNZSZUTXwLe2rrosDNCarRqAM=
</data>
<key>Headers/MSACAbstractLog.h</key>
<data>
@@ -14,7 +14,7 @@
</data>
<key>Headers/MSACAppCenter.h</key>
<data>
2cUgfgx3odOGivdk+n6FXq94KgU=
fyZS3gRJvUizXP6KoVErqu2xyZE=
</data>
<key>Headers/MSACAppCenterErrors.h</key>
<data>
@@ -22,7 +22,7 @@
</data>
<key>Headers/MSACChannelGroupProtocol.h</key>
<data>
jyWCHN4PSygLVy0IM5565DvDQAc=
3ucRib1Bg8/nTJfvHHieHPd9o+s=
</data>
<key>Headers/MSACChannelProtocol.h</key>
<data>
@@ -60,10 +60,6 @@
<data>
CaYHmB3+psy5/txfMvd2+bWGJkc=
</data>
<key>Headers/MSACSerializableObject.h</key>
<data>
or5nqKvOQVn2ZieUCmYK6fIZkWY=
</data>
<key>Headers/MSACService.h</key>
<data>
lz5atiMe+oTdu9e6g74KPC0CjOs=
@@ -82,7 +78,7 @@
</data>
<key>Info.plist</key>
<data>
nu+ldEv5cj3rjniF8N9Pt71xz68=
7sYncZtohI81qzz4TO0ZyfxPqSM=
</data>
<key>Modules/module.modulemap</key>
<data>
@@ -90,7 +86,7 @@
</data>
<key>PrivateHeaders/MSACChannelDelegate.h</key>
<data>
Msff4BZ/b1IjaYeKTDBHtNtT7wI=
WzX9TX1oxW4ezY/2JpPNH9dUE24=
</data>
</dict>
<key>files2</key>
@@ -99,11 +95,11 @@
<dict>
<key>hash</key>
<data>
w9sW6K7DVhGfORLCjGXijaR25m0=
qaTNZSZUTXwLe2rrosDNCarRqAM=
</data>
<key>hash2</key>
<data>
e9qe35Ew1pz0RMBfwa2Jv+3188p8iTwwktkIgCa/ztg=
2Wv2BhvzEcs7qHle8K3IXhWh7EVoAIrE2gOs4b0p39c=
</data>
</dict>
<key>Headers/MSACAbstractLog.h</key>
@@ -121,11 +117,11 @@
<dict>
<key>hash</key>
<data>
2cUgfgx3odOGivdk+n6FXq94KgU=
fyZS3gRJvUizXP6KoVErqu2xyZE=
</data>
<key>hash2</key>
<data>
C10z0NrhN4J4qdWbypOdjlQ8QLlq4tvPMP21geOS4vI=
nuBkrbyOl3jAk9o5WoL4cSZAFLBmtD3D0NhUzZh8XZ4=
</data>
</dict>
<key>Headers/MSACAppCenterErrors.h</key>
@@ -143,11 +139,11 @@
<dict>
<key>hash</key>
<data>
jyWCHN4PSygLVy0IM5565DvDQAc=
3ucRib1Bg8/nTJfvHHieHPd9o+s=
</data>
<key>hash2</key>
<data>
d36rCjxsURqDkFv+g5BwWNybz5Zksc9B91gqArFcJbk=
ZygIkpz0WRFePrjQafoN7MektFloCZQARlOWc3ozcVw=
</data>
</dict>
<key>Headers/MSACChannelProtocol.h</key>
@@ -249,17 +245,6 @@
GipSaz+D+Z5eWauQP+10U8xvbAnxPeIRD4HTvn0F5DQ=
</data>
</dict>
<key>Headers/MSACSerializableObject.h</key>
<dict>
<key>hash</key>
<data>
or5nqKvOQVn2ZieUCmYK6fIZkWY=
</data>
<key>hash2</key>
<data>
TdCeoNla8kUqc5HPES6WNwi7ycy+4vRr3HGDipEXNVE=
</data>
</dict>
<key>Headers/MSACService.h</key>
<dict>
<key>hash</key>
@@ -319,11 +304,11 @@
<dict>
<key>hash</key>
<data>
Msff4BZ/b1IjaYeKTDBHtNtT7wI=
WzX9TX1oxW4ezY/2JpPNH9dUE24=
</data>
<key>hash2</key>
<data>
d1uS+ptvOX/o3CCB23FEJAtvcf7KIf/8ozlruAf1f0g=
AbAoifmIR5SJez5erJnVgTIz81yIMmvbnw6siYXEvaM=
</data>
</dict>
</dict>
@@ -6,19 +6,18 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<string>ios-arm64_arm64e_armv7_armv7s</string>
<key>LibraryPath</key>
<string>AppCenterCrashes.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
<string>arm64e</string>
<string>armv7</string>
<string>armv7s</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
@@ -32,6 +31,19 @@
<key>SupportedPlatform</key>
<string>tvos</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>macos-arm64_x86_64</string>
<key>LibraryPath</key>
<string>AppCenterCrashes.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>macos</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>tvos-arm64_x86_64-simulator</string>
@@ -47,34 +59,6 @@
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>macos-arm64_x86_64</string>
<key>LibraryPath</key>
<string>AppCenterCrashes.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>macos</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_arm64e_armv7_armv7s</string>
<key>LibraryPath</key>
<string>AppCenterCrashes.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>arm64e</string>
<string>armv7</string>
<string>armv7s</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
@@ -90,6 +74,22 @@
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>AppCenterCrashes.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
@@ -9,18 +9,12 @@
#import <AppCenterCrashes/MSACCrashesDelegate.h>
#import <AppCenterCrashes/MSACErrorAttachmentLog+Utility.h>
#import <AppCenterCrashes/MSACErrorAttachmentLog.h>
#import <AppCenterCrashes/MSACExceptionModel.h>
#import <AppCenterCrashes/MSACStackFrame.h>
#import <AppCenterCrashes/MSACWrapperCrashesHelper.h>
#import <AppCenterCrashes/MSACWrapperExceptionModel.h>
#else
#import "MSACCrashHandlerSetupDelegate.h"
#import "MSACCrashes.h"
#import "MSACCrashesDelegate.h"
#import "MSACErrorAttachmentLog+Utility.h"
#import "MSACErrorAttachmentLog.h"
#import "MSACExceptionModel.h"
#import "MSACStackFrame.h"
#import "MSACWrapperCrashesHelper.h"
#import "MSACWrapperExceptionModel.h"
#endif
@@ -14,8 +14,6 @@
#endif
@class MSACCrashesDelegate;
@class MSACExceptionModel;
@class MSACErrorAttachmentLog;
/**
* Custom block that handles the alert that prompts the user whether crash reports need to be processed or not.
@@ -71,32 +69,6 @@ typedef NS_ENUM(NSUInteger, MSACUserConfirmation) {
NS_SWIFT_NAME(Crashes)
@interface MSACCrashes : MSACServiceAbstract
/**
* Track handled error.
*
* @param error error.
* @param properties dictionary of properties.
* @param attachments a list of attachments.
*
* @return handled error ID.
*/
+ (NSString *_Nonnull)trackError:(NSError *_Nonnull)error
withProperties:(nullable NSDictionary<NSString *, NSString *> *)properties
attachments:(nullable NSArray<MSACErrorAttachmentLog *> *)attachments NS_SWIFT_NAME(trackError(_:properties:attachments:));
/**
* Track handled exception from custom exception model.
*
* @param exception custom model exception.
* @param properties dictionary of properties.
* @param attachments a list of attachments.
*
* @return handled error ID.
*/
+ (NSString *_Nonnull)trackException:(MSACExceptionModel *_Nonnull)exception
withProperties:(nullable NSDictionary<NSString *, NSString *> *)properties
attachments:(nullable NSArray<MSACErrorAttachmentLog *> *)attachments NS_SWIFT_NAME(trackException(_:properties:attachments:));
///-----------------------------------------------------------------------------
/// @name Testing Crashes Feature
///-----------------------------------------------------------------------------
@@ -51,7 +51,7 @@ NS_SWIFT_NAME(CrashesDelegate)
* @param errorReport The errorReport that App Center tried to send.
* @param error The error that occurred.
*/
- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(nullable NSError *)error;
- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(NSError *)error;
/**
* Method to get the attachments associated to an error report.
@@ -1,81 +0,0 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#import <Foundation/Foundation.h>
#ifndef MSAC_EXCEPTION_MODEL_H
#define MSAC_EXCEPTION_MODEL_H
#if __has_include(<AppCenter/MSACSerializableObject.h>)
#import <AppCenter/MSACSerializableObject.h>
#else
#import "MSACSerializableObject.h"
#endif
@class MSACStackFrame;
NS_SWIFT_NAME(ExceptionModel)
@interface MSACExceptionModel : NSObject <MSACSerializableObject>
/**
* Creates an instance of exception model.
*
* @param error error.
*
* @return A new instance of exception.
*/
- (instancetype)initWithError:(NSError *)error NS_SWIFT_NAME(init(withError:));
/**
* Creates an instance of exception model.
*
* @param exceptionType exception type.
* @param exceptionMessage exception message.
* @param stackTrace stack trace.
*
* @return A new instance of exception.
*/
- (instancetype)initWithType:(NSString *)exceptionType
exceptionMessage:(NSString *)exceptionMessage
stackTrace:(NSArray<NSString *> *)stackTrace
NS_SWIFT_NAME(init(withType:exceptionMessage:stackTrace:));
/**
* Creates an instance of exception model.
*
* @exception exception.
*
* @return A new instance of exception.
*/
- (instancetype)initWithException:(NSException *)exception NS_SWIFT_NAME(init(withException:));
/**
* Exception type.
*/
@property(nonatomic, copy) NSString *type;
/**
* Exception reason.
*/
@property(nonatomic, copy) NSString *message;
/**
* Raw stack trace. Sent when the frames property is either missing or unreliable.
*/
@property(nonatomic, copy) NSString *stackTrace;
/**
* Stack frames [optional].
*/
@property(nonatomic, strong) NSArray<MSACStackFrame *> *frames;
/**
* Checks if the object's values are valid.
*
* @return YES, if the object is valid.
*/
- (BOOL)isValid;
@end
#endif
@@ -1,44 +0,0 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#import <Foundation/Foundation.h>
#if __has_include(<AppCenter/MSACSerializableObject.h>)
#import <AppCenter/MSACSerializableObject.h>
#else
#import "MSACSerializableObject.h"
#endif
@interface MSACStackFrame : NSObject <MSACSerializableObject>
/*
* Frame address [optional].
*/
@property(nonatomic, copy) NSString *address;
/*
* Symbolized code line [optional].
*/
@property(nonatomic, copy) NSString *code;
/*
* The fully qualified name of the Class containing the execution point represented by this stack trace element [optional].
*/
@property(nonatomic, copy) NSString *className;
/*
* The name of the method containing the execution point represented by this stack trace element [optional].
*/
@property(nonatomic, copy) NSString *methodName;
/*
* The line number of the source line containing the execution point represented by this stack trace element [optional].
*/
@property(nonatomic, copy) NSNumber *lineNumber;
/*
* The name of the file containing the execution point represented by this stack trace element [optional].
*/
@property(nonatomic, copy) NSString *fileName;
@end
@@ -13,6 +13,7 @@ NS_ASSUME_NONNULL_BEGIN
@class MSACErrorReport;
@class MSACErrorAttachmentLog;
@class MSACException;
/**
* This general class allows wrappers to supplement the Crashes SDK with their own behavior.
@@ -24,7 +25,7 @@ NS_SWIFT_NAME(WrapperCrashesHelper)
* The crash handler setup delegate.
*
*/
@property(class, nonatomic, weak) _Nullable id<MSACCrashHandlerSetupDelegate> crashHandlerSetupDelegate;
@property(class, nonatomic) _Nullable id<MSACCrashHandlerSetupDelegate> crashHandlerSetupDelegate;
/**
* Gets the crash handler setup delegate.
@@ -64,6 +65,20 @@ NS_SWIFT_NAME(WrapperCrashesHelper)
*/
+ (void)sendErrorAttachments:(NSArray<MSACErrorAttachmentLog *> *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier;
/**
* Track handled exception directly as model form.
* This API is used by wrapper SDKs.
*
* @param exception model form exception.
* @param properties dictionary of properties.
* @param attachments a list of attachments.
*
* @return handled error ID.
*/
+ (nullable NSString *)trackModelException:(MSACException *)exception
withProperties:(nullable NSDictionary<NSString *, NSString *> *)properties
withAttachments:(nullable NSArray<MSACErrorAttachmentLog *> *)attachments;
/**
* Get a generic error report representation for an handled exception.
* This API is used by wrapper SDKs.
@@ -1,38 +0,0 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#import <Foundation/Foundation.h>
#ifndef MSAC_WRAPPER_EXCEPTION_MODEL_H
#define MSAC_WRAPPER_EXCEPTION_MODEL_H
#if __has_include(<AppCenterCrashes/MSACExceptionModel.h>)
#import <AppCenterCrashes/MSACExceptionModel.h>
#import <AppCenterCrashes/MSACWrapperExceptionModel.h>
#else
#import "MSACExceptionModel.h"
#import "MSACWrapperExceptionModel.h"
#endif
#if __has_include(<AppCenter/MSACSerializableObject.h>)
#import <AppCenter/MSACSerializableObject.h>
#else
#import "MSACSerializableObject.h"
#endif
@interface MSACWrapperExceptionModel : MSACExceptionModel
/*
* Inner exceptions of this exception [optional].
*/
@property(nonatomic, strong) NSArray<MSACWrapperExceptionModel *> *innerExceptions;
/*
* Name of the wrapper SDK that emitted this exception.
* Consists of the name of the SDK and the wrapper platform, e.g. "appcenter.xamarin", "appcenter.react-native" [optional].
*/
@property(nonatomic, copy) NSString *wrapperSdkName;
@end
#endif
@@ -9,18 +9,12 @@
#import <AppCenterCrashes/MSACCrashesDelegate.h>
#import <AppCenterCrashes/MSACErrorAttachmentLog+Utility.h>
#import <AppCenterCrashes/MSACErrorAttachmentLog.h>
#import <AppCenterCrashes/MSACExceptionModel.h>
#import <AppCenterCrashes/MSACStackFrame.h>
#import <AppCenterCrashes/MSACWrapperCrashesHelper.h>
#import <AppCenterCrashes/MSACWrapperExceptionModel.h>
#else
#import "MSACCrashHandlerSetupDelegate.h"
#import "MSACCrashes.h"
#import "MSACCrashesDelegate.h"
#import "MSACErrorAttachmentLog+Utility.h"
#import "MSACErrorAttachmentLog.h"
#import "MSACExceptionModel.h"
#import "MSACStackFrame.h"
#import "MSACWrapperCrashesHelper.h"
#import "MSACWrapperExceptionModel.h"
#endif
@@ -14,8 +14,6 @@
#endif
@class MSACCrashesDelegate;
@class MSACExceptionModel;
@class MSACErrorAttachmentLog;
/**
* Custom block that handles the alert that prompts the user whether crash reports need to be processed or not.
@@ -71,32 +69,6 @@ typedef NS_ENUM(NSUInteger, MSACUserConfirmation) {
NS_SWIFT_NAME(Crashes)
@interface MSACCrashes : MSACServiceAbstract
/**
* Track handled error.
*
* @param error error.
* @param properties dictionary of properties.
* @param attachments a list of attachments.
*
* @return handled error ID.
*/
+ (NSString *_Nonnull)trackError:(NSError *_Nonnull)error
withProperties:(nullable NSDictionary<NSString *, NSString *> *)properties
attachments:(nullable NSArray<MSACErrorAttachmentLog *> *)attachments NS_SWIFT_NAME(trackError(_:properties:attachments:));
/**
* Track handled exception from custom exception model.
*
* @param exception custom model exception.
* @param properties dictionary of properties.
* @param attachments a list of attachments.
*
* @return handled error ID.
*/
+ (NSString *_Nonnull)trackException:(MSACExceptionModel *_Nonnull)exception
withProperties:(nullable NSDictionary<NSString *, NSString *> *)properties
attachments:(nullable NSArray<MSACErrorAttachmentLog *> *)attachments NS_SWIFT_NAME(trackException(_:properties:attachments:));
///-----------------------------------------------------------------------------
/// @name Testing Crashes Feature
///-----------------------------------------------------------------------------
@@ -51,7 +51,7 @@ NS_SWIFT_NAME(CrashesDelegate)
* @param errorReport The errorReport that App Center tried to send.
* @param error The error that occurred.
*/
- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(nullable NSError *)error;
- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(NSError *)error;
/**
* Method to get the attachments associated to an error report.
@@ -1,81 +0,0 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#import <Foundation/Foundation.h>
#ifndef MSAC_EXCEPTION_MODEL_H
#define MSAC_EXCEPTION_MODEL_H
#if __has_include(<AppCenter/MSACSerializableObject.h>)
#import <AppCenter/MSACSerializableObject.h>
#else
#import "MSACSerializableObject.h"
#endif
@class MSACStackFrame;
NS_SWIFT_NAME(ExceptionModel)
@interface MSACExceptionModel : NSObject <MSACSerializableObject>
/**
* Creates an instance of exception model.
*
* @param error error.
*
* @return A new instance of exception.
*/
- (instancetype)initWithError:(NSError *)error NS_SWIFT_NAME(init(withError:));
/**
* Creates an instance of exception model.
*
* @param exceptionType exception type.
* @param exceptionMessage exception message.
* @param stackTrace stack trace.
*
* @return A new instance of exception.
*/
- (instancetype)initWithType:(NSString *)exceptionType
exceptionMessage:(NSString *)exceptionMessage
stackTrace:(NSArray<NSString *> *)stackTrace
NS_SWIFT_NAME(init(withType:exceptionMessage:stackTrace:));
/**
* Creates an instance of exception model.
*
* @exception exception.
*
* @return A new instance of exception.
*/
- (instancetype)initWithException:(NSException *)exception NS_SWIFT_NAME(init(withException:));
/**
* Exception type.
*/
@property(nonatomic, copy) NSString *type;
/**
* Exception reason.
*/
@property(nonatomic, copy) NSString *message;
/**
* Raw stack trace. Sent when the frames property is either missing or unreliable.
*/
@property(nonatomic, copy) NSString *stackTrace;
/**
* Stack frames [optional].
*/
@property(nonatomic, strong) NSArray<MSACStackFrame *> *frames;
/**
* Checks if the object's values are valid.
*
* @return YES, if the object is valid.
*/
- (BOOL)isValid;
@end
#endif
@@ -1,44 +0,0 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#import <Foundation/Foundation.h>
#if __has_include(<AppCenter/MSACSerializableObject.h>)
#import <AppCenter/MSACSerializableObject.h>
#else
#import "MSACSerializableObject.h"
#endif
@interface MSACStackFrame : NSObject <MSACSerializableObject>
/*
* Frame address [optional].
*/
@property(nonatomic, copy) NSString *address;
/*
* Symbolized code line [optional].
*/
@property(nonatomic, copy) NSString *code;
/*
* The fully qualified name of the Class containing the execution point represented by this stack trace element [optional].
*/
@property(nonatomic, copy) NSString *className;
/*
* The name of the method containing the execution point represented by this stack trace element [optional].
*/
@property(nonatomic, copy) NSString *methodName;
/*
* The line number of the source line containing the execution point represented by this stack trace element [optional].
*/
@property(nonatomic, copy) NSNumber *lineNumber;
/*
* The name of the file containing the execution point represented by this stack trace element [optional].
*/
@property(nonatomic, copy) NSString *fileName;
@end
@@ -13,6 +13,7 @@ NS_ASSUME_NONNULL_BEGIN
@class MSACErrorReport;
@class MSACErrorAttachmentLog;
@class MSACException;
/**
* This general class allows wrappers to supplement the Crashes SDK with their own behavior.
@@ -24,7 +25,7 @@ NS_SWIFT_NAME(WrapperCrashesHelper)
* The crash handler setup delegate.
*
*/
@property(class, nonatomic, weak) _Nullable id<MSACCrashHandlerSetupDelegate> crashHandlerSetupDelegate;
@property(class, nonatomic) _Nullable id<MSACCrashHandlerSetupDelegate> crashHandlerSetupDelegate;
/**
* Gets the crash handler setup delegate.
@@ -64,6 +65,20 @@ NS_SWIFT_NAME(WrapperCrashesHelper)
*/
+ (void)sendErrorAttachments:(NSArray<MSACErrorAttachmentLog *> *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier;
/**
* Track handled exception directly as model form.
* This API is used by wrapper SDKs.
*
* @param exception model form exception.
* @param properties dictionary of properties.
* @param attachments a list of attachments.
*
* @return handled error ID.
*/
+ (nullable NSString *)trackModelException:(MSACException *)exception
withProperties:(nullable NSDictionary<NSString *, NSString *> *)properties
withAttachments:(nullable NSArray<MSACErrorAttachmentLog *> *)attachments;
/**
* Get a generic error report representation for an handled exception.
* This API is used by wrapper SDKs.
@@ -1,38 +0,0 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#import <Foundation/Foundation.h>
#ifndef MSAC_WRAPPER_EXCEPTION_MODEL_H
#define MSAC_WRAPPER_EXCEPTION_MODEL_H
#if __has_include(<AppCenterCrashes/MSACExceptionModel.h>)
#import <AppCenterCrashes/MSACExceptionModel.h>
#import <AppCenterCrashes/MSACWrapperExceptionModel.h>
#else
#import "MSACExceptionModel.h"
#import "MSACWrapperExceptionModel.h"
#endif
#if __has_include(<AppCenter/MSACSerializableObject.h>)
#import <AppCenter/MSACSerializableObject.h>
#else
#import "MSACSerializableObject.h"
#endif
@interface MSACWrapperExceptionModel : MSACExceptionModel
/*
* Inner exceptions of this exception [optional].
*/
@property(nonatomic, strong) NSArray<MSACWrapperExceptionModel *> *innerExceptions;
/*
* Name of the wrapper SDK that emitted this exception.
* Consists of the name of the SDK and the wrapper platform, e.g. "appcenter.xamarin", "appcenter.react-native" [optional].
*/
@property(nonatomic, copy) NSString *wrapperSdkName;
@end
#endif
@@ -6,7 +6,7 @@
<dict>
<key>Headers/AppCenterCrashes.h</key>
<data>
SUQZOPrzwqVaEYuELhr7Z/cRTh0=
eS1L4vZ9uOJZWtS26mqGyfAfCvE=
</data>
<key>Headers/MSACCrashHandlerSetupDelegate.h</key>
<data>
@@ -14,11 +14,11 @@
</data>
<key>Headers/MSACCrashes.h</key>
<data>
r8P9kK348cdQnlFX6FacTW6y3+c=
eHC+/SrZ0R08kZxHQSoVyQf+vCo=
</data>
<key>Headers/MSACCrashesDelegate.h</key>
<data>
qnhKqY+vAsatzNxGZyoxFMmwIxI=
czYUE2OOoD3lc+2UHRPFMakb0jQ=
</data>
<key>Headers/MSACErrorAttachmentLog+Utility.h</key>
<data>
@@ -32,25 +32,13 @@
<data>
OZkejnc70UL+wPdiV8fw2UAcBR0=
</data>
<key>Headers/MSACExceptionModel.h</key>
<data>
FGcXjyUYzvd/LDjl0hc2Ah+1D1Q=
</data>
<key>Headers/MSACStackFrame.h</key>
<data>
j8bbwC65keur+uW6rxfIERJNFWI=
</data>
<key>Headers/MSACWrapperCrashesHelper.h</key>
<data>
XjDlLOnOWP3EG0z+nuYQDxLEVcY=
</data>
<key>Headers/MSACWrapperExceptionModel.h</key>
<data>
fTPRyH4z/TDoTMVaRXo1TWACDzI=
PRoMqamOgoTAX8mweVFBYStiziQ=
</data>
<key>Info.plist</key>
<data>
JMjfyLGFjbABfCXy4P+PQwS+lCg=
aMhE7UvcWzAgWCrN2k2rUGdH2U0=
</data>
<key>Modules/module.modulemap</key>
<data>
@@ -63,11 +51,11 @@
<dict>
<key>hash</key>
<data>
SUQZOPrzwqVaEYuELhr7Z/cRTh0=
eS1L4vZ9uOJZWtS26mqGyfAfCvE=
</data>
<key>hash2</key>
<data>
WBWD92kWeWBZQryXJRro9Jvi9658TsDl/cjdQNAbDnE=
NFGxm6YjpGCjJNEfjv5SM7MyktNj/PHvSXflRV/5FPQ=
</data>
</dict>
<key>Headers/MSACCrashHandlerSetupDelegate.h</key>
@@ -85,22 +73,22 @@
<dict>
<key>hash</key>
<data>
r8P9kK348cdQnlFX6FacTW6y3+c=
eHC+/SrZ0R08kZxHQSoVyQf+vCo=
</data>
<key>hash2</key>
<data>
ArA6Fp1CT6yjdmOgK79Q9jnEO6aqIZyUIjHFq1c5QRk=
y7g3W+WahfsOp6fIuAPSEK9JbhjeFSzuTLIVlH5ij2o=
</data>
</dict>
<key>Headers/MSACCrashesDelegate.h</key>
<dict>
<key>hash</key>
<data>
qnhKqY+vAsatzNxGZyoxFMmwIxI=
czYUE2OOoD3lc+2UHRPFMakb0jQ=
</data>
<key>hash2</key>
<data>
wBmXt8Cq5mUI+93edo6jk8yfyfYDxY35H+c4Lx6qjGE=
XWIFycuL8uPuweg15Kuzu0MAYjRG7O7p0VyVRzG0Ay0=
</data>
</dict>
<key>Headers/MSACErrorAttachmentLog+Utility.h</key>
@@ -136,48 +124,15 @@
Ph0QprvD6QWBekvlfshUpVdljO98TuiI8PRbZO/MB0Y=
</data>
</dict>
<key>Headers/MSACExceptionModel.h</key>
<dict>
<key>hash</key>
<data>
FGcXjyUYzvd/LDjl0hc2Ah+1D1Q=
</data>
<key>hash2</key>
<data>
T3IzEs/a04qDb742vNe8EJwFOZgOGMa8zyKFSCXT/Rc=
</data>
</dict>
<key>Headers/MSACStackFrame.h</key>
<dict>
<key>hash</key>
<data>
j8bbwC65keur+uW6rxfIERJNFWI=
</data>
<key>hash2</key>
<data>
mgx3oo8nZYPGWqp82VYFVJ5rj0oeEIiqnc+TOcled+I=
</data>
</dict>
<key>Headers/MSACWrapperCrashesHelper.h</key>
<dict>
<key>hash</key>
<data>
XjDlLOnOWP3EG0z+nuYQDxLEVcY=
PRoMqamOgoTAX8mweVFBYStiziQ=
</data>
<key>hash2</key>
<data>
fq9x4VE7FvWa3M3oH8XTAeaDiZdZYxv8CTdkt24maBE=
</data>
</dict>
<key>Headers/MSACWrapperExceptionModel.h</key>
<dict>
<key>hash</key>
<data>
fTPRyH4z/TDoTMVaRXo1TWACDzI=
</data>
<key>hash2</key>
<data>
blUKL+sJciIHT1DLWNSuktzjorY6OWNpl8ncsGosGd8=
co5bCCKJlZU9L5fVlCUmO7enl7tPeRzM3TjHJkNwn58=
</data>
</dict>
<key>Modules/module.modulemap</key>
@@ -9,18 +9,12 @@
#import <AppCenterCrashes/MSACCrashesDelegate.h>
#import <AppCenterCrashes/MSACErrorAttachmentLog+Utility.h>
#import <AppCenterCrashes/MSACErrorAttachmentLog.h>
#import <AppCenterCrashes/MSACExceptionModel.h>
#import <AppCenterCrashes/MSACStackFrame.h>
#import <AppCenterCrashes/MSACWrapperCrashesHelper.h>
#import <AppCenterCrashes/MSACWrapperExceptionModel.h>
#else
#import "MSACCrashHandlerSetupDelegate.h"
#import "MSACCrashes.h"
#import "MSACCrashesDelegate.h"
#import "MSACErrorAttachmentLog+Utility.h"
#import "MSACErrorAttachmentLog.h"
#import "MSACExceptionModel.h"
#import "MSACStackFrame.h"
#import "MSACWrapperCrashesHelper.h"
#import "MSACWrapperExceptionModel.h"
#endif
@@ -14,8 +14,6 @@
#endif
@class MSACCrashesDelegate;
@class MSACExceptionModel;
@class MSACErrorAttachmentLog;
/**
* Custom block that handles the alert that prompts the user whether crash reports need to be processed or not.
@@ -71,32 +69,6 @@ typedef NS_ENUM(NSUInteger, MSACUserConfirmation) {
NS_SWIFT_NAME(Crashes)
@interface MSACCrashes : MSACServiceAbstract
/**
* Track handled error.
*
* @param error error.
* @param properties dictionary of properties.
* @param attachments a list of attachments.
*
* @return handled error ID.
*/
+ (NSString *_Nonnull)trackError:(NSError *_Nonnull)error
withProperties:(nullable NSDictionary<NSString *, NSString *> *)properties
attachments:(nullable NSArray<MSACErrorAttachmentLog *> *)attachments NS_SWIFT_NAME(trackError(_:properties:attachments:));
/**
* Track handled exception from custom exception model.
*
* @param exception custom model exception.
* @param properties dictionary of properties.
* @param attachments a list of attachments.
*
* @return handled error ID.
*/
+ (NSString *_Nonnull)trackException:(MSACExceptionModel *_Nonnull)exception
withProperties:(nullable NSDictionary<NSString *, NSString *> *)properties
attachments:(nullable NSArray<MSACErrorAttachmentLog *> *)attachments NS_SWIFT_NAME(trackException(_:properties:attachments:));
///-----------------------------------------------------------------------------
/// @name Testing Crashes Feature
///-----------------------------------------------------------------------------
@@ -51,7 +51,7 @@ NS_SWIFT_NAME(CrashesDelegate)
* @param errorReport The errorReport that App Center tried to send.
* @param error The error that occurred.
*/
- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(nullable NSError *)error;
- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(NSError *)error;
/**
* Method to get the attachments associated to an error report.
@@ -1,81 +0,0 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#import <Foundation/Foundation.h>
#ifndef MSAC_EXCEPTION_MODEL_H
#define MSAC_EXCEPTION_MODEL_H
#if __has_include(<AppCenter/MSACSerializableObject.h>)
#import <AppCenter/MSACSerializableObject.h>
#else
#import "MSACSerializableObject.h"
#endif
@class MSACStackFrame;
NS_SWIFT_NAME(ExceptionModel)
@interface MSACExceptionModel : NSObject <MSACSerializableObject>
/**
* Creates an instance of exception model.
*
* @param error error.
*
* @return A new instance of exception.
*/
- (instancetype)initWithError:(NSError *)error NS_SWIFT_NAME(init(withError:));
/**
* Creates an instance of exception model.
*
* @param exceptionType exception type.
* @param exceptionMessage exception message.
* @param stackTrace stack trace.
*
* @return A new instance of exception.
*/
- (instancetype)initWithType:(NSString *)exceptionType
exceptionMessage:(NSString *)exceptionMessage
stackTrace:(NSArray<NSString *> *)stackTrace
NS_SWIFT_NAME(init(withType:exceptionMessage:stackTrace:));
/**
* Creates an instance of exception model.
*
* @exception exception.
*
* @return A new instance of exception.
*/
- (instancetype)initWithException:(NSException *)exception NS_SWIFT_NAME(init(withException:));
/**
* Exception type.
*/
@property(nonatomic, copy) NSString *type;
/**
* Exception reason.
*/
@property(nonatomic, copy) NSString *message;
/**
* Raw stack trace. Sent when the frames property is either missing or unreliable.
*/
@property(nonatomic, copy) NSString *stackTrace;
/**
* Stack frames [optional].
*/
@property(nonatomic, strong) NSArray<MSACStackFrame *> *frames;
/**
* Checks if the object's values are valid.
*
* @return YES, if the object is valid.
*/
- (BOOL)isValid;
@end
#endif
@@ -1,44 +0,0 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#import <Foundation/Foundation.h>
#if __has_include(<AppCenter/MSACSerializableObject.h>)
#import <AppCenter/MSACSerializableObject.h>
#else
#import "MSACSerializableObject.h"
#endif
@interface MSACStackFrame : NSObject <MSACSerializableObject>
/*
* Frame address [optional].
*/
@property(nonatomic, copy) NSString *address;
/*
* Symbolized code line [optional].
*/
@property(nonatomic, copy) NSString *code;
/*
* The fully qualified name of the Class containing the execution point represented by this stack trace element [optional].
*/
@property(nonatomic, copy) NSString *className;
/*
* The name of the method containing the execution point represented by this stack trace element [optional].
*/
@property(nonatomic, copy) NSString *methodName;
/*
* The line number of the source line containing the execution point represented by this stack trace element [optional].
*/
@property(nonatomic, copy) NSNumber *lineNumber;
/*
* The name of the file containing the execution point represented by this stack trace element [optional].
*/
@property(nonatomic, copy) NSString *fileName;
@end
@@ -13,6 +13,7 @@ NS_ASSUME_NONNULL_BEGIN
@class MSACErrorReport;
@class MSACErrorAttachmentLog;
@class MSACException;
/**
* This general class allows wrappers to supplement the Crashes SDK with their own behavior.
@@ -24,7 +25,7 @@ NS_SWIFT_NAME(WrapperCrashesHelper)
* The crash handler setup delegate.
*
*/
@property(class, nonatomic, weak) _Nullable id<MSACCrashHandlerSetupDelegate> crashHandlerSetupDelegate;
@property(class, nonatomic) _Nullable id<MSACCrashHandlerSetupDelegate> crashHandlerSetupDelegate;
/**
* Gets the crash handler setup delegate.
@@ -64,6 +65,20 @@ NS_SWIFT_NAME(WrapperCrashesHelper)
*/
+ (void)sendErrorAttachments:(NSArray<MSACErrorAttachmentLog *> *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier;
/**
* Track handled exception directly as model form.
* This API is used by wrapper SDKs.
*
* @param exception model form exception.
* @param properties dictionary of properties.
* @param attachments a list of attachments.
*
* @return handled error ID.
*/
+ (nullable NSString *)trackModelException:(MSACException *)exception
withProperties:(nullable NSDictionary<NSString *, NSString *> *)properties
withAttachments:(nullable NSArray<MSACErrorAttachmentLog *> *)attachments;
/**
* Get a generic error report representation for an handled exception.
* This API is used by wrapper SDKs.
@@ -1,38 +0,0 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#import <Foundation/Foundation.h>
#ifndef MSAC_WRAPPER_EXCEPTION_MODEL_H
#define MSAC_WRAPPER_EXCEPTION_MODEL_H
#if __has_include(<AppCenterCrashes/MSACExceptionModel.h>)
#import <AppCenterCrashes/MSACExceptionModel.h>
#import <AppCenterCrashes/MSACWrapperExceptionModel.h>
#else
#import "MSACExceptionModel.h"
#import "MSACWrapperExceptionModel.h"
#endif
#if __has_include(<AppCenter/MSACSerializableObject.h>)
#import <AppCenter/MSACSerializableObject.h>
#else
#import "MSACSerializableObject.h"
#endif
@interface MSACWrapperExceptionModel : MSACExceptionModel
/*
* Inner exceptions of this exception [optional].
*/
@property(nonatomic, strong) NSArray<MSACWrapperExceptionModel *> *innerExceptions;
/*
* Name of the wrapper SDK that emitted this exception.
* Consists of the name of the SDK and the wrapper platform, e.g. "appcenter.xamarin", "appcenter.react-native" [optional].
*/
@property(nonatomic, copy) NSString *wrapperSdkName;
@end
#endif
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>19H1323</string>
<string>19H15</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
@@ -9,18 +9,12 @@
#import <AppCenterCrashes/MSACCrashesDelegate.h>
#import <AppCenterCrashes/MSACErrorAttachmentLog+Utility.h>
#import <AppCenterCrashes/MSACErrorAttachmentLog.h>
#import <AppCenterCrashes/MSACExceptionModel.h>
#import <AppCenterCrashes/MSACStackFrame.h>
#import <AppCenterCrashes/MSACWrapperCrashesHelper.h>
#import <AppCenterCrashes/MSACWrapperExceptionModel.h>
#else
#import "MSACCrashHandlerSetupDelegate.h"
#import "MSACCrashes.h"
#import "MSACCrashesDelegate.h"
#import "MSACErrorAttachmentLog+Utility.h"
#import "MSACErrorAttachmentLog.h"
#import "MSACExceptionModel.h"
#import "MSACStackFrame.h"
#import "MSACWrapperCrashesHelper.h"
#import "MSACWrapperExceptionModel.h"
#endif
@@ -14,8 +14,6 @@
#endif
@class MSACCrashesDelegate;
@class MSACExceptionModel;
@class MSACErrorAttachmentLog;
/**
* Custom block that handles the alert that prompts the user whether crash reports need to be processed or not.
@@ -71,32 +69,6 @@ typedef NS_ENUM(NSUInteger, MSACUserConfirmation) {
NS_SWIFT_NAME(Crashes)
@interface MSACCrashes : MSACServiceAbstract
/**
* Track handled error.
*
* @param error error.
* @param properties dictionary of properties.
* @param attachments a list of attachments.
*
* @return handled error ID.
*/
+ (NSString *_Nonnull)trackError:(NSError *_Nonnull)error
withProperties:(nullable NSDictionary<NSString *, NSString *> *)properties
attachments:(nullable NSArray<MSACErrorAttachmentLog *> *)attachments NS_SWIFT_NAME(trackError(_:properties:attachments:));
/**
* Track handled exception from custom exception model.
*
* @param exception custom model exception.
* @param properties dictionary of properties.
* @param attachments a list of attachments.
*
* @return handled error ID.
*/
+ (NSString *_Nonnull)trackException:(MSACExceptionModel *_Nonnull)exception
withProperties:(nullable NSDictionary<NSString *, NSString *> *)properties
attachments:(nullable NSArray<MSACErrorAttachmentLog *> *)attachments NS_SWIFT_NAME(trackException(_:properties:attachments:));
///-----------------------------------------------------------------------------
/// @name Testing Crashes Feature
///-----------------------------------------------------------------------------
@@ -51,7 +51,7 @@ NS_SWIFT_NAME(CrashesDelegate)
* @param errorReport The errorReport that App Center tried to send.
* @param error The error that occurred.
*/
- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(nullable NSError *)error;
- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(NSError *)error;
/**
* Method to get the attachments associated to an error report.
@@ -1,81 +0,0 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#import <Foundation/Foundation.h>
#ifndef MSAC_EXCEPTION_MODEL_H
#define MSAC_EXCEPTION_MODEL_H
#if __has_include(<AppCenter/MSACSerializableObject.h>)
#import <AppCenter/MSACSerializableObject.h>
#else
#import "MSACSerializableObject.h"
#endif
@class MSACStackFrame;
NS_SWIFT_NAME(ExceptionModel)
@interface MSACExceptionModel : NSObject <MSACSerializableObject>
/**
* Creates an instance of exception model.
*
* @param error error.
*
* @return A new instance of exception.
*/
- (instancetype)initWithError:(NSError *)error NS_SWIFT_NAME(init(withError:));
/**
* Creates an instance of exception model.
*
* @param exceptionType exception type.
* @param exceptionMessage exception message.
* @param stackTrace stack trace.
*
* @return A new instance of exception.
*/
- (instancetype)initWithType:(NSString *)exceptionType
exceptionMessage:(NSString *)exceptionMessage
stackTrace:(NSArray<NSString *> *)stackTrace
NS_SWIFT_NAME(init(withType:exceptionMessage:stackTrace:));
/**
* Creates an instance of exception model.
*
* @exception exception.
*
* @return A new instance of exception.
*/
- (instancetype)initWithException:(NSException *)exception NS_SWIFT_NAME(init(withException:));
/**
* Exception type.
*/
@property(nonatomic, copy) NSString *type;
/**
* Exception reason.
*/
@property(nonatomic, copy) NSString *message;
/**
* Raw stack trace. Sent when the frames property is either missing or unreliable.
*/
@property(nonatomic, copy) NSString *stackTrace;
/**
* Stack frames [optional].
*/
@property(nonatomic, strong) NSArray<MSACStackFrame *> *frames;
/**
* Checks if the object's values are valid.
*
* @return YES, if the object is valid.
*/
- (BOOL)isValid;
@end
#endif
@@ -1,44 +0,0 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#import <Foundation/Foundation.h>
#if __has_include(<AppCenter/MSACSerializableObject.h>)
#import <AppCenter/MSACSerializableObject.h>
#else
#import "MSACSerializableObject.h"
#endif
@interface MSACStackFrame : NSObject <MSACSerializableObject>
/*
* Frame address [optional].
*/
@property(nonatomic, copy) NSString *address;
/*
* Symbolized code line [optional].
*/
@property(nonatomic, copy) NSString *code;
/*
* The fully qualified name of the Class containing the execution point represented by this stack trace element [optional].
*/
@property(nonatomic, copy) NSString *className;
/*
* The name of the method containing the execution point represented by this stack trace element [optional].
*/
@property(nonatomic, copy) NSString *methodName;
/*
* The line number of the source line containing the execution point represented by this stack trace element [optional].
*/
@property(nonatomic, copy) NSNumber *lineNumber;
/*
* The name of the file containing the execution point represented by this stack trace element [optional].
*/
@property(nonatomic, copy) NSString *fileName;
@end
@@ -13,6 +13,7 @@ NS_ASSUME_NONNULL_BEGIN
@class MSACErrorReport;
@class MSACErrorAttachmentLog;
@class MSACException;
/**
* This general class allows wrappers to supplement the Crashes SDK with their own behavior.
@@ -24,7 +25,7 @@ NS_SWIFT_NAME(WrapperCrashesHelper)
* The crash handler setup delegate.
*
*/
@property(class, nonatomic, weak) _Nullable id<MSACCrashHandlerSetupDelegate> crashHandlerSetupDelegate;
@property(class, nonatomic) _Nullable id<MSACCrashHandlerSetupDelegate> crashHandlerSetupDelegate;
/**
* Gets the crash handler setup delegate.
@@ -64,6 +65,20 @@ NS_SWIFT_NAME(WrapperCrashesHelper)
*/
+ (void)sendErrorAttachments:(NSArray<MSACErrorAttachmentLog *> *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier;
/**
* Track handled exception directly as model form.
* This API is used by wrapper SDKs.
*
* @param exception model form exception.
* @param properties dictionary of properties.
* @param attachments a list of attachments.
*
* @return handled error ID.
*/
+ (nullable NSString *)trackModelException:(MSACException *)exception
withProperties:(nullable NSDictionary<NSString *, NSString *> *)properties
withAttachments:(nullable NSArray<MSACErrorAttachmentLog *> *)attachments;
/**
* Get a generic error report representation for an handled exception.
* This API is used by wrapper SDKs.
@@ -1,38 +0,0 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#import <Foundation/Foundation.h>
#ifndef MSAC_WRAPPER_EXCEPTION_MODEL_H
#define MSAC_WRAPPER_EXCEPTION_MODEL_H
#if __has_include(<AppCenterCrashes/MSACExceptionModel.h>)
#import <AppCenterCrashes/MSACExceptionModel.h>
#import <AppCenterCrashes/MSACWrapperExceptionModel.h>
#else
#import "MSACExceptionModel.h"
#import "MSACWrapperExceptionModel.h"
#endif
#if __has_include(<AppCenter/MSACSerializableObject.h>)
#import <AppCenter/MSACSerializableObject.h>
#else
#import "MSACSerializableObject.h"
#endif
@interface MSACWrapperExceptionModel : MSACExceptionModel
/*
* Inner exceptions of this exception [optional].
*/
@property(nonatomic, strong) NSArray<MSACWrapperExceptionModel *> *innerExceptions;
/*
* Name of the wrapper SDK that emitted this exception.
* Consists of the name of the SDK and the wrapper platform, e.g. "appcenter.xamarin", "appcenter.react-native" [optional].
*/
@property(nonatomic, copy) NSString *wrapperSdkName;
@end
#endif
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>19H1323</string>
<string>19H15</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
@@ -9,18 +9,12 @@
#import <AppCenterCrashes/MSACCrashesDelegate.h>
#import <AppCenterCrashes/MSACErrorAttachmentLog+Utility.h>
#import <AppCenterCrashes/MSACErrorAttachmentLog.h>
#import <AppCenterCrashes/MSACExceptionModel.h>
#import <AppCenterCrashes/MSACStackFrame.h>
#import <AppCenterCrashes/MSACWrapperCrashesHelper.h>
#import <AppCenterCrashes/MSACWrapperExceptionModel.h>
#else
#import "MSACCrashHandlerSetupDelegate.h"
#import "MSACCrashes.h"
#import "MSACCrashesDelegate.h"
#import "MSACErrorAttachmentLog+Utility.h"
#import "MSACErrorAttachmentLog.h"
#import "MSACExceptionModel.h"
#import "MSACStackFrame.h"
#import "MSACWrapperCrashesHelper.h"
#import "MSACWrapperExceptionModel.h"
#endif
@@ -14,8 +14,6 @@
#endif
@class MSACCrashesDelegate;
@class MSACExceptionModel;
@class MSACErrorAttachmentLog;
/**
* Custom block that handles the alert that prompts the user whether crash reports need to be processed or not.
@@ -71,32 +69,6 @@ typedef NS_ENUM(NSUInteger, MSACUserConfirmation) {
NS_SWIFT_NAME(Crashes)
@interface MSACCrashes : MSACServiceAbstract
/**
* Track handled error.
*
* @param error error.
* @param properties dictionary of properties.
* @param attachments a list of attachments.
*
* @return handled error ID.
*/
+ (NSString *_Nonnull)trackError:(NSError *_Nonnull)error
withProperties:(nullable NSDictionary<NSString *, NSString *> *)properties
attachments:(nullable NSArray<MSACErrorAttachmentLog *> *)attachments NS_SWIFT_NAME(trackError(_:properties:attachments:));
/**
* Track handled exception from custom exception model.
*
* @param exception custom model exception.
* @param properties dictionary of properties.
* @param attachments a list of attachments.
*
* @return handled error ID.
*/
+ (NSString *_Nonnull)trackException:(MSACExceptionModel *_Nonnull)exception
withProperties:(nullable NSDictionary<NSString *, NSString *> *)properties
attachments:(nullable NSArray<MSACErrorAttachmentLog *> *)attachments NS_SWIFT_NAME(trackException(_:properties:attachments:));
///-----------------------------------------------------------------------------
/// @name Testing Crashes Feature
///-----------------------------------------------------------------------------
@@ -51,7 +51,7 @@ NS_SWIFT_NAME(CrashesDelegate)
* @param errorReport The errorReport that App Center tried to send.
* @param error The error that occurred.
*/
- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(nullable NSError *)error;
- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(NSError *)error;
/**
* Method to get the attachments associated to an error report.
@@ -1,81 +0,0 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#import <Foundation/Foundation.h>
#ifndef MSAC_EXCEPTION_MODEL_H
#define MSAC_EXCEPTION_MODEL_H
#if __has_include(<AppCenter/MSACSerializableObject.h>)
#import <AppCenter/MSACSerializableObject.h>
#else
#import "MSACSerializableObject.h"
#endif
@class MSACStackFrame;
NS_SWIFT_NAME(ExceptionModel)
@interface MSACExceptionModel : NSObject <MSACSerializableObject>
/**
* Creates an instance of exception model.
*
* @param error error.
*
* @return A new instance of exception.
*/
- (instancetype)initWithError:(NSError *)error NS_SWIFT_NAME(init(withError:));
/**
* Creates an instance of exception model.
*
* @param exceptionType exception type.
* @param exceptionMessage exception message.
* @param stackTrace stack trace.
*
* @return A new instance of exception.
*/
- (instancetype)initWithType:(NSString *)exceptionType
exceptionMessage:(NSString *)exceptionMessage
stackTrace:(NSArray<NSString *> *)stackTrace
NS_SWIFT_NAME(init(withType:exceptionMessage:stackTrace:));
/**
* Creates an instance of exception model.
*
* @exception exception.
*
* @return A new instance of exception.
*/
- (instancetype)initWithException:(NSException *)exception NS_SWIFT_NAME(init(withException:));
/**
* Exception type.
*/
@property(nonatomic, copy) NSString *type;
/**
* Exception reason.
*/
@property(nonatomic, copy) NSString *message;
/**
* Raw stack trace. Sent when the frames property is either missing or unreliable.
*/
@property(nonatomic, copy) NSString *stackTrace;
/**
* Stack frames [optional].
*/
@property(nonatomic, strong) NSArray<MSACStackFrame *> *frames;
/**
* Checks if the object's values are valid.
*
* @return YES, if the object is valid.
*/
- (BOOL)isValid;
@end
#endif
Loaded 100 of 336 files, more files were not shown because too many files have changed in this diff. Show more