Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
37d85dd485 | ||
|
|
5fe7eb1a99 | ||
|
|
7f3f4c846b |
No files matched your search
@@ -1,3 +0,0 @@
|
||||
github: lwouis
|
||||
patreon: alt_tab_macos
|
||||
custom: ["paypal.com/donate/?hosted_button_id=ACYAC3UYCM7CN", "donate.stripe.com/4gw9D7bA3g3O0ikaEF"]
|
||||
@@ -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
|
||||
@@ -1,69 +0,0 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
APPCENTER_SECRET: ${{ secrets.APPCENTER_SECRET }}
|
||||
APPCENTER_TOKEN: ${{ secrets.APPCENTER_TOKEN }}
|
||||
APPLE_ID: ${{ secrets.APPLE_ID }}
|
||||
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
|
||||
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
|
||||
APPLE_P12_CERTIFICATE: ${{ secrets.APPLE_P12_CERTIFICATE }}
|
||||
FEEDBACK_TOKEN: ${{ secrets.FEEDBACK_TOKEN }}
|
||||
CLOUDFLARE_WEBHOOK: ${{ secrets.CLOUDFLARE_WEBHOOK }}
|
||||
SPARKLE_ED_PRIVATE_KEY: ${{ secrets.SPARKLE_ED_PRIVATE_KEY }}
|
||||
GITHUB_EVENT_BEFORE: ${{ github.event.before }}
|
||||
GITHUB_EVENT_AFTER: ${{ github.event.after }}
|
||||
BUILD_DIR: ${{ github.workspace }}
|
||||
XCODE_BUILD_PATH: DerivedData/Build/Products/Release
|
||||
VERSION_FILE: VERSION.txt
|
||||
APP_NAME: AltTab
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos-15 # all options: https://github.com/actions/runner-images/tree/main
|
||||
environment: production
|
||||
steps:
|
||||
# - env:
|
||||
# GITHUB_CONTEXT: ${{ toJSON(github) }}
|
||||
# run: echo "$GITHUB_CONTEXT"
|
||||
- id: pre-checkout
|
||||
env:
|
||||
COMMITS: ${{ toJson(github.event.commits) }}
|
||||
run: |
|
||||
if [[ "${{ github.event_name }}" == "push" ]]; then
|
||||
COUNT=$(( $(echo "$COMMITS" | jq length) + 30 ))
|
||||
else
|
||||
COUNT=1
|
||||
fi
|
||||
echo "fetch-depth=$COUNT" >> "$GITHUB_OUTPUT"
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: ${{ steps.pre-checkout.outputs.fetch-depth }}
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
cache: 'npm'
|
||||
- run: sudo xcode-select -s /Applications/Xcode_26.0.1.app/Contents/Developer
|
||||
- run: scripts/print_env.sh
|
||||
- run: npm ci
|
||||
- run: npx commitlint --from "$GITHUB_EVENT_BEFORE" --to "$GITHUB_EVENT_AFTER" --verbose
|
||||
- run: scripts/ensure_generated_files_are_up_to_date.sh
|
||||
- run: scripts/determine_next_version.sh
|
||||
- run: scripts/replace_environment_variables_in_app.sh
|
||||
- run: scripts/codesign/setup_ci_master.sh
|
||||
- run: scripts/run_tests.sh
|
||||
- run: scripts/build_app.sh
|
||||
- run: scripts/package_and_notarize_release.sh
|
||||
- run: scripts/upload_symbols_to_appcenter.sh
|
||||
- run: scripts/update_appcast.sh
|
||||
- run: scripts/update_readme_and_website.sh
|
||||
- run: npx semantic-release
|
||||
- id: set_release_info
|
||||
run: scripts/extract_latest_changelog.sh
|
||||
- uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: ${{ steps.set_release_info.outputs.tag_name }}
|
||||
body: ${{ steps.set_release_info.outputs.body }}
|
||||
files: ${{ env.XCODE_BUILD_PATH }}/*.zip
|
||||
- run: scripts/update_website.sh
|
||||
+1
-5
@@ -1,17 +1,13 @@
|
||||
/.idea/
|
||||
xcuserdata/
|
||||
/.vscode/
|
||||
/buildServer.json
|
||||
WorkspaceSettings.xcsettings
|
||||
IDEWorkspaceChecks.plist
|
||||
/node_modules/
|
||||
/DerivedData/
|
||||
/build/
|
||||
.DS_Store
|
||||
/docs/_site/
|
||||
/docs/vendor/
|
||||
docs/_site/
|
||||
codesign.conf
|
||||
codesign.crt
|
||||
codesign.key
|
||||
codesign.p12
|
||||
/.claude/worktrees/
|
||||
@@ -1,6 +0,0 @@
|
||||
project: alt-tab-macos.xcworkspace
|
||||
schemes:
|
||||
- Release
|
||||
index_exclude:
|
||||
- Pods/**
|
||||
- src/api-wrappers/private-apis/**
|
||||
@@ -1,10 +0,0 @@
|
||||
# rules: https://github.com/nicklockwood/SwiftFormat/blob/main/Rules.md
|
||||
|
||||
--swiftversion 5.8
|
||||
--maxwidth 110
|
||||
--nowrapoperators .,==,!=,<,>,>=,<=
|
||||
--wrapternary before-operators
|
||||
--disable andOperator
|
||||
--disable wrapConditionalBodies
|
||||
--disable wrapLoopBodies
|
||||
--disable wrapMultilineStatementBraces
|
||||
@@ -1,11 +0,0 @@
|
||||
# **/*.swift: Matches all .swift files in the current directory and all its subdirectories.
|
||||
# src/**/*.swift: Matches all .swift files in the src directory and all its subdirectories.
|
||||
# !node_modules/**: Excludes all files in the node_modules directory and all its subdirectories.
|
||||
|
||||
Pods/**
|
||||
Generated/**
|
||||
|
||||
**/PrivateApis.swift
|
||||
|
||||
# We will open a new branch to deal with code format issues at the next release.
|
||||
**/*
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
os: osx
|
||||
osx_image: xcode12.3
|
||||
language: node_js
|
||||
node_js:
|
||||
- 10
|
||||
addons:
|
||||
ssh_known_hosts: github.com
|
||||
homebrew:
|
||||
packages:
|
||||
- vitorgalvao/tiny-scripts/cask-repair
|
||||
update: true
|
||||
env:
|
||||
global:
|
||||
- IS_RELEASE=$(if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then echo true; fi)
|
||||
- XCODE_BUILD_PATH="DerivedData/Build/Products/Release"
|
||||
- VERSION_FILE="VERSION.txt"
|
||||
- APP_NAME="$(awk -F ' = ' '/PRODUCT_NAME/ { print $2; }' < config/base.xcconfig)"
|
||||
install: true # disable default install
|
||||
script: scripts/travis.sh
|
||||
deploy:
|
||||
provider: releases
|
||||
token:
|
||||
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/update_homebrew_cask.sh
|
||||
@@ -1,10 +0,0 @@
|
||||
# macOS development
|
||||
- Don't use xcode directly to develop
|
||||
- Use pure swift 5.8 code to make the app. No interface builder. No SwiftUI.
|
||||
- Aim for compact code. Within methods, don't have groups of statements separated with newlines. No inline comments for simple code. Instead, split statements into sub-methods.
|
||||
- Use guard closes as much as possible to separate the happy-path under them
|
||||
- Organize source files into folders. Folders should group files that change together, at the same pace (e.g. one feature)
|
||||
- Favor low latency and responsiveness. Reuse objects, avoid wasting memory or I/O.
|
||||
|
||||
# Workflow
|
||||
- Copy commands from ai/build.sh and run them, to confirm compilation works after you're done with implementing a change
|
||||
@@ -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>
|
||||
@@ -6,12 +6,6 @@ verify_ssl = true
|
||||
[dev-packages]
|
||||
|
||||
[packages]
|
||||
fonttools = "==4.8.1"
|
||||
googletrans = "==3.0.0"
|
||||
fonttools = "*"
|
||||
|
||||
[requires]
|
||||
python_version = "3.6"
|
||||
|
||||
[scripts]
|
||||
font2png = "scripts/convert_font_to_png.sh"
|
||||
translate = "python scripts/l10n/google_translate_all_terms_locally.py resources/l10n --retry_translate"
|
||||
[scripts]
|
||||
Generated
+2
-102
@@ -1,12 +1,10 @@
|
||||
{
|
||||
"_meta": {
|
||||
"hash": {
|
||||
"sha256": "3646221352b85667ac21f1b528dc8b29f56ff1e24cb97e7eaba79b5040c78e21"
|
||||
"sha256": "8f11c81dff5e32871b7cb2314acb76fd1fb4a06fdb403a65bc6749fe3770eda6"
|
||||
},
|
||||
"pipfile-spec": 6,
|
||||
"requires": {
|
||||
"python_version": "3.6"
|
||||
},
|
||||
"requires": {},
|
||||
"sources": [
|
||||
{
|
||||
"name": "pypi",
|
||||
@@ -16,111 +14,13 @@
|
||||
]
|
||||
},
|
||||
"default": {
|
||||
"certifi": {
|
||||
"hashes": [
|
||||
"sha256:e564105f78ded564e3ae7c923924435e1daa7463faeab5bb932bc53ffae63407",
|
||||
"sha256:f6c12493cfb1b06ba2ff328595af9350c65d6644968e5d3a2ffd78699af217a5"
|
||||
],
|
||||
"markers": "python_version >= '3.7'",
|
||||
"version": "==2025.8.3"
|
||||
},
|
||||
"chardet": {
|
||||
"hashes": [
|
||||
"sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae",
|
||||
"sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691"
|
||||
],
|
||||
"version": "==3.0.4"
|
||||
},
|
||||
"fonttools": {
|
||||
"hashes": [
|
||||
"sha256:596c0e8399c650dbf1048b7ca6fc7b12bd79a7db0981f3b87743de8c2b7512de",
|
||||
"sha256:6d241d319ea9eae4c4ee27cbd1db8656dbd496dd9aa884401debfab3a4c7d82b"
|
||||
],
|
||||
"index": "pypi",
|
||||
"markers": "python_version >= '3.6'",
|
||||
"version": "==4.8.1"
|
||||
},
|
||||
"googletrans": {
|
||||
"hashes": [
|
||||
"sha256:44caeea42d91ff6ead5c2d49db2b88de66c45c2fe874c8ec03eb9b4ceb3a533d"
|
||||
],
|
||||
"index": "pypi",
|
||||
"version": "==3.0.0"
|
||||
},
|
||||
"h11": {
|
||||
"hashes": [
|
||||
"sha256:33d4bca7be0fa039f4e84d50ab00531047e53d6ee8ffbc83501ea602c169cae1",
|
||||
"sha256:4bc6d6a1238b7615b266ada57e0618568066f57dd6fa967d1290ec9309b2f2f1"
|
||||
],
|
||||
"version": "==0.9.0"
|
||||
},
|
||||
"h2": {
|
||||
"hashes": [
|
||||
"sha256:61e0f6601fa709f35cdb730863b4e5ec7ad449792add80d1410d4174ed139af5",
|
||||
"sha256:875f41ebd6f2c44781259005b157faed1a5031df3ae5aa7bcb4628a6c0782f14"
|
||||
],
|
||||
"version": "==3.2.0"
|
||||
},
|
||||
"hpack": {
|
||||
"hashes": [
|
||||
"sha256:0edd79eda27a53ba5be2dfabf3b15780928a0dff6eb0c60a3d6767720e970c89",
|
||||
"sha256:8eec9c1f4bfae3408a3f30500261f7e6a65912dc138526ea054f9ad98892e9d2"
|
||||
],
|
||||
"version": "==3.0.0"
|
||||
},
|
||||
"hstspreload": {
|
||||
"hashes": [
|
||||
"sha256:02bd5b0885b62f0d5239ca6c6876ffcad8d9c08dc97cee54292598141a16e9dc",
|
||||
"sha256:346552a807b3a1762376de8ecce097544e7fcd64fb64231b4652da52f86fa6f1"
|
||||
],
|
||||
"markers": "python_version >= '3.6'",
|
||||
"version": "==2025.1.1"
|
||||
},
|
||||
"httpcore": {
|
||||
"hashes": [
|
||||
"sha256:9850fe97a166a794d7e920590d5ec49a05488884c9fc8b5dba8561effab0c2a0",
|
||||
"sha256:ecc5949310d9dae4de64648a4ce529f86df1f232ce23dcfefe737c24d21dfbe9"
|
||||
],
|
||||
"markers": "python_version >= '3.6'",
|
||||
"version": "==0.9.1"
|
||||
},
|
||||
"httpx": {
|
||||
"hashes": [
|
||||
"sha256:32d930858eab677bc29a742aaa4f096de259f1c78c68a90ad11f5c3c04f08335",
|
||||
"sha256:3642bd13e90b80ba8a243a730275eb10a4c26ec96f5fc16b87e458d4ab21efae"
|
||||
],
|
||||
"markers": "python_version >= '3.6'",
|
||||
"version": "==0.13.3"
|
||||
},
|
||||
"hyperframe": {
|
||||
"hashes": [
|
||||
"sha256:5187962cb16dcc078f23cb5a4b110098d546c3f41ff2d4038a9896893bbd0b40",
|
||||
"sha256:a9f5c17f2cc3c719b917c4f33ed1c61bd1f8dfac4b1bd23b7c80b3400971b41f"
|
||||
],
|
||||
"version": "==5.2.0"
|
||||
},
|
||||
"idna": {
|
||||
"hashes": [
|
||||
"sha256:b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6",
|
||||
"sha256:b97d804b1e9b523befed77c48dacec60e6dcb0b5391d57af6a65a312a90648c0"
|
||||
],
|
||||
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
|
||||
"version": "==2.10"
|
||||
},
|
||||
"rfc3986": {
|
||||
"hashes": [
|
||||
"sha256:270aaf10d87d0d4e095063c65bf3ddbc6ee3d0b226328ce21e036f946e421835",
|
||||
"sha256:a86d6e1f5b1dc238b218b012df0aa79409667bb209e58da56d0b94704e712a97"
|
||||
],
|
||||
"version": "==1.5.0"
|
||||
},
|
||||
"sniffio": {
|
||||
"hashes": [
|
||||
"sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2",
|
||||
"sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc"
|
||||
],
|
||||
"markers": "python_version >= '3.7'",
|
||||
"version": "==1.3.1"
|
||||
}
|
||||
},
|
||||
"develop": {}
|
||||
|
||||
@@ -1,45 +1,10 @@
|
||||
# disable warnings coming from pods, which are always noise from our perspective
|
||||
inhibit_all_warnings!
|
||||
|
||||
def deployment_target_from_xcconfig()
|
||||
xcconfig_path = 'config/base.xcconfig'
|
||||
File.foreach(xcconfig_path) do |line|
|
||||
if line.start_with?('MACOSX_DEPLOYMENT_TARGET')
|
||||
target = line.split("=").last.strip
|
||||
puts "MACOSX_DEPLOYMENT_TARGET: #{target}"
|
||||
return target
|
||||
end
|
||||
end
|
||||
puts "\e[31mCouldn't read MACOSX_DEPLOYMENT_TARGET from #{xcconfig_path}\e[0m"
|
||||
exit 1
|
||||
end
|
||||
|
||||
deployment_target = deployment_target_from_xcconfig()
|
||||
|
||||
platform :osx, deployment_target
|
||||
platform :osx, '10.12'
|
||||
|
||||
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 'AppCenter/Crashes', '4.3.0'
|
||||
pod 'SwiftyBeaver', '1.9.0'
|
||||
end
|
||||
|
||||
target 'unit-tests' do
|
||||
use_frameworks!
|
||||
pod 'ShortcutRecorder', :git => 'https://github.com/lwouis/ShortcutRecorder.git', :branch => 'alt-tab-current'
|
||||
end
|
||||
|
||||
post_install do |installer|
|
||||
installer.pods_project.targets.each do |target|
|
||||
target.build_configurations.each do |config|
|
||||
# disable code signing which is unnecessary for pods
|
||||
config.build_settings['CODE_SIGNING_REQUIRED'] = 'NO'
|
||||
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
|
||||
# set deployment_target for all pods, to avoid libarclite compiler error
|
||||
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = deployment_target
|
||||
end
|
||||
end
|
||||
pod 'ShortcutRecorder', :git => 'https://github.com/Kentzo/ShortcutRecorder.git', :commit => 'f718220854575bad86fa89dd2bb3decd0b14b2b0'
|
||||
pod 'SwiftyMarkdown', '1.1.0'
|
||||
pod 'AppCenter/Crashes', '4.1.0'
|
||||
end
|
||||
+15
-15
@@ -1,31 +1,31 @@
|
||||
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)
|
||||
- Sparkle (1.24.0)
|
||||
- SwiftyBeaver (1.9.0)
|
||||
- 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`)
|
||||
- SwiftyBeaver (= 1.9.0)
|
||||
- SwiftyMarkdown (= 1.1.0)
|
||||
|
||||
SPEC REPOS:
|
||||
trunk:
|
||||
- AppCenter
|
||||
- SwiftyBeaver
|
||||
- SwiftyMarkdown
|
||||
|
||||
EXTERNAL SOURCES:
|
||||
LetsMove:
|
||||
: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: 594b360e07a8a368ffec2567f77e465477b9994f
|
||||
: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
|
||||
SwiftyBeaver: d39e7c376bf15e9fffca8263b8fd1f42ea56aa2d
|
||||
SwiftyMarkdown: 033abc9dad9a37903f81aec5188cade436f40520
|
||||
|
||||
PODFILE CHECKSUM: c20cb0e8753361ba1c1daea73624f879862271ed
|
||||
PODFILE CHECKSUM: 6102fea2825ff3bd342fd007b8e6322858c9474e
|
||||
|
||||
COCOAPODS: 1.16.2
|
||||
COCOAPODS: 1.9.1
|
||||
+20
-20
@@ -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>
|
||||
|
||||
BIN
Binary file not shown.
-2
@@ -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"
|
||||
|
||||
+4
-12
@@ -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
|
||||
|
||||
|
||||
+2
-2
@@ -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.
|
||||
|
||||
-19
@@ -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
|
||||
BIN
Binary file not shown.
+1
-5
@@ -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
|
||||
BIN
Binary file not shown.
-2
@@ -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"
|
||||
|
||||
+4
-12
@@ -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
|
||||
|
||||
|
||||
+2
-2
@@ -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.
|
||||
|
||||
-19
@@ -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
|
||||
BIN
Binary file not shown.
+1
-5
@@ -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
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+13
-28
@@ -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>
|
||||
|
||||
BIN
Binary file not shown.
-2
@@ -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"
|
||||
|
||||
+4
-12
@@ -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
|
||||
|
||||
|
||||
+2
-2
@@ -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.
|
||||
|
||||
-19
@@ -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
|
||||
+1
-5
@@ -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
|
||||
+1
-1
@@ -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>
|
||||
|
||||
BIN
Binary file not shown.
-2
@@ -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"
|
||||
|
||||
+4
-12
@@ -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
|
||||
|
||||
|
||||
+2
-2
@@ -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.
|
||||
|
||||
-19
@@ -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
|
||||
+1
-5
@@ -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
|
||||
+1
-1
@@ -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>
|
||||
|
||||
Generated
BIN
Binary file not shown.
-2
@@ -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"
|
||||
|
||||
+4
-12
@@ -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
|
||||
|
||||
|
||||
+2
-2
@@ -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.
|
||||
|
||||
-19
@@ -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
|
||||
Generated
BIN
Binary file not shown.
+1
-5
@@ -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
|
||||
BIN
Binary file not shown.
-2
@@ -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"
|
||||
|
||||
+4
-12
@@ -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
|
||||
|
||||
|
||||
+2
-2
@@ -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.
|
||||
|
||||
-19
@@ -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
|
||||
BIN
Binary file not shown.
+1
-5
@@ -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
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+13
-28
@@ -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>
|
||||
|
||||
+33
-33
@@ -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>
|
||||
|
||||
BIN
Binary file not shown.
-6
@@ -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
|
||||
-28
@@ -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
|
||||
///-----------------------------------------------------------------------------
|
||||
|
||||
+1
-1
@@ -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.
|
||||
|
||||
-81
@@ -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
|
||||
-44
@@ -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
|
||||
+16
-1
@@ -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.
|
||||
|
||||
-38
@@ -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
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
-6
@@ -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
|
||||
-28
@@ -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
|
||||
///-----------------------------------------------------------------------------
|
||||
|
||||
+1
-1
@@ -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.
|
||||
|
||||
-81
@@ -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
|
||||
-44
@@ -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
|
||||
+16
-1
@@ -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.
|
||||
|
||||
-38
@@ -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
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+13
-58
@@ -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>
|
||||
|
||||
BIN
Binary file not shown.
-6
@@ -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
|
||||
-28
@@ -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
|
||||
///-----------------------------------------------------------------------------
|
||||
|
||||
+1
-1
@@ -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.
|
||||
|
||||
-81
@@ -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
|
||||
-44
@@ -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
|
||||
+16
-1
@@ -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.
|
||||
|
||||
-38
@@ -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
|
||||
+1
-1
@@ -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>
|
||||
|
||||
BIN
Binary file not shown.
-6
@@ -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
|
||||
-28
@@ -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
|
||||
///-----------------------------------------------------------------------------
|
||||
|
||||
+1
-1
@@ -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.
|
||||
|
||||
-81
@@ -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 604 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user