Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@

## Unreleased

### Fixes

- Revert fetching `sentry-native` from release zip, use git source instead to fix permission issues ([#3630](https://github.com/getsentry/sentry-dart/issues/3630))

### Dependencies

- Bump Native SDK from v0.13.3 to v0.13.6 ([#3606](https://github.com/getsentry/sentry-dart/pull/3606))
- [changelog](https://github.com/getsentry/sentry-native/blob/master/CHANGELOG.md#0136)
- [diff](https://github.com/getsentry/sentry-native/compare/0.13.3...0.13.6)
- Bump Cocoa SDK from v8.58.0 to v8.58.1 ([#3632](https://github.com/getsentry/sentry-dart/pull/3632))
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8581)
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.58.0...8.58.1)
Expand Down
5 changes: 4 additions & 1 deletion packages/flutter/lib/src/native/c/binding.dart
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,10 @@ class SentryNative {
///
/// Note that this does not uninstall any crash handler installed by our
/// backends, which will still process crashes after `sentry_close()`, except
/// when using `crashpad` on Linux or the `inproc` backend.
/// when using `crashpad` on Linux or the `inproc` backend. The Android
/// preload mode of `inproc` is a special case: a lightweight signal-chain
/// placeholder may remain installed across `sentry_close()` to preserve
/// ordering relative to the managed runtime until a later re-init.
///
/// Further note that this function will block the thread it was called from
/// until the sentry background worker has finished its work, or it timed out,
Expand Down
3 changes: 1 addition & 2 deletions packages/flutter/sentry-native/CMakeCache.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
# Basically, this is a properties file we use both in CMake and update-deps.yml to update dependencies.

repo=https://github.com/getsentry/sentry-native
version=0.13.3
sha256=b83292650c6a725c867a6c7f9ad7903b178ad13bacb362998fc09bb045acf06d
version=0.13.6
13 changes: 4 additions & 9 deletions packages/flutter/sentry-native/sentry-native.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
load_cache("${CMAKE_CURRENT_LIST_DIR}" READ_WITH_PREFIX SENTRY_NATIVE_ repo version sha256)

set(SENTRY_NATIVE_URL "${SENTRY_NATIVE_repo}/releases/download/${SENTRY_NATIVE_version}/sentry-native.zip")
message(STATUS "Fetching Sentry native version: ${SENTRY_NATIVE_version} from ${SENTRY_NATIVE_URL}")
load_cache("${CMAKE_CURRENT_LIST_DIR}" READ_WITH_PREFIX SENTRY_NATIVE_ repo version)
message(STATUS "Fetching Sentry native version: ${SENTRY_NATIVE_version} from ${SENTRY_NATIVE_repo}")

set(SENTRY_SDK_NAME "sentry.native.flutter" CACHE STRING "The SDK name to report when sending events." FORCE)
set(SENTRY_BUILD_SHARED_LIBS ON CACHE BOOL "Build shared libraries (.dll/.so) instead of static ones (.lib/.a)" FORCE)
Expand All @@ -12,13 +10,10 @@ if(NOT "$ENV{SENTRY_NATIVE_BACKEND}" STREQUAL "")
endif()

include(FetchContent)
if(POLICY CMP0135)
cmake_policy(SET CMP0135 NEW)
endif()
Comment thread
buenaflor marked this conversation as resolved.
FetchContent_Declare(
sentry-native
URL ${SENTRY_NATIVE_URL}
URL_HASH SHA256=${SENTRY_NATIVE_sha256}
GIT_REPOSITORY ${SENTRY_NATIVE_repo}
GIT_TAG ${SENTRY_NATIVE_version}
EXCLUDE_FROM_ALL
)

Expand Down
Loading