Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(hybrid-sdks): Add captureScreenshots to PrivateSDKOnly #2384

Merged
merged 4 commits into from
Nov 15, 2022

Conversation

krystofwoldrich
Copy link
Member

@krystofwoldrich krystofwoldrich commented Nov 14, 2022

📜 Description

To avoid duplication code I would like to expose the screenshot function via the PrivateSDKOnly header.

💡 Motivation and Context

💚 How did you test it?

Not yet.

📝 Checklist

  • I reviewed the submitted code
  • I added tests to verify the changes
  • I updated the docs if needed
  • Review from the native team if needed
  • No breaking changes

🔮 Next steps

#skip-changelog

@github-actions
Copy link

github-actions bot commented Nov 14, 2022

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1216.67 ms 1233.24 ms 16.57 ms
Size 20.75 KiB 374.08 KiB 353.33 KiB

Baseline results on branch: master

Startup times

Revision Plain With Sentry Diff
0032a5d 1267.35 ms 1282.34 ms 14.99 ms
d73ebd0 1200.83 ms 1236.10 ms 35.27 ms
db5f62a 1234.47 ms 1257.80 ms 23.33 ms
f444dc4 1237.39 ms 1255.42 ms 18.03 ms
e2f1150 1220.39 ms 1249.94 ms 29.55 ms
e2a3f3e 1224.06 ms 1248.20 ms 24.14 ms
347a8e9 1243.50 ms 1265.90 ms 22.40 ms
202334c 1265.41 ms 1277.34 ms 11.93 ms
58f558d 1216.15 ms 1246.22 ms 30.07 ms
ef8b0ce 1212.34 ms 1249.64 ms 37.30 ms

App size

Revision Plain With Sentry Diff
0032a5d 20.75 KiB 369.27 KiB 348.52 KiB
d73ebd0 20.50 KiB 365.18 KiB 344.68 KiB
db5f62a 20.51 KiB 333.16 KiB 312.65 KiB
f444dc4 20.75 KiB 367.00 KiB 346.24 KiB
e2f1150 20.51 KiB 333.10 KiB 312.59 KiB
e2a3f3e 20.75 KiB 368.01 KiB 347.26 KiB
347a8e9 20.51 KiB 333.16 KiB 312.65 KiB
202334c 20.51 KiB 331.79 KiB 311.28 KiB
58f558d 20.50 KiB 338.99 KiB 318.49 KiB
ef8b0ce 20.50 KiB 337.71 KiB 317.20 KiB

Previous results on branch: feat-screenshots-hybrid-sdks

Startup times

Revision Plain With Sentry Diff
0b4a86b 1258.22 ms 1273.46 ms 15.24 ms

App size

Revision Plain With Sentry Diff
0b4a86b 20.75 KiB 374.08 KiB 353.33 KiB

@krystofwoldrich
Copy link
Member Author

Just these tests fail. https://github.com/getsentry/sentry-cocoa/actions/runs/3463872711/jobs/5784750772

Otherwise, it's done.

Copy link
Contributor

@brustolin brustolin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

The failing test is a flaky one, not related to this PR.

@krystofwoldrich krystofwoldrich changed the title Add captureScreenshots to PrivateSDKOnly feat(hybrid-sdks): Add captureScreenshots to PrivateSDKOnly Nov 15, 2022
@krystofwoldrich krystofwoldrich merged commit 72df100 into master Nov 15, 2022
@krystofwoldrich krystofwoldrich deleted the feat-screenshots-hybrid-sdks branch November 15, 2022 12:21
@github-actions
Copy link

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 53ad32a

kevinrenskers added a commit that referenced this pull request Nov 16, 2022
…ents

* master:
  Fix: Set the correct OOM event timestamp (#2394)
  test: Fix SentrySerializationTests.testSerializationFailsWithInvalidJSONObject (#2392)
  feat(hybrid-sdks): Add captureScreenshots to PrivateSDKOnly (#2384)
  ci: Increase test timeout for iOS 12 (#2391)
  test: Disable flaky testCrashReportCount1 (#2389)
  test: Disable flaky testSerializeWithUnderlyingNSException (#2387)
kevinrenskers added a commit that referenced this pull request Nov 24, 2022
* master: (56 commits)
  meta: disable swiftlint file length check in TBDBClient.swift (#2435)
  Revert "test: shorten some tests (#2422)" (#2427)
  test: shorten some tests (#2422)
  test: include Sentry changes in hash keys (#2412)
  release: 7.31.2
  fix: Crash in Client when reading integrations (#2398)
  test: tooling improvements (#2400)
  fix: Don't increase session's error count for dropped events (#2374)
  Update CHANGELOG.md (#2396)
  release: 7.31.1
  Fix: Set the correct OOM event timestamp (#2394)
  test: Fix SentrySerializationTests.testSerializationFailsWithInvalidJSONObject (#2392)
  feat(hybrid-sdks): Add captureScreenshots to PrivateSDKOnly (#2384)
  ci: Increase test timeout for iOS 12 (#2391)
  test: Disable flaky testCrashReportCount1 (#2389)
  test: Disable flaky testSerializeWithUnderlyingNSException (#2387)
  build(deps): bump github/codeql-action from 2.1.31 to 2.1.32 (#2386)
  build(deps): bump fastlane from 2.210.1 to 2.211.0 (#2385)
  ref: json serialization error reporting (#2355)
  release: 7.31.0
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants