Compare commits
631
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c65d1e60f8 | ||
|
|
894a69d41f | ||
|
|
e2523f1d99 | ||
|
|
6fa35ae35c | ||
|
|
d0a2d31b5a | ||
|
|
43838e1ccc | ||
|
|
741e7902db | ||
|
|
6426d318fb | ||
|
|
8a98b4ee40 | ||
|
|
dcaac482de | ||
|
|
ee27df7680 | ||
|
|
e0ae29d64a | ||
|
|
db78e66451 | ||
|
|
b8ecd58005 | ||
|
|
2725834c4a | ||
|
|
42cb2d5d88 | ||
|
|
3994429b88 | ||
|
|
237bb1e0d9 | ||
|
|
911aad42cc | ||
|
|
36ded28ce4 | ||
|
|
9761bb91e9 | ||
|
|
435a310590 | ||
|
|
d377b3dbca | ||
|
|
850fe285b4 | ||
|
|
2adeb8dbcb | ||
|
|
fb5dfc4399 | ||
|
|
29e1cff8f1 | ||
|
|
2c3373ae16 | ||
|
|
c294ad0d4d | ||
|
|
ee436cc7cc | ||
|
|
168995493f | ||
|
|
e477f8b3da | ||
|
|
516329a408 | ||
|
|
938b7353ff | ||
|
|
a80721b2d3 | ||
|
|
4e065b9a80 | ||
|
|
aa8d7d02d1 | ||
|
|
05b36fc58f | ||
|
|
d6196ecad8 | ||
|
|
21a91421a6 | ||
|
|
272f51ad5b | ||
|
|
c352591d72 | ||
|
|
96caad46a5 | ||
|
|
309cae316b | ||
|
|
ffd0c75e8b | ||
|
|
fdf313472c | ||
|
|
011fdba7d3 | ||
|
|
e5e8521ae3 | ||
|
|
786e752417 | ||
|
|
d2220c68bd | ||
|
|
26d40e1149 | ||
|
|
15a55e6e07 | ||
|
|
32ab8d6573 | ||
|
|
ec55ae8b00 | ||
|
|
689adc0a30 | ||
|
|
fab9d7c0ab | ||
|
|
4aec2aa6da | ||
|
|
f46372b97c | ||
|
|
33c661505e | ||
|
|
91e16f7863 | ||
|
|
55e8c331a6 | ||
|
|
ae092cd1a7 | ||
|
|
122dc2ec0f | ||
|
|
c25b918a51 | ||
|
|
173bc97d0f | ||
|
|
84166ab954 | ||
|
|
a1cfd1de25 | ||
|
|
58fcae7af8 | ||
|
|
29f0a08391 | ||
|
|
2d683e7e46 | ||
|
|
247f6353b0 | ||
|
|
08e28fd0a5 | ||
|
|
cab591eb48 | ||
|
|
33e5acf0ea | ||
|
|
15554ef767 | ||
|
|
a9cb03c26f | ||
|
|
fb6110d0eb | ||
|
|
c3ace1faff | ||
|
|
c5286c3a6e | ||
|
|
1316eb2769 | ||
|
|
27909f1824 | ||
|
|
78c852514f | ||
|
|
985a681d72 | ||
|
|
3c79840a29 | ||
|
|
95ee614d9f | ||
|
|
591ce5274f | ||
|
|
3f18951368 | ||
|
|
be077f1a67 | ||
|
|
1a4b53917d | ||
|
|
726e13edcd | ||
|
|
4ebd990e30 | ||
|
|
4567550978 | ||
|
|
f489bd7d36 | ||
|
|
e93e42f952 | ||
|
|
250c9c4bce | ||
|
|
aa46a62457 | ||
|
|
f66c92aefb | ||
|
|
a696611615 | ||
|
|
5db53b5a9e | ||
|
|
e9e732756e | ||
|
|
ca96b85352 | ||
|
|
67f5098c95 | ||
|
|
f37652942d | ||
|
|
f67d182a92 | ||
|
|
b325cc75c0 | ||
|
|
6cc76903b0 | ||
|
|
b4bc0b006a | ||
|
|
b0ce899a71 | ||
|
|
bd162a9e08 | ||
|
|
8b7d69c0ff | ||
|
|
518f8b402e | ||
|
|
397457cacb | ||
|
|
eee0db133c | ||
|
|
dec05198c7 | ||
|
|
911c3c17c5 | ||
|
|
9d852eee9c | ||
|
|
17e1f1e4c7 | ||
|
|
c0ac29fdd8 | ||
|
|
9b3f93688e | ||
|
|
f4f7d9addc | ||
|
|
4e35f9f290 | ||
|
|
820b6ea3aa | ||
|
|
647f900b85 | ||
|
|
6c0f97ffe9 | ||
|
|
bc95b905af | ||
|
|
330ac54c6f | ||
|
|
54249d03dd | ||
|
|
d543393e3f | ||
|
|
ee010de36c | ||
|
|
3c7aaafa63 | ||
|
|
b62cec0cdc | ||
|
|
a474660498 | ||
|
|
6e2a5ff081 | ||
|
|
8dd63c722f | ||
|
|
e98dff325d | ||
|
|
8d93508062 | ||
|
|
fd0411b508 | ||
|
|
8564ed255a | ||
|
|
9d78700ab7 | ||
|
|
c72fedbb30 | ||
|
|
e637c61cc9 | ||
|
|
dae19ca067 | ||
|
|
9d6fc68642 | ||
|
|
2cd8b96d38 | ||
|
|
541337259d | ||
|
|
93defcd3a7 | ||
|
|
69edbbdf42 | ||
|
|
dcea005d8d | ||
|
|
cfd59d31a1 | ||
|
|
f42ffa61d1 | ||
|
|
0a2254702f | ||
|
|
d02327af2d | ||
|
|
c10ca2a77e | ||
|
|
2f8c01418d | ||
|
|
3a0c84a8f5 | ||
|
|
597b443796 | ||
|
|
0ea925289b | ||
|
|
f3b116e47c | ||
|
|
4c3ec7d067 | ||
|
|
941d8afb9a | ||
|
|
8e41662088 | ||
|
|
71bb2d889b | ||
|
|
c712473c7a | ||
|
|
121515cbc7 | ||
|
|
8b52dc8acb | ||
|
|
db5644e058 | ||
|
|
684cc666d3 | ||
|
|
dfff608ad1 | ||
|
|
f1c5ae73c2 | ||
|
|
d85ec7bcfb | ||
|
|
2855b1bb0b | ||
|
|
2a616e2518 | ||
|
|
d5d131185e | ||
|
|
0f2c0e794c | ||
|
|
d4e697c0de | ||
|
|
720dde1c06 | ||
|
|
1e017475ff | ||
|
|
95e51d1c27 | ||
|
|
d653a54fc3 | ||
|
|
c2ccccd093 | ||
|
|
837fa03f64 | ||
|
|
f027b4795f | ||
|
|
6ede54e3e0 | ||
|
|
922d259193 | ||
|
|
56075b5766 | ||
|
|
b0f02c6a36 | ||
|
|
de1326e118 | ||
|
|
53d1d1fded | ||
|
|
e17f427a5d | ||
|
|
df5af7d60c | ||
|
|
702cb0d140 | ||
|
|
9e415bff54 | ||
|
|
a696a0e0b2 | ||
|
|
52026701e4 | ||
|
|
7471488e33 | ||
|
|
0ef8a0b2d4 | ||
|
|
76a72a5ead | ||
|
|
3b0cba493b | ||
|
|
bc9f97f852 | ||
|
|
295eb2bd60 | ||
|
|
dfcf9de78e | ||
|
|
fc6d63603a | ||
|
|
9156ad915a | ||
|
|
a138a922ef | ||
|
|
b51ff6583d | ||
|
|
7207ad6da7 | ||
|
|
e3fafbc6ff | ||
|
|
be5eb26385 | ||
|
|
e9b529a644 | ||
|
|
250a1bcc81 | ||
|
|
96edb065d7 | ||
|
|
7e501a460a | ||
|
|
dd05ba239e | ||
|
|
b373fc465b | ||
|
|
f92f7ca803 | ||
|
|
51062a2499 | ||
|
|
48a3967b82 | ||
|
|
18ef16f6ee | ||
|
|
fda3ada055 | ||
|
|
db5500f130 | ||
|
|
42bbd0fe01 | ||
|
|
b257752812 | ||
|
|
54b7c8d697 | ||
|
|
bcafd0790f | ||
|
|
e07da9cad9 | ||
|
|
d3b5befe3e | ||
|
|
4481d94fa2 | ||
|
|
982a6dd5f2 | ||
|
|
898fc8c13c | ||
|
|
9ec2762bff | ||
|
|
6d9059ee86 | ||
|
|
ef6ab620fb | ||
|
|
ecf4cb15be | ||
|
|
c9d36b5bad | ||
|
|
9e932799ee | ||
|
|
6215b65ec9 | ||
|
|
9adf64c374 | ||
|
|
d32f9533e3 | ||
|
|
2a0a8585df | ||
|
|
87a2b219a5 | ||
|
|
c5e13ccc84 | ||
|
|
40c9a18be4 | ||
|
|
8a4aa7908f | ||
|
|
82879e39e7 | ||
|
|
60534bcfe3 | ||
|
|
41ddd7c1a6 | ||
|
|
5601a556c9 | ||
|
|
764e0f3f25 | ||
|
|
3619807cb9 | ||
|
|
d65f220530 | ||
|
|
903e758528 | ||
|
|
9b85f00564 | ||
|
|
cb191d60f3 | ||
|
|
ac70fcc5f9 | ||
|
|
68d24919b1 | ||
|
|
baa411d9c7 | ||
|
|
7e199f6815 | ||
|
|
9ca0649368 | ||
|
|
987b6b2f82 | ||
|
|
bf3a4dcc7a | ||
|
|
e4cfd85dc7 | ||
|
|
974b6a9ea2 | ||
|
|
71345465cf | ||
|
|
89c02c9a96 | ||
|
|
73382db4a2 | ||
|
|
9bafd037c3 | ||
|
|
57e3a369ae | ||
|
|
f0550d75b8 | ||
|
|
b694c837b4 | ||
|
|
a083b06de0 | ||
|
|
17e9599976 | ||
|
|
487b96d7d3 | ||
|
|
83b5319433 | ||
|
|
db305db392 | ||
|
|
dfd5f9dd94 | ||
|
|
8748d8b4e5 | ||
|
|
f97e9f9333 | ||
|
|
3c58c6bf5f | ||
|
|
a4899658df | ||
|
|
1053740723 | ||
|
|
b0adfb97ad | ||
|
|
d0d2314e9a | ||
|
|
22aafce24e | ||
|
|
c02dfafa2a | ||
|
|
f8b22dc1ed | ||
|
|
4a9b543a3a | ||
|
|
1332a73189 | ||
|
|
165a6695b9 | ||
|
|
b816745830 | ||
|
|
0b198b4031 | ||
|
|
ffdab44710 | ||
|
|
3e423a14f4 | ||
|
|
f56c65df79 | ||
|
|
c8eb0914b3 | ||
|
|
05851fb728 | ||
|
|
5c12810d23 | ||
|
|
e11392d0af | ||
|
|
e3f2da13f5 | ||
|
|
a94eeb023d | ||
|
|
82162b167b | ||
|
|
7100d251ec | ||
|
|
c4f98a10dc | ||
|
|
9585c92629 | ||
|
|
2594427e75 | ||
|
|
49178b50b0 | ||
|
|
353a7c9c2b | ||
|
|
a9614c15aa | ||
|
|
690e2f6e85 | ||
|
|
16b9122f9e | ||
|
|
4cfe16a708 | ||
|
|
3c4aaf5bba | ||
|
|
bc2fe382a9 | ||
|
|
a0fe1080f3 | ||
|
|
81eb07ee98 | ||
|
|
f7de2bb6d9 | ||
|
|
d430f835a4 | ||
|
|
c0f0ce7df2 | ||
|
|
d934fb41ab | ||
|
|
d0739ce0f1 | ||
|
|
545b5db143 | ||
|
|
649a5cb86a | ||
|
|
88c1595deb | ||
|
|
a8498bb7f6 | ||
|
|
d5fa496a20 | ||
|
|
9f86e8355d | ||
|
|
8f4784f86d | ||
|
|
696a489f43 | ||
|
|
67d436cfc5 | ||
|
|
a966de9f50 | ||
|
|
9b7e8250bc | ||
|
|
7723c0149d | ||
|
|
38c363162b | ||
|
|
4a46c46253 | ||
|
|
9d1349b5aa | ||
|
|
2c857a6eb1 | ||
|
|
ad64ced2df | ||
|
|
81fb54cff5 | ||
|
|
45bbc93bee | ||
|
|
f9542f9214 | ||
|
|
60052b8ab7 | ||
|
|
7b9a6b4e9c | ||
|
|
09ca2a6740 | ||
|
|
20cd27e68d | ||
|
|
129d061434 | ||
|
|
19f59b207f | ||
|
|
528028d41b | ||
|
|
d77fa67729 | ||
|
|
f33418ec35 | ||
|
|
dd379c41c9 | ||
|
|
609a25119d | ||
|
|
9258acf765 | ||
|
|
d46d90395c | ||
|
|
b4e97ead04 | ||
|
|
ea5574bfa5 | ||
|
|
5b6e8de9a1 | ||
|
|
9980ec62fd | ||
|
|
8abb9b4358 | ||
|
|
40c1c0ec02 | ||
|
|
f2bc95ffcc | ||
|
|
4b1fbb1243 | ||
|
|
e7c2a8b880 | ||
|
|
dbbe9e8b0e | ||
|
|
b26a12074f | ||
|
|
79f99bd4f1 | ||
|
|
38cfe3a23b | ||
|
|
5e27701228 | ||
|
|
0a9fe9bb89 | ||
|
|
d0cd206f51 | ||
|
|
9d5f11aed5 | ||
|
|
eba5e422bf | ||
|
|
0e6f200efe | ||
|
|
e890a603c2 | ||
|
|
97951e7e8e | ||
|
|
3d98b64a42 | ||
|
|
d3dfd54f54 | ||
|
|
2e15732f64 | ||
|
|
45f5c5368a | ||
|
|
012e3b5f3c | ||
|
|
35521a5214 | ||
|
|
ad1e8d03e4 | ||
|
|
1eef1e083d | ||
|
|
bb5215c306 | ||
|
|
2c47b4e585 | ||
|
|
4371eb7c39 | ||
|
|
e16a3d46b3 | ||
|
|
1a3996e73b | ||
|
|
c3006c69a6 | ||
|
|
523bcbb6e3 | ||
|
|
127ad155ba | ||
|
|
14d287afe3 | ||
|
|
6231977e70 | ||
|
|
758b3e804e | ||
|
|
67a6d8194d | ||
|
|
31b5a3df77 | ||
|
|
785cf9c73a | ||
|
|
d9aa319e2c | ||
|
|
141e7233ff | ||
|
|
9ff25e7c3a | ||
|
|
c9fe54ed29 | ||
|
|
bbaef6cf8e | ||
|
|
7df1432744 | ||
|
|
6442d85c9f | ||
|
|
f4ad2ea6c8 | ||
|
|
f7fdf3f987 | ||
|
|
b8833b74eb | ||
|
|
bc29d1e86c | ||
|
|
5ea9b8211e | ||
|
|
25f1881f85 | ||
|
|
d819d8e8a1 | ||
|
|
db022a0688 | ||
|
|
c88426e0b2 | ||
|
|
4818345ce2 | ||
|
|
70ee681757 | ||
|
|
9e03d5f665 | ||
|
|
1561f2631a | ||
|
|
c4ae5496e2 | ||
|
|
53692ffc7c | ||
|
|
3b0194d886 | ||
|
|
e75a1ff4fe | ||
|
|
042c8061f6 | ||
|
|
865570fa94 | ||
|
|
5e7f44b5ca | ||
|
|
821161363e | ||
|
|
e542da8c74 | ||
|
|
31fb795fd8 | ||
|
|
5cf7f99517 | ||
|
|
3f64463580 | ||
|
|
1a9f16a25a | ||
|
|
1084d87399 | ||
|
|
3147a6989c | ||
|
|
63502d5f30 | ||
|
|
06733812e6 | ||
|
|
f9f1c19b84 | ||
|
|
01b3a428d9 | ||
|
|
fd2f14ae2e | ||
|
|
bf6c9121f4 | ||
|
|
a67d1231de | ||
|
|
b69f5f4b5f | ||
|
|
8605b23135 | ||
|
|
7d823dd61d | ||
|
|
8152c3cebf | ||
|
|
7229b8a0a0 | ||
|
|
44a5630634 | ||
|
|
19a65050e8 | ||
|
|
04948a21f0 | ||
|
|
f7f4430be9 | ||
|
|
e77f3ed44a | ||
|
|
180ba935b1 | ||
|
|
0e106e263b | ||
|
|
7327917a81 | ||
|
|
c08dcd9fb5 | ||
|
|
ee6785f6ab | ||
|
|
537ba26645 | ||
|
|
e604ee2440 | ||
|
|
6534a2d62e | ||
|
|
b5c3bedd14 | ||
|
|
10bbaa9217 | ||
|
|
455e16a88f | ||
|
|
5d27a19b38 | ||
|
|
7cab722df3 | ||
|
|
b99c988970 | ||
|
|
f53c070ca1 | ||
|
|
84752e0fef | ||
|
|
0d4e0f1dab | ||
|
|
cea0cff2a7 | ||
|
|
a60f1e13db | ||
|
|
abe2e0b73b | ||
|
|
f9bb33c49b | ||
|
|
7a30b18c20 | ||
|
|
3fb9a195f8 | ||
|
|
c386a0c439 | ||
|
|
216c5d8b8e | ||
|
|
b57a39d8e8 | ||
|
|
8ba828885b | ||
|
|
d2c38963c9 | ||
|
|
59d00c1765 | ||
|
|
8217ad8fa5 | ||
|
|
4b2f134f32 | ||
|
|
6526caae30 | ||
|
|
4f26bc20a0 | ||
|
|
8b9b0b4fcb | ||
|
|
d2d5016780 | ||
|
|
a09dbbfd27 | ||
|
|
82cfb62804 | ||
|
|
ebf445e3e1 | ||
|
|
2123af39a7 | ||
|
|
917e661e88 | ||
|
|
bf905b1562 | ||
|
|
f6fcac5856 | ||
|
|
d4f11542f9 | ||
|
|
f906c0ecab | ||
|
|
99f8adeb7d | ||
|
|
0965a78d46 | ||
|
|
fe38b53ff7 | ||
|
|
1065c0d440 | ||
|
|
fd84a9a5fc | ||
|
|
b62c422959 | ||
|
|
f2305429c4 | ||
|
|
292e6b0339 | ||
|
|
7b54873f08 | ||
|
|
281b3ed45b | ||
|
|
8b2d659000 | ||
|
|
4c31740f25 | ||
|
|
848ae5fc9d | ||
|
|
b5da4e00ca | ||
|
|
4c3688de12 | ||
|
|
805660d4d1 | ||
|
|
1821deaa73 | ||
|
|
c9fd9a2a46 | ||
|
|
31bd0a6d68 | ||
|
|
c3162bbb1f | ||
|
|
02451e8ec8 | ||
|
|
bd21332c25 | ||
|
|
71f1609467 | ||
|
|
5331bc630a | ||
|
|
ea05c0327b | ||
|
|
d207f86daa | ||
|
|
9c26d54eda | ||
|
|
b72c4db334 | ||
|
|
5830958478 | ||
|
|
c78481b5b1 | ||
|
|
0af9e0f42e | ||
|
|
48b0b25974 | ||
|
|
6bd303d2e8 | ||
|
|
dbddcc1c10 | ||
|
|
bb4a2b9b97 | ||
|
|
5c3b5031d8 | ||
|
|
b460443e77 | ||
|
|
69bfb4180c | ||
|
|
2d32823db8 | ||
|
|
38262f11b2 | ||
|
|
e32beea00a | ||
|
|
bfcbaacec7 | ||
|
|
be8631e90c | ||
|
|
4198881815 | ||
|
|
b91696bc89 | ||
|
|
f7d070b38c | ||
|
|
95cc29fd9c | ||
|
|
9ae76a90fc | ||
|
|
24b8617c54 | ||
|
|
892a168ee7 | ||
|
|
51336412c5 | ||
|
|
f38913b75c | ||
|
|
ae35474130 | ||
|
|
bb5cc236a7 | ||
|
|
6a6c80d9a4 | ||
|
|
ae8f7964fa | ||
|
|
3630b17cde | ||
|
|
95f97d33af | ||
|
|
1243de8010 | ||
|
|
965b179d56 | ||
|
|
5d0fff2276 | ||
|
|
d7b6b7c0ae | ||
|
|
de0497a2dc | ||
|
|
1653c16c65 | ||
|
|
88783b3f5f | ||
|
|
d701bc7347 | ||
|
|
82e9ca93b6 | ||
|
|
5f99e7280a | ||
|
|
f56bf3d41b | ||
|
|
1ac0494f96 | ||
|
|
08720d8eeb | ||
|
|
c44057f47d | ||
|
|
abd54b3939 | ||
|
|
1a9fc593d1 | ||
|
|
b1bf86724d | ||
|
|
bc4c0cc505 | ||
|
|
69a5ffd8b2 | ||
|
|
e22f2f2e90 | ||
|
|
b02972b7ea | ||
|
|
d3cabc1c05 | ||
|
|
634cf79916 | ||
|
|
7e660091e0 | ||
|
|
296ced8e9b | ||
|
|
1226caca03 | ||
|
|
f1c02442bc | ||
|
|
52f8f513da | ||
|
|
c22b364ebe | ||
|
|
0792838b16 | ||
|
|
f16f6ea4d7 | ||
|
|
2e9cc3b581 | ||
|
|
71543dc615 | ||
|
|
f4f327e7d4 | ||
|
|
4c6777862e | ||
|
|
7acee37607 | ||
|
|
1bb9fd04d8 | ||
|
|
022806bea2 | ||
|
|
55bbfe59e6 | ||
|
|
52d7d21019 | ||
|
|
6974de02ac | ||
|
|
d46bd8d10c | ||
|
|
9129ff6e75 | ||
|
|
ed102015ad | ||
|
|
26e2375bfb | ||
|
|
bb1de75128 | ||
|
|
254f238f82 | ||
|
|
85210e2935 | ||
|
|
cdb461ab68 | ||
|
|
0569ed0f86 | ||
|
|
64d1e8677e | ||
|
|
790f6440f3 | ||
|
|
9e46bd8e2c | ||
|
|
02590579df | ||
|
|
fccae7734d | ||
|
|
f97cd74bd3 | ||
|
|
9b5cd427e6 | ||
|
|
0b85b09f62 | ||
|
|
6887291151 | ||
|
|
26b72e3792 | ||
|
|
2d042f2c44 | ||
|
|
52c9e644b8 | ||
|
|
058a0f82d3 | ||
|
|
17fbcc5f09 | ||
|
|
be50758451 | ||
|
|
f5fc5ba813 | ||
|
|
64d4a78570 | ||
|
|
d4780f61bc | ||
|
|
79c290603d | ||
|
|
a6ea7a3950 | ||
|
|
17f98b5c6b | ||
|
|
467736ca2f | ||
|
|
74386d0c42 | ||
|
|
b51a790997 | ||
|
|
6329cd35f9 | ||
|
|
c66e106613 | ||
|
|
4368015435 | ||
|
|
762b072c5e | ||
|
|
664c5b9628 | ||
|
|
6f931305cc | ||
|
|
92afb11668 | ||
|
|
b668928c89 |
No files matched your search
@@ -0,0 +1,3 @@
|
||||
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 use Loom to easily record your screen to show the bug in action. That is *really* helpful!
|
||||
Add screenshots to help explain your problem. You can also record your screen to show the bug in action. That is *really* helpful!
|
||||
|
||||
**Steps to reproduce the bug**
|
||||
|
||||
@@ -21,3 +21,9 @@ Add screenshots to help explain your problem. You can also use Loom to easily re
|
||||
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
|
||||
@@ -0,0 +1,67 @@
|
||||
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 }}
|
||||
NETLIFY_WEBHOOK: ${{ secrets.NETLIFY_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) + 1 ))
|
||||
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: npx semantic-release
|
||||
- id: set_tag_name
|
||||
run: echo "tag_name=v"$(cat $VERSION_FILE)"" >> "$GITHUB_OUTPUT"
|
||||
- uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: ${{ steps.set_tag_name.outputs.tag_name }}
|
||||
files: ${{ env.XCODE_BUILD_PATH }}/*.zip
|
||||
- run: scripts/update_website.sh
|
||||
+4
-1
@@ -1,12 +1,15 @@
|
||||
/.idea/
|
||||
xcuserdata/
|
||||
/.vscode/
|
||||
/buildServer.json
|
||||
WorkspaceSettings.xcsettings
|
||||
IDEWorkspaceChecks.plist
|
||||
/node_modules/
|
||||
/DerivedData/
|
||||
/build/
|
||||
.DS_Store
|
||||
docs/_site/
|
||||
/docs/_site/
|
||||
/docs/vendor/
|
||||
codesign.conf
|
||||
codesign.crt
|
||||
codesign.key
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
retain_objc_accessible: true
|
||||
schemes:
|
||||
- Release
|
||||
targets:
|
||||
- alt-tab-macos
|
||||
workspace: alt-tab-macos.xcworkspace
|
||||
report_exclude:
|
||||
- src/api-wrappers/PrivateApis.swift
|
||||
@@ -0,0 +1,10 @@
|
||||
# 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
|
||||
@@ -0,0 +1,11 @@
|
||||
# **/*.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
@@ -1,32 +0,0 @@
|
||||
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
|
||||
@@ -52,7 +52,5 @@
|
||||
<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,6 +6,12 @@ verify_ssl = true
|
||||
[dev-packages]
|
||||
|
||||
[packages]
|
||||
fonttools = "*"
|
||||
fonttools = "==4.8.1"
|
||||
googletrans = "==3.0.0"
|
||||
|
||||
[scripts]
|
||||
[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"
|
||||
Generated
+102
-2
@@ -1,10 +1,12 @@
|
||||
{
|
||||
"_meta": {
|
||||
"hash": {
|
||||
"sha256": "8f11c81dff5e32871b7cb2314acb76fd1fb4a06fdb403a65bc6749fe3770eda6"
|
||||
"sha256": "3646221352b85667ac21f1b528dc8b29f56ff1e24cb97e7eaba79b5040c78e21"
|
||||
},
|
||||
"pipfile-spec": 6,
|
||||
"requires": {},
|
||||
"requires": {
|
||||
"python_version": "3.6"
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"name": "pypi",
|
||||
@@ -14,13 +16,111 @@
|
||||
]
|
||||
},
|
||||
"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,10 +1,42 @@
|
||||
platform :osx, '10.12'
|
||||
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
|
||||
|
||||
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/Kentzo/ShortcutRecorder.git', :commit => 'f718220854575bad86fa89dd2bb3decd0b14b2b0'
|
||||
pod 'SwiftyMarkdown', '1.1.0'
|
||||
pod 'AppCenter/Crashes', '4.1.0'
|
||||
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
|
||||
end
|
||||
+15
-15
@@ -1,31 +1,31 @@
|
||||
PODS:
|
||||
- AppCenter/Core (4.1.0)
|
||||
- AppCenter/Crashes (4.1.0):
|
||||
- AppCenter/Core (4.3.0)
|
||||
- AppCenter/Crashes (4.3.0):
|
||||
- AppCenter/Core
|
||||
- LetsMove (1.24)
|
||||
- ShortcutRecorder (3.1)
|
||||
- Sparkle (1.24.0)
|
||||
- SwiftyMarkdown (1.1.0)
|
||||
- SwiftyBeaver (1.9.0)
|
||||
|
||||
DEPENDENCIES:
|
||||
- AppCenter/Crashes (= 4.1.0)
|
||||
- AppCenter/Crashes (= 4.3.0)
|
||||
- LetsMove (from `https://github.com/lwouis/LetsMove.git`, commit `7abf4daed1a25218f2b52f2dfd190aee5a50071c`)
|
||||
- ShortcutRecorder (from `https://github.com/Kentzo/ShortcutRecorder.git`, commit `f718220854575bad86fa89dd2bb3decd0b14b2b0`)
|
||||
- ShortcutRecorder (from `https://github.com/lwouis/ShortcutRecorder.git`, branch `alt-tab-current`)
|
||||
- Sparkle (from `https://raw.githubusercontent.com/lwouis/Sparkle/fix-iframe-popup-1.24/Sparkle.podspec`)
|
||||
- SwiftyMarkdown (= 1.1.0)
|
||||
- SwiftyBeaver (= 1.9.0)
|
||||
|
||||
SPEC REPOS:
|
||||
trunk:
|
||||
- AppCenter
|
||||
- SwiftyMarkdown
|
||||
- SwiftyBeaver
|
||||
|
||||
EXTERNAL SOURCES:
|
||||
LetsMove:
|
||||
:commit: 7abf4daed1a25218f2b52f2dfd190aee5a50071c
|
||||
:git: https://github.com/lwouis/LetsMove.git
|
||||
ShortcutRecorder:
|
||||
:commit: f718220854575bad86fa89dd2bb3decd0b14b2b0
|
||||
:git: https://github.com/Kentzo/ShortcutRecorder.git
|
||||
:branch: alt-tab-current
|
||||
:git: https://github.com/lwouis/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: f718220854575bad86fa89dd2bb3decd0b14b2b0
|
||||
:git: https://github.com/Kentzo/ShortcutRecorder.git
|
||||
:commit: 594b360e07a8a368ffec2567f77e465477b9994f
|
||||
:git: https://github.com/lwouis/ShortcutRecorder.git
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
AppCenter: 8832b158d17e54845c3b88a91076218f0b07174d
|
||||
AppCenter: 883369ab78427b0561c688158d689dfe1f993ea9
|
||||
LetsMove: fefe56bc7bc7fb7d37049e28a14f297961229fc5
|
||||
ShortcutRecorder: fdf620aca34101b0cba3b10fca815e0459254189
|
||||
Sparkle: 1fa490bb4ab2a9b37cfb9ea4feec19dd33b81cd2
|
||||
SwiftyMarkdown: 033abc9dad9a37903f81aec5188cade436f40520
|
||||
SwiftyBeaver: d39e7c376bf15e9fffca8263b8fd1f42ea56aa2d
|
||||
|
||||
PODFILE CHECKSUM: 6102fea2825ff3bd342fd007b8e6322858c9474e
|
||||
PODFILE CHECKSUM: c3fc354fa5ccad08f1b9f7302205cc969b4b0ef0
|
||||
|
||||
COCOAPODS: 1.9.1
|
||||
COCOAPODS: 1.16.2
|
||||
+20
-20
@@ -6,18 +6,15 @@
|
||||
<array>
|
||||
<dict>
|
||||
<key>LibraryIdentifier</key>
|
||||
<string>ios-arm64_arm64e_armv7_armv7s</string>
|
||||
<string>tvos-arm64</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>ios</string>
|
||||
<string>tvos</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>LibraryIdentifier</key>
|
||||
@@ -34,18 +31,6 @@
|
||||
<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>
|
||||
@@ -64,16 +49,18 @@
|
||||
</dict>
|
||||
<dict>
|
||||
<key>LibraryIdentifier</key>
|
||||
<string>macos-arm64_x86_64</string>
|
||||
<string>ios-arm64_arm64e_armv7_armv7s</string>
|
||||
<key>LibraryPath</key>
|
||||
<string>AppCenter.framework</string>
|
||||
<key>SupportedArchitectures</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
<string>x86_64</string>
|
||||
<string>arm64e</string>
|
||||
<string>armv7</string>
|
||||
<string>armv7s</string>
|
||||
</array>
|
||||
<key>SupportedPlatform</key>
|
||||
<string>macos</string>
|
||||
<string>ios</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>LibraryIdentifier</key>
|
||||
@@ -90,6 +77,19 @@
|
||||
<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,6 +17,7 @@
|
||||
#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>
|
||||
@@ -35,6 +36,7 @@
|
||||
#import "MSACLog.h"
|
||||
#import "MSACLogWithProperties.h"
|
||||
#import "MSACLogger.h"
|
||||
#import "MSACSerializableObject.h"
|
||||
#import "MSACService.h"
|
||||
#import "MSACServiceAbstract.h"
|
||||
#import "MSACWrapperLogger.h"
|
||||
|
||||
+12
-4
@@ -95,6 +95,14 @@ NS_SWIFT_NAME(AppCenter)
|
||||
*/
|
||||
@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled);
|
||||
|
||||
/**
|
||||
* Flag indicating whether SDK can send network requests.
|
||||
*
|
||||
* The state is persisted in the device's storage across application launches.
|
||||
*/
|
||||
@property(class, nonatomic, getter=isNetworkRequestsAllowed, setter=setNetworkRequestsAllowed:)
|
||||
BOOL networkRequestsAllowed NS_SWIFT_NAME(networkRequestsAllowed);
|
||||
|
||||
/**
|
||||
* The SDK's log level.
|
||||
*/
|
||||
@@ -103,7 +111,7 @@ NS_SWIFT_NAME(AppCenter)
|
||||
/**
|
||||
* Base URL to use for backend communication.
|
||||
*/
|
||||
@property(class, nonatomic) NSString *logUrl;
|
||||
@property(class, nonatomic, strong) NSString *logUrl;
|
||||
|
||||
/**
|
||||
* Set log handler.
|
||||
@@ -114,7 +122,7 @@ NS_SWIFT_NAME(AppCenter)
|
||||
* Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App
|
||||
* Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk.
|
||||
*/
|
||||
@property(class, nonatomic) MSACWrapperSdk *wrapperSdk;
|
||||
@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk;
|
||||
|
||||
#if !TARGET_OS_TV
|
||||
/**
|
||||
@@ -181,14 +189,14 @@ NS_SWIFT_NAME(AppCenter)
|
||||
*
|
||||
* AppCenter must be configured or started before this API can be used.
|
||||
*/
|
||||
@property(class, nonatomic) NSString *userId;
|
||||
@property(class, nonatomic, strong) NSString *userId;
|
||||
|
||||
/**
|
||||
* Set country code to use when building device properties.
|
||||
*
|
||||
* @see https://www.iso.org/obp/ui/#search for more information.
|
||||
*/
|
||||
@property(class, nonatomic) NSString *countryCode;
|
||||
@property(class, nonatomic, strong) NSString *countryCode;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
+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) NSString *_Nullable logUrl;
|
||||
@property(nonatomic, strong) NSString *_Nullable logUrl;
|
||||
|
||||
/**
|
||||
* Set the app secret.
|
||||
*/
|
||||
@property(nonatomic) NSString *_Nullable appSecret;
|
||||
@property(nonatomic, strong) NSString *_Nullable appSecret;
|
||||
|
||||
/**
|
||||
* Set the maximum size of the internal storage. This method must be called before App Center is started.
|
||||
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#ifndef SERIALIZABLE_OBJECT_H
|
||||
#define SERIALIZABLE_OBJECT_H
|
||||
|
||||
@protocol MSACSerializableObject <NSCoding>
|
||||
|
||||
/**
|
||||
* Serialize this object to a dictionary.
|
||||
*
|
||||
* @return A dictionary representing this object.
|
||||
*/
|
||||
- (NSMutableDictionary *)serializeToDictionary;
|
||||
|
||||
@end
|
||||
#endif
|
||||
BIN
Binary file not shown.
+5
-1
@@ -10,6 +10,8 @@
|
||||
@protocol MSACChannelProtocol;
|
||||
@protocol MSACLog;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol MSACChannelDelegate <NSObject>
|
||||
|
||||
@optional
|
||||
@@ -69,7 +71,7 @@
|
||||
* @param log The log to be sent.
|
||||
* @param error The error that occured.
|
||||
*/
|
||||
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(NSError *)error;
|
||||
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(nullable NSError *)error;
|
||||
|
||||
/**
|
||||
* A callback that is called when setEnabled has been invoked.
|
||||
@@ -108,3 +110,5 @@
|
||||
- (BOOL)channelUnit:(id<MSACChannelUnitProtocol>)channelUnit shouldFilterLog:(id<MSACLog>)log;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
BIN
Binary file not shown.
+2
@@ -17,6 +17,7 @@
|
||||
#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>
|
||||
@@ -35,6 +36,7 @@
|
||||
#import "MSACLog.h"
|
||||
#import "MSACLogWithProperties.h"
|
||||
#import "MSACLogger.h"
|
||||
#import "MSACSerializableObject.h"
|
||||
#import "MSACService.h"
|
||||
#import "MSACServiceAbstract.h"
|
||||
#import "MSACWrapperLogger.h"
|
||||
|
||||
+12
-4
@@ -95,6 +95,14 @@ NS_SWIFT_NAME(AppCenter)
|
||||
*/
|
||||
@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled);
|
||||
|
||||
/**
|
||||
* Flag indicating whether SDK can send network requests.
|
||||
*
|
||||
* The state is persisted in the device's storage across application launches.
|
||||
*/
|
||||
@property(class, nonatomic, getter=isNetworkRequestsAllowed, setter=setNetworkRequestsAllowed:)
|
||||
BOOL networkRequestsAllowed NS_SWIFT_NAME(networkRequestsAllowed);
|
||||
|
||||
/**
|
||||
* The SDK's log level.
|
||||
*/
|
||||
@@ -103,7 +111,7 @@ NS_SWIFT_NAME(AppCenter)
|
||||
/**
|
||||
* Base URL to use for backend communication.
|
||||
*/
|
||||
@property(class, nonatomic) NSString *logUrl;
|
||||
@property(class, nonatomic, strong) NSString *logUrl;
|
||||
|
||||
/**
|
||||
* Set log handler.
|
||||
@@ -114,7 +122,7 @@ NS_SWIFT_NAME(AppCenter)
|
||||
* Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App
|
||||
* Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk.
|
||||
*/
|
||||
@property(class, nonatomic) MSACWrapperSdk *wrapperSdk;
|
||||
@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk;
|
||||
|
||||
#if !TARGET_OS_TV
|
||||
/**
|
||||
@@ -181,14 +189,14 @@ NS_SWIFT_NAME(AppCenter)
|
||||
*
|
||||
* AppCenter must be configured or started before this API can be used.
|
||||
*/
|
||||
@property(class, nonatomic) NSString *userId;
|
||||
@property(class, nonatomic, strong) NSString *userId;
|
||||
|
||||
/**
|
||||
* Set country code to use when building device properties.
|
||||
*
|
||||
* @see https://www.iso.org/obp/ui/#search for more information.
|
||||
*/
|
||||
@property(class, nonatomic) NSString *countryCode;
|
||||
@property(class, nonatomic, strong) NSString *countryCode;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
+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) NSString *_Nullable logUrl;
|
||||
@property(nonatomic, strong) NSString *_Nullable logUrl;
|
||||
|
||||
/**
|
||||
* Set the app secret.
|
||||
*/
|
||||
@property(nonatomic) NSString *_Nullable appSecret;
|
||||
@property(nonatomic, strong) NSString *_Nullable appSecret;
|
||||
|
||||
/**
|
||||
* Set the maximum size of the internal storage. This method must be called before App Center is started.
|
||||
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#ifndef SERIALIZABLE_OBJECT_H
|
||||
#define SERIALIZABLE_OBJECT_H
|
||||
|
||||
@protocol MSACSerializableObject <NSCoding>
|
||||
|
||||
/**
|
||||
* Serialize this object to a dictionary.
|
||||
*
|
||||
* @return A dictionary representing this object.
|
||||
*/
|
||||
- (NSMutableDictionary *)serializeToDictionary;
|
||||
|
||||
@end
|
||||
#endif
|
||||
BIN
Binary file not shown.
+5
-1
@@ -10,6 +10,8 @@
|
||||
@protocol MSACChannelProtocol;
|
||||
@protocol MSACLog;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol MSACChannelDelegate <NSObject>
|
||||
|
||||
@optional
|
||||
@@ -69,7 +71,7 @@
|
||||
* @param log The log to be sent.
|
||||
* @param error The error that occured.
|
||||
*/
|
||||
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(NSError *)error;
|
||||
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(nullable NSError *)error;
|
||||
|
||||
/**
|
||||
* A callback that is called when setEnabled has been invoked.
|
||||
@@ -108,3 +110,5 @@
|
||||
- (BOOL)channelUnit:(id<MSACChannelUnitProtocol>)channelUnit shouldFilterLog:(id<MSACLog>)log;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+28
-13
@@ -6,7 +6,7 @@
|
||||
<dict>
|
||||
<key>Headers/AppCenter.h</key>
|
||||
<data>
|
||||
qaTNZSZUTXwLe2rrosDNCarRqAM=
|
||||
w9sW6K7DVhGfORLCjGXijaR25m0=
|
||||
</data>
|
||||
<key>Headers/MSACAbstractLog.h</key>
|
||||
<data>
|
||||
@@ -14,7 +14,7 @@
|
||||
</data>
|
||||
<key>Headers/MSACAppCenter.h</key>
|
||||
<data>
|
||||
fyZS3gRJvUizXP6KoVErqu2xyZE=
|
||||
2cUgfgx3odOGivdk+n6FXq94KgU=
|
||||
</data>
|
||||
<key>Headers/MSACAppCenterErrors.h</key>
|
||||
<data>
|
||||
@@ -22,7 +22,7 @@
|
||||
</data>
|
||||
<key>Headers/MSACChannelGroupProtocol.h</key>
|
||||
<data>
|
||||
3ucRib1Bg8/nTJfvHHieHPd9o+s=
|
||||
jyWCHN4PSygLVy0IM5565DvDQAc=
|
||||
</data>
|
||||
<key>Headers/MSACChannelProtocol.h</key>
|
||||
<data>
|
||||
@@ -60,6 +60,10 @@
|
||||
<data>
|
||||
CaYHmB3+psy5/txfMvd2+bWGJkc=
|
||||
</data>
|
||||
<key>Headers/MSACSerializableObject.h</key>
|
||||
<data>
|
||||
or5nqKvOQVn2ZieUCmYK6fIZkWY=
|
||||
</data>
|
||||
<key>Headers/MSACService.h</key>
|
||||
<data>
|
||||
lz5atiMe+oTdu9e6g74KPC0CjOs=
|
||||
@@ -78,7 +82,7 @@
|
||||
</data>
|
||||
<key>Info.plist</key>
|
||||
<data>
|
||||
zdZ/cUUa6uXVQ4cqVo6u7Rs1B38=
|
||||
vQsDzcm1lLcpUNIaE5cw31rdoVk=
|
||||
</data>
|
||||
<key>Modules/module.modulemap</key>
|
||||
<data>
|
||||
@@ -86,7 +90,7 @@
|
||||
</data>
|
||||
<key>PrivateHeaders/MSACChannelDelegate.h</key>
|
||||
<data>
|
||||
WzX9TX1oxW4ezY/2JpPNH9dUE24=
|
||||
Msff4BZ/b1IjaYeKTDBHtNtT7wI=
|
||||
</data>
|
||||
</dict>
|
||||
<key>files2</key>
|
||||
@@ -95,11 +99,11 @@
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
qaTNZSZUTXwLe2rrosDNCarRqAM=
|
||||
w9sW6K7DVhGfORLCjGXijaR25m0=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
2Wv2BhvzEcs7qHle8K3IXhWh7EVoAIrE2gOs4b0p39c=
|
||||
e9qe35Ew1pz0RMBfwa2Jv+3188p8iTwwktkIgCa/ztg=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MSACAbstractLog.h</key>
|
||||
@@ -117,11 +121,11 @@
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
fyZS3gRJvUizXP6KoVErqu2xyZE=
|
||||
2cUgfgx3odOGivdk+n6FXq94KgU=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
nuBkrbyOl3jAk9o5WoL4cSZAFLBmtD3D0NhUzZh8XZ4=
|
||||
C10z0NrhN4J4qdWbypOdjlQ8QLlq4tvPMP21geOS4vI=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MSACAppCenterErrors.h</key>
|
||||
@@ -139,11 +143,11 @@
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
3ucRib1Bg8/nTJfvHHieHPd9o+s=
|
||||
jyWCHN4PSygLVy0IM5565DvDQAc=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
ZygIkpz0WRFePrjQafoN7MektFloCZQARlOWc3ozcVw=
|
||||
d36rCjxsURqDkFv+g5BwWNybz5Zksc9B91gqArFcJbk=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MSACChannelProtocol.h</key>
|
||||
@@ -245,6 +249,17 @@
|
||||
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>
|
||||
@@ -304,11 +319,11 @@
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
WzX9TX1oxW4ezY/2JpPNH9dUE24=
|
||||
Msff4BZ/b1IjaYeKTDBHtNtT7wI=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
AbAoifmIR5SJez5erJnVgTIz81yIMmvbnw6siYXEvaM=
|
||||
d1uS+ptvOX/o3CCB23FEJAtvcf7KIf/8ozlruAf1f0g=
|
||||
</data>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
BIN
Binary file not shown.
+2
@@ -17,6 +17,7 @@
|
||||
#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>
|
||||
@@ -35,6 +36,7 @@
|
||||
#import "MSACLog.h"
|
||||
#import "MSACLogWithProperties.h"
|
||||
#import "MSACLogger.h"
|
||||
#import "MSACSerializableObject.h"
|
||||
#import "MSACService.h"
|
||||
#import "MSACServiceAbstract.h"
|
||||
#import "MSACWrapperLogger.h"
|
||||
|
||||
+12
-4
@@ -95,6 +95,14 @@ NS_SWIFT_NAME(AppCenter)
|
||||
*/
|
||||
@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled);
|
||||
|
||||
/**
|
||||
* Flag indicating whether SDK can send network requests.
|
||||
*
|
||||
* The state is persisted in the device's storage across application launches.
|
||||
*/
|
||||
@property(class, nonatomic, getter=isNetworkRequestsAllowed, setter=setNetworkRequestsAllowed:)
|
||||
BOOL networkRequestsAllowed NS_SWIFT_NAME(networkRequestsAllowed);
|
||||
|
||||
/**
|
||||
* The SDK's log level.
|
||||
*/
|
||||
@@ -103,7 +111,7 @@ NS_SWIFT_NAME(AppCenter)
|
||||
/**
|
||||
* Base URL to use for backend communication.
|
||||
*/
|
||||
@property(class, nonatomic) NSString *logUrl;
|
||||
@property(class, nonatomic, strong) NSString *logUrl;
|
||||
|
||||
/**
|
||||
* Set log handler.
|
||||
@@ -114,7 +122,7 @@ NS_SWIFT_NAME(AppCenter)
|
||||
* Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App
|
||||
* Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk.
|
||||
*/
|
||||
@property(class, nonatomic) MSACWrapperSdk *wrapperSdk;
|
||||
@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk;
|
||||
|
||||
#if !TARGET_OS_TV
|
||||
/**
|
||||
@@ -181,14 +189,14 @@ NS_SWIFT_NAME(AppCenter)
|
||||
*
|
||||
* AppCenter must be configured or started before this API can be used.
|
||||
*/
|
||||
@property(class, nonatomic) NSString *userId;
|
||||
@property(class, nonatomic, strong) NSString *userId;
|
||||
|
||||
/**
|
||||
* Set country code to use when building device properties.
|
||||
*
|
||||
* @see https://www.iso.org/obp/ui/#search for more information.
|
||||
*/
|
||||
@property(class, nonatomic) NSString *countryCode;
|
||||
@property(class, nonatomic, strong) NSString *countryCode;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
+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) NSString *_Nullable logUrl;
|
||||
@property(nonatomic, strong) NSString *_Nullable logUrl;
|
||||
|
||||
/**
|
||||
* Set the app secret.
|
||||
*/
|
||||
@property(nonatomic) NSString *_Nullable appSecret;
|
||||
@property(nonatomic, strong) NSString *_Nullable appSecret;
|
||||
|
||||
/**
|
||||
* Set the maximum size of the internal storage. This method must be called before App Center is started.
|
||||
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#ifndef SERIALIZABLE_OBJECT_H
|
||||
#define SERIALIZABLE_OBJECT_H
|
||||
|
||||
@protocol MSACSerializableObject <NSCoding>
|
||||
|
||||
/**
|
||||
* Serialize this object to a dictionary.
|
||||
*
|
||||
* @return A dictionary representing this object.
|
||||
*/
|
||||
- (NSMutableDictionary *)serializeToDictionary;
|
||||
|
||||
@end
|
||||
#endif
|
||||
+5
-1
@@ -10,6 +10,8 @@
|
||||
@protocol MSACChannelProtocol;
|
||||
@protocol MSACLog;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol MSACChannelDelegate <NSObject>
|
||||
|
||||
@optional
|
||||
@@ -69,7 +71,7 @@
|
||||
* @param log The log to be sent.
|
||||
* @param error The error that occured.
|
||||
*/
|
||||
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(NSError *)error;
|
||||
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(nullable NSError *)error;
|
||||
|
||||
/**
|
||||
* A callback that is called when setEnabled has been invoked.
|
||||
@@ -108,3 +110,5 @@
|
||||
- (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>19H15</string>
|
||||
<string>19H1323</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
|
||||
BIN
Binary file not shown.
+2
@@ -17,6 +17,7 @@
|
||||
#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>
|
||||
@@ -35,6 +36,7 @@
|
||||
#import "MSACLog.h"
|
||||
#import "MSACLogWithProperties.h"
|
||||
#import "MSACLogger.h"
|
||||
#import "MSACSerializableObject.h"
|
||||
#import "MSACService.h"
|
||||
#import "MSACServiceAbstract.h"
|
||||
#import "MSACWrapperLogger.h"
|
||||
|
||||
+12
-4
@@ -95,6 +95,14 @@ NS_SWIFT_NAME(AppCenter)
|
||||
*/
|
||||
@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled);
|
||||
|
||||
/**
|
||||
* Flag indicating whether SDK can send network requests.
|
||||
*
|
||||
* The state is persisted in the device's storage across application launches.
|
||||
*/
|
||||
@property(class, nonatomic, getter=isNetworkRequestsAllowed, setter=setNetworkRequestsAllowed:)
|
||||
BOOL networkRequestsAllowed NS_SWIFT_NAME(networkRequestsAllowed);
|
||||
|
||||
/**
|
||||
* The SDK's log level.
|
||||
*/
|
||||
@@ -103,7 +111,7 @@ NS_SWIFT_NAME(AppCenter)
|
||||
/**
|
||||
* Base URL to use for backend communication.
|
||||
*/
|
||||
@property(class, nonatomic) NSString *logUrl;
|
||||
@property(class, nonatomic, strong) NSString *logUrl;
|
||||
|
||||
/**
|
||||
* Set log handler.
|
||||
@@ -114,7 +122,7 @@ NS_SWIFT_NAME(AppCenter)
|
||||
* Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App
|
||||
* Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk.
|
||||
*/
|
||||
@property(class, nonatomic) MSACWrapperSdk *wrapperSdk;
|
||||
@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk;
|
||||
|
||||
#if !TARGET_OS_TV
|
||||
/**
|
||||
@@ -181,14 +189,14 @@ NS_SWIFT_NAME(AppCenter)
|
||||
*
|
||||
* AppCenter must be configured or started before this API can be used.
|
||||
*/
|
||||
@property(class, nonatomic) NSString *userId;
|
||||
@property(class, nonatomic, strong) NSString *userId;
|
||||
|
||||
/**
|
||||
* Set country code to use when building device properties.
|
||||
*
|
||||
* @see https://www.iso.org/obp/ui/#search for more information.
|
||||
*/
|
||||
@property(class, nonatomic) NSString *countryCode;
|
||||
@property(class, nonatomic, strong) NSString *countryCode;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
+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) NSString *_Nullable logUrl;
|
||||
@property(nonatomic, strong) NSString *_Nullable logUrl;
|
||||
|
||||
/**
|
||||
* Set the app secret.
|
||||
*/
|
||||
@property(nonatomic) NSString *_Nullable appSecret;
|
||||
@property(nonatomic, strong) NSString *_Nullable appSecret;
|
||||
|
||||
/**
|
||||
* Set the maximum size of the internal storage. This method must be called before App Center is started.
|
||||
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#ifndef SERIALIZABLE_OBJECT_H
|
||||
#define SERIALIZABLE_OBJECT_H
|
||||
|
||||
@protocol MSACSerializableObject <NSCoding>
|
||||
|
||||
/**
|
||||
* Serialize this object to a dictionary.
|
||||
*
|
||||
* @return A dictionary representing this object.
|
||||
*/
|
||||
- (NSMutableDictionary *)serializeToDictionary;
|
||||
|
||||
@end
|
||||
#endif
|
||||
+5
-1
@@ -10,6 +10,8 @@
|
||||
@protocol MSACChannelProtocol;
|
||||
@protocol MSACLog;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol MSACChannelDelegate <NSObject>
|
||||
|
||||
@optional
|
||||
@@ -69,7 +71,7 @@
|
||||
* @param log The log to be sent.
|
||||
* @param error The error that occured.
|
||||
*/
|
||||
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(NSError *)error;
|
||||
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(nullable NSError *)error;
|
||||
|
||||
/**
|
||||
* A callback that is called when setEnabled has been invoked.
|
||||
@@ -108,3 +110,5 @@
|
||||
- (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>19H15</string>
|
||||
<string>19H1323</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
|
||||
Generated
BIN
Binary file not shown.
+2
@@ -17,6 +17,7 @@
|
||||
#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>
|
||||
@@ -35,6 +36,7 @@
|
||||
#import "MSACLog.h"
|
||||
#import "MSACLogWithProperties.h"
|
||||
#import "MSACLogger.h"
|
||||
#import "MSACSerializableObject.h"
|
||||
#import "MSACService.h"
|
||||
#import "MSACServiceAbstract.h"
|
||||
#import "MSACWrapperLogger.h"
|
||||
|
||||
+12
-4
@@ -95,6 +95,14 @@ NS_SWIFT_NAME(AppCenter)
|
||||
*/
|
||||
@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled);
|
||||
|
||||
/**
|
||||
* Flag indicating whether SDK can send network requests.
|
||||
*
|
||||
* The state is persisted in the device's storage across application launches.
|
||||
*/
|
||||
@property(class, nonatomic, getter=isNetworkRequestsAllowed, setter=setNetworkRequestsAllowed:)
|
||||
BOOL networkRequestsAllowed NS_SWIFT_NAME(networkRequestsAllowed);
|
||||
|
||||
/**
|
||||
* The SDK's log level.
|
||||
*/
|
||||
@@ -103,7 +111,7 @@ NS_SWIFT_NAME(AppCenter)
|
||||
/**
|
||||
* Base URL to use for backend communication.
|
||||
*/
|
||||
@property(class, nonatomic) NSString *logUrl;
|
||||
@property(class, nonatomic, strong) NSString *logUrl;
|
||||
|
||||
/**
|
||||
* Set log handler.
|
||||
@@ -114,7 +122,7 @@ NS_SWIFT_NAME(AppCenter)
|
||||
* Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App
|
||||
* Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk.
|
||||
*/
|
||||
@property(class, nonatomic) MSACWrapperSdk *wrapperSdk;
|
||||
@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk;
|
||||
|
||||
#if !TARGET_OS_TV
|
||||
/**
|
||||
@@ -181,14 +189,14 @@ NS_SWIFT_NAME(AppCenter)
|
||||
*
|
||||
* AppCenter must be configured or started before this API can be used.
|
||||
*/
|
||||
@property(class, nonatomic) NSString *userId;
|
||||
@property(class, nonatomic, strong) NSString *userId;
|
||||
|
||||
/**
|
||||
* Set country code to use when building device properties.
|
||||
*
|
||||
* @see https://www.iso.org/obp/ui/#search for more information.
|
||||
*/
|
||||
@property(class, nonatomic) NSString *countryCode;
|
||||
@property(class, nonatomic, strong) NSString *countryCode;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
+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) NSString *_Nullable logUrl;
|
||||
@property(nonatomic, strong) NSString *_Nullable logUrl;
|
||||
|
||||
/**
|
||||
* Set the app secret.
|
||||
*/
|
||||
@property(nonatomic) NSString *_Nullable appSecret;
|
||||
@property(nonatomic, strong) NSString *_Nullable appSecret;
|
||||
|
||||
/**
|
||||
* Set the maximum size of the internal storage. This method must be called before App Center is started.
|
||||
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#ifndef SERIALIZABLE_OBJECT_H
|
||||
#define SERIALIZABLE_OBJECT_H
|
||||
|
||||
@protocol MSACSerializableObject <NSCoding>
|
||||
|
||||
/**
|
||||
* Serialize this object to a dictionary.
|
||||
*
|
||||
* @return A dictionary representing this object.
|
||||
*/
|
||||
- (NSMutableDictionary *)serializeToDictionary;
|
||||
|
||||
@end
|
||||
#endif
|
||||
Generated
BIN
Binary file not shown.
+5
-1
@@ -10,6 +10,8 @@
|
||||
@protocol MSACChannelProtocol;
|
||||
@protocol MSACLog;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol MSACChannelDelegate <NSObject>
|
||||
|
||||
@optional
|
||||
@@ -69,7 +71,7 @@
|
||||
* @param log The log to be sent.
|
||||
* @param error The error that occured.
|
||||
*/
|
||||
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(NSError *)error;
|
||||
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(nullable NSError *)error;
|
||||
|
||||
/**
|
||||
* A callback that is called when setEnabled has been invoked.
|
||||
@@ -108,3 +110,5 @@
|
||||
- (BOOL)channelUnit:(id<MSACChannelUnitProtocol>)channelUnit shouldFilterLog:(id<MSACLog>)log;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
BIN
Binary file not shown.
+2
@@ -17,6 +17,7 @@
|
||||
#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>
|
||||
@@ -35,6 +36,7 @@
|
||||
#import "MSACLog.h"
|
||||
#import "MSACLogWithProperties.h"
|
||||
#import "MSACLogger.h"
|
||||
#import "MSACSerializableObject.h"
|
||||
#import "MSACService.h"
|
||||
#import "MSACServiceAbstract.h"
|
||||
#import "MSACWrapperLogger.h"
|
||||
|
||||
+12
-4
@@ -95,6 +95,14 @@ NS_SWIFT_NAME(AppCenter)
|
||||
*/
|
||||
@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled);
|
||||
|
||||
/**
|
||||
* Flag indicating whether SDK can send network requests.
|
||||
*
|
||||
* The state is persisted in the device's storage across application launches.
|
||||
*/
|
||||
@property(class, nonatomic, getter=isNetworkRequestsAllowed, setter=setNetworkRequestsAllowed:)
|
||||
BOOL networkRequestsAllowed NS_SWIFT_NAME(networkRequestsAllowed);
|
||||
|
||||
/**
|
||||
* The SDK's log level.
|
||||
*/
|
||||
@@ -103,7 +111,7 @@ NS_SWIFT_NAME(AppCenter)
|
||||
/**
|
||||
* Base URL to use for backend communication.
|
||||
*/
|
||||
@property(class, nonatomic) NSString *logUrl;
|
||||
@property(class, nonatomic, strong) NSString *logUrl;
|
||||
|
||||
/**
|
||||
* Set log handler.
|
||||
@@ -114,7 +122,7 @@ NS_SWIFT_NAME(AppCenter)
|
||||
* Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App
|
||||
* Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk.
|
||||
*/
|
||||
@property(class, nonatomic) MSACWrapperSdk *wrapperSdk;
|
||||
@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk;
|
||||
|
||||
#if !TARGET_OS_TV
|
||||
/**
|
||||
@@ -181,14 +189,14 @@ NS_SWIFT_NAME(AppCenter)
|
||||
*
|
||||
* AppCenter must be configured or started before this API can be used.
|
||||
*/
|
||||
@property(class, nonatomic) NSString *userId;
|
||||
@property(class, nonatomic, strong) NSString *userId;
|
||||
|
||||
/**
|
||||
* Set country code to use when building device properties.
|
||||
*
|
||||
* @see https://www.iso.org/obp/ui/#search for more information.
|
||||
*/
|
||||
@property(class, nonatomic) NSString *countryCode;
|
||||
@property(class, nonatomic, strong) NSString *countryCode;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
+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) NSString *_Nullable logUrl;
|
||||
@property(nonatomic, strong) NSString *_Nullable logUrl;
|
||||
|
||||
/**
|
||||
* Set the app secret.
|
||||
*/
|
||||
@property(nonatomic) NSString *_Nullable appSecret;
|
||||
@property(nonatomic, strong) NSString *_Nullable appSecret;
|
||||
|
||||
/**
|
||||
* Set the maximum size of the internal storage. This method must be called before App Center is started.
|
||||
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#ifndef SERIALIZABLE_OBJECT_H
|
||||
#define SERIALIZABLE_OBJECT_H
|
||||
|
||||
@protocol MSACSerializableObject <NSCoding>
|
||||
|
||||
/**
|
||||
* Serialize this object to a dictionary.
|
||||
*
|
||||
* @return A dictionary representing this object.
|
||||
*/
|
||||
- (NSMutableDictionary *)serializeToDictionary;
|
||||
|
||||
@end
|
||||
#endif
|
||||
BIN
Binary file not shown.
+5
-1
@@ -10,6 +10,8 @@
|
||||
@protocol MSACChannelProtocol;
|
||||
@protocol MSACLog;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol MSACChannelDelegate <NSObject>
|
||||
|
||||
@optional
|
||||
@@ -69,7 +71,7 @@
|
||||
* @param log The log to be sent.
|
||||
* @param error The error that occured.
|
||||
*/
|
||||
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(NSError *)error;
|
||||
- (void)channel:(id<MSACChannelProtocol>)channel didFailSendingLog:(id<MSACLog>)log withError:(nullable NSError *)error;
|
||||
|
||||
/**
|
||||
* A callback that is called when setEnabled has been invoked.
|
||||
@@ -108,3 +110,5 @@
|
||||
- (BOOL)channelUnit:(id<MSACChannelUnitProtocol>)channelUnit shouldFilterLog:(id<MSACLog>)log;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+28
-13
@@ -6,7 +6,7 @@
|
||||
<dict>
|
||||
<key>Headers/AppCenter.h</key>
|
||||
<data>
|
||||
qaTNZSZUTXwLe2rrosDNCarRqAM=
|
||||
w9sW6K7DVhGfORLCjGXijaR25m0=
|
||||
</data>
|
||||
<key>Headers/MSACAbstractLog.h</key>
|
||||
<data>
|
||||
@@ -14,7 +14,7 @@
|
||||
</data>
|
||||
<key>Headers/MSACAppCenter.h</key>
|
||||
<data>
|
||||
fyZS3gRJvUizXP6KoVErqu2xyZE=
|
||||
2cUgfgx3odOGivdk+n6FXq94KgU=
|
||||
</data>
|
||||
<key>Headers/MSACAppCenterErrors.h</key>
|
||||
<data>
|
||||
@@ -22,7 +22,7 @@
|
||||
</data>
|
||||
<key>Headers/MSACChannelGroupProtocol.h</key>
|
||||
<data>
|
||||
3ucRib1Bg8/nTJfvHHieHPd9o+s=
|
||||
jyWCHN4PSygLVy0IM5565DvDQAc=
|
||||
</data>
|
||||
<key>Headers/MSACChannelProtocol.h</key>
|
||||
<data>
|
||||
@@ -60,6 +60,10 @@
|
||||
<data>
|
||||
CaYHmB3+psy5/txfMvd2+bWGJkc=
|
||||
</data>
|
||||
<key>Headers/MSACSerializableObject.h</key>
|
||||
<data>
|
||||
or5nqKvOQVn2ZieUCmYK6fIZkWY=
|
||||
</data>
|
||||
<key>Headers/MSACService.h</key>
|
||||
<data>
|
||||
lz5atiMe+oTdu9e6g74KPC0CjOs=
|
||||
@@ -78,7 +82,7 @@
|
||||
</data>
|
||||
<key>Info.plist</key>
|
||||
<data>
|
||||
7sYncZtohI81qzz4TO0ZyfxPqSM=
|
||||
nu+ldEv5cj3rjniF8N9Pt71xz68=
|
||||
</data>
|
||||
<key>Modules/module.modulemap</key>
|
||||
<data>
|
||||
@@ -86,7 +90,7 @@
|
||||
</data>
|
||||
<key>PrivateHeaders/MSACChannelDelegate.h</key>
|
||||
<data>
|
||||
WzX9TX1oxW4ezY/2JpPNH9dUE24=
|
||||
Msff4BZ/b1IjaYeKTDBHtNtT7wI=
|
||||
</data>
|
||||
</dict>
|
||||
<key>files2</key>
|
||||
@@ -95,11 +99,11 @@
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
qaTNZSZUTXwLe2rrosDNCarRqAM=
|
||||
w9sW6K7DVhGfORLCjGXijaR25m0=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
2Wv2BhvzEcs7qHle8K3IXhWh7EVoAIrE2gOs4b0p39c=
|
||||
e9qe35Ew1pz0RMBfwa2Jv+3188p8iTwwktkIgCa/ztg=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MSACAbstractLog.h</key>
|
||||
@@ -117,11 +121,11 @@
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
fyZS3gRJvUizXP6KoVErqu2xyZE=
|
||||
2cUgfgx3odOGivdk+n6FXq94KgU=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
nuBkrbyOl3jAk9o5WoL4cSZAFLBmtD3D0NhUzZh8XZ4=
|
||||
C10z0NrhN4J4qdWbypOdjlQ8QLlq4tvPMP21geOS4vI=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MSACAppCenterErrors.h</key>
|
||||
@@ -139,11 +143,11 @@
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
3ucRib1Bg8/nTJfvHHieHPd9o+s=
|
||||
jyWCHN4PSygLVy0IM5565DvDQAc=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
ZygIkpz0WRFePrjQafoN7MektFloCZQARlOWc3ozcVw=
|
||||
d36rCjxsURqDkFv+g5BwWNybz5Zksc9B91gqArFcJbk=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MSACChannelProtocol.h</key>
|
||||
@@ -245,6 +249,17 @@
|
||||
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>
|
||||
@@ -304,11 +319,11 @@
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
WzX9TX1oxW4ezY/2JpPNH9dUE24=
|
||||
Msff4BZ/b1IjaYeKTDBHtNtT7wI=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
AbAoifmIR5SJez5erJnVgTIz81yIMmvbnw6siYXEvaM=
|
||||
d1uS+ptvOX/o3CCB23FEJAtvcf7KIf/8ozlruAf1f0g=
|
||||
</data>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
+33
-33
@@ -6,18 +6,19 @@
|
||||
<array>
|
||||
<dict>
|
||||
<key>LibraryIdentifier</key>
|
||||
<string>ios-arm64_arm64e_armv7_armv7s</string>
|
||||
<string>ios-arm64_i386_x86_64-simulator</string>
|
||||
<key>LibraryPath</key>
|
||||
<string>AppCenterCrashes.framework</string>
|
||||
<key>SupportedArchitectures</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
<string>arm64e</string>
|
||||
<string>armv7</string>
|
||||
<string>armv7s</string>
|
||||
<string>i386</string>
|
||||
<string>x86_64</string>
|
||||
</array>
|
||||
<key>SupportedPlatform</key>
|
||||
<string>ios</string>
|
||||
<key>SupportedPlatformVariant</key>
|
||||
<string>simulator</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>LibraryIdentifier</key>
|
||||
@@ -31,19 +32,6 @@
|
||||
<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>
|
||||
@@ -59,6 +47,34 @@
|
||||
<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>
|
||||
@@ -74,22 +90,6 @@
|
||||
<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,12 +9,18 @@
|
||||
#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,6 +14,8 @@
|
||||
#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.
|
||||
@@ -69,6 +71,32 @@ 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:(NSError *)error;
|
||||
- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(nullable NSError *)error;
|
||||
|
||||
/**
|
||||
* Method to get the attachments associated to an error report.
|
||||
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
// 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
@@ -0,0 +1,44 @@
|
||||
// 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
|
||||
+1
-16
@@ -13,7 +13,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class MSACErrorReport;
|
||||
@class MSACErrorAttachmentLog;
|
||||
@class MSACException;
|
||||
|
||||
/**
|
||||
* This general class allows wrappers to supplement the Crashes SDK with their own behavior.
|
||||
@@ -25,7 +24,7 @@ NS_SWIFT_NAME(WrapperCrashesHelper)
|
||||
* The crash handler setup delegate.
|
||||
*
|
||||
*/
|
||||
@property(class, nonatomic) _Nullable id<MSACCrashHandlerSetupDelegate> crashHandlerSetupDelegate;
|
||||
@property(class, nonatomic, weak) _Nullable id<MSACCrashHandlerSetupDelegate> crashHandlerSetupDelegate;
|
||||
|
||||
/**
|
||||
* Gets the crash handler setup delegate.
|
||||
@@ -65,20 +64,6 @@ 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
@@ -0,0 +1,38 @@
|
||||
// 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,12 +9,18 @@
|
||||
#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,6 +14,8 @@
|
||||
#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.
|
||||
@@ -69,6 +71,32 @@ 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:(NSError *)error;
|
||||
- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(nullable NSError *)error;
|
||||
|
||||
/**
|
||||
* Method to get the attachments associated to an error report.
|
||||
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
// 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
@@ -0,0 +1,44 @@
|
||||
// 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
|
||||
+1
-16
@@ -13,7 +13,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class MSACErrorReport;
|
||||
@class MSACErrorAttachmentLog;
|
||||
@class MSACException;
|
||||
|
||||
/**
|
||||
* This general class allows wrappers to supplement the Crashes SDK with their own behavior.
|
||||
@@ -25,7 +24,7 @@ NS_SWIFT_NAME(WrapperCrashesHelper)
|
||||
* The crash handler setup delegate.
|
||||
*
|
||||
*/
|
||||
@property(class, nonatomic) _Nullable id<MSACCrashHandlerSetupDelegate> crashHandlerSetupDelegate;
|
||||
@property(class, nonatomic, weak) _Nullable id<MSACCrashHandlerSetupDelegate> crashHandlerSetupDelegate;
|
||||
|
||||
/**
|
||||
* Gets the crash handler setup delegate.
|
||||
@@ -65,20 +64,6 @@ 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
@@ -0,0 +1,38 @@
|
||||
// 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.
+58
-13
@@ -6,7 +6,7 @@
|
||||
<dict>
|
||||
<key>Headers/AppCenterCrashes.h</key>
|
||||
<data>
|
||||
eS1L4vZ9uOJZWtS26mqGyfAfCvE=
|
||||
SUQZOPrzwqVaEYuELhr7Z/cRTh0=
|
||||
</data>
|
||||
<key>Headers/MSACCrashHandlerSetupDelegate.h</key>
|
||||
<data>
|
||||
@@ -14,11 +14,11 @@
|
||||
</data>
|
||||
<key>Headers/MSACCrashes.h</key>
|
||||
<data>
|
||||
eHC+/SrZ0R08kZxHQSoVyQf+vCo=
|
||||
r8P9kK348cdQnlFX6FacTW6y3+c=
|
||||
</data>
|
||||
<key>Headers/MSACCrashesDelegate.h</key>
|
||||
<data>
|
||||
czYUE2OOoD3lc+2UHRPFMakb0jQ=
|
||||
qnhKqY+vAsatzNxGZyoxFMmwIxI=
|
||||
</data>
|
||||
<key>Headers/MSACErrorAttachmentLog+Utility.h</key>
|
||||
<data>
|
||||
@@ -32,13 +32,25 @@
|
||||
<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>
|
||||
PRoMqamOgoTAX8mweVFBYStiziQ=
|
||||
XjDlLOnOWP3EG0z+nuYQDxLEVcY=
|
||||
</data>
|
||||
<key>Headers/MSACWrapperExceptionModel.h</key>
|
||||
<data>
|
||||
fTPRyH4z/TDoTMVaRXo1TWACDzI=
|
||||
</data>
|
||||
<key>Info.plist</key>
|
||||
<data>
|
||||
aMhE7UvcWzAgWCrN2k2rUGdH2U0=
|
||||
JMjfyLGFjbABfCXy4P+PQwS+lCg=
|
||||
</data>
|
||||
<key>Modules/module.modulemap</key>
|
||||
<data>
|
||||
@@ -51,11 +63,11 @@
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
eS1L4vZ9uOJZWtS26mqGyfAfCvE=
|
||||
SUQZOPrzwqVaEYuELhr7Z/cRTh0=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
NFGxm6YjpGCjJNEfjv5SM7MyktNj/PHvSXflRV/5FPQ=
|
||||
WBWD92kWeWBZQryXJRro9Jvi9658TsDl/cjdQNAbDnE=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MSACCrashHandlerSetupDelegate.h</key>
|
||||
@@ -73,22 +85,22 @@
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
eHC+/SrZ0R08kZxHQSoVyQf+vCo=
|
||||
r8P9kK348cdQnlFX6FacTW6y3+c=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
y7g3W+WahfsOp6fIuAPSEK9JbhjeFSzuTLIVlH5ij2o=
|
||||
ArA6Fp1CT6yjdmOgK79Q9jnEO6aqIZyUIjHFq1c5QRk=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MSACCrashesDelegate.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
czYUE2OOoD3lc+2UHRPFMakb0jQ=
|
||||
qnhKqY+vAsatzNxGZyoxFMmwIxI=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
XWIFycuL8uPuweg15Kuzu0MAYjRG7O7p0VyVRzG0Ay0=
|
||||
wBmXt8Cq5mUI+93edo6jk8yfyfYDxY35H+c4Lx6qjGE=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MSACErrorAttachmentLog+Utility.h</key>
|
||||
@@ -124,15 +136,48 @@
|
||||
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>
|
||||
PRoMqamOgoTAX8mweVFBYStiziQ=
|
||||
XjDlLOnOWP3EG0z+nuYQDxLEVcY=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
co5bCCKJlZU9L5fVlCUmO7enl7tPeRzM3TjHJkNwn58=
|
||||
fq9x4VE7FvWa3M3oH8XTAeaDiZdZYxv8CTdkt24maBE=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MSACWrapperExceptionModel.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
fTPRyH4z/TDoTMVaRXo1TWACDzI=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
blUKL+sJciIHT1DLWNSuktzjorY6OWNpl8ncsGosGd8=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/module.modulemap</key>
|
||||
|
||||
BIN
Binary file not shown.
+6
@@ -9,12 +9,18 @@
|
||||
#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,6 +14,8 @@
|
||||
#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.
|
||||
@@ -69,6 +71,32 @@ 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:(NSError *)error;
|
||||
- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(nullable NSError *)error;
|
||||
|
||||
/**
|
||||
* Method to get the attachments associated to an error report.
|
||||
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
// 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
@@ -0,0 +1,44 @@
|
||||
// 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
|
||||
+1
-16
@@ -13,7 +13,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class MSACErrorReport;
|
||||
@class MSACErrorAttachmentLog;
|
||||
@class MSACException;
|
||||
|
||||
/**
|
||||
* This general class allows wrappers to supplement the Crashes SDK with their own behavior.
|
||||
@@ -25,7 +24,7 @@ NS_SWIFT_NAME(WrapperCrashesHelper)
|
||||
* The crash handler setup delegate.
|
||||
*
|
||||
*/
|
||||
@property(class, nonatomic) _Nullable id<MSACCrashHandlerSetupDelegate> crashHandlerSetupDelegate;
|
||||
@property(class, nonatomic, weak) _Nullable id<MSACCrashHandlerSetupDelegate> crashHandlerSetupDelegate;
|
||||
|
||||
/**
|
||||
* Gets the crash handler setup delegate.
|
||||
@@ -65,20 +64,6 @@ 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
@@ -0,0 +1,38 @@
|
||||
// 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>19H15</string>
|
||||
<string>19H1323</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
|
||||
BIN
Binary file not shown.
+6
@@ -9,12 +9,18 @@
|
||||
#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,6 +14,8 @@
|
||||
#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.
|
||||
@@ -69,6 +71,32 @@ 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:(NSError *)error;
|
||||
- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(nullable NSError *)error;
|
||||
|
||||
/**
|
||||
* Method to get the attachments associated to an error report.
|
||||
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
// 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
@@ -0,0 +1,44 @@
|
||||
// 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
|
||||
+1
-16
@@ -13,7 +13,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class MSACErrorReport;
|
||||
@class MSACErrorAttachmentLog;
|
||||
@class MSACException;
|
||||
|
||||
/**
|
||||
* This general class allows wrappers to supplement the Crashes SDK with their own behavior.
|
||||
@@ -25,7 +24,7 @@ NS_SWIFT_NAME(WrapperCrashesHelper)
|
||||
* The crash handler setup delegate.
|
||||
*
|
||||
*/
|
||||
@property(class, nonatomic) _Nullable id<MSACCrashHandlerSetupDelegate> crashHandlerSetupDelegate;
|
||||
@property(class, nonatomic, weak) _Nullable id<MSACCrashHandlerSetupDelegate> crashHandlerSetupDelegate;
|
||||
|
||||
/**
|
||||
* Gets the crash handler setup delegate.
|
||||
@@ -65,20 +64,6 @@ 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.
|
||||
|
||||
Loaded 100 of 534 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user