Skip to content

Commit 4b1a816

Browse files
DennisAlundCopilot
andcommitted
chore: release 0.25.0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 2473ee6 commit 4b1a816

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.25.0
2+
- Work around stale default Graph API versions in Facebook SDK v18.x by overriding the native SDK Graph API version to `v24.0` on iOS and Android (PR [#476](https://github.com/oddbit/flutter_facebook_app_events/pull/476), fixes [#474](https://github.com/oddbit/flutter_facebook_app_events/issues/474))
3+
- Add `setGraphApiVersion(String version)` to forward Graph API version overrides through the plugin API (PR [#476](https://github.com/oddbit/flutter_facebook_app_events/pull/476))
4+
15
## 0.24.0
26
- Add `activateApp()` to manually log app activation when automatic app event logging is disabled (PR [#466](https://github.com/oddbit/flutter_facebook_app_events/pull/466))
37

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ The Facebook SDK v18.x ships with an outdated default Graph API version that Met
132132
| iOS SDK v18.x | `v17.0` | September 12, 2025 |
133133
| Android SDK v18.x | `v16.0` | May 14, 2025 |
134134

135-
This plugin works around the issue by overriding the Graph API version to `v24.0` at initialization. This is transparent and requires no configuration for the vast majority of apps.
135+
This plugin works around the issue by overriding the Graph API version to `v24.0` during plugin initialization. This requires no extra configuration for the vast majority of apps.
136136

137-
If you need to target a specific Graph API version (e.g. to pin to the same version as your backend), call `setGraphApiVersion` **before** `activateApp`:
137+
If you need to target a specific Graph API version (e.g. to pin to the same version as your backend), call `setGraphApiVersion` as early as possible in app startup before using features that may trigger Graph API requests:
138138

139139
```dart
140140
final facebookAppEvents = FacebookAppEvents();

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ packages:
4747
path: ".."
4848
relative: true
4949
source: path
50-
version: "0.24.0"
50+
version: "0.25.0"
5151
fake_async:
5252
dependency: transitive
5353
description:

ios/facebook_app_events.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'facebook_app_events'
3-
s.version = '0.24.0'
3+
s.version = '0.25.0'
44
s.summary = 'Flutter plugin for Facebook Analytics and App Events'
55
s.description = <<-DESC
66
Flutter plugin for Facebook Analytics and App Events

lib/facebook_app_events.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,8 @@ class FacebookAppEvents {
505505
///
506506
/// The plugin sets a default Graph API version at initialization because the
507507
/// Facebook SDK v18.x ships with an outdated default that has been removed by
508-
/// Meta. Call this method **before** [activateApp] if you need a specific version.
508+
/// Meta. Call this as early as possible in app startup if you need a specific
509+
/// version before using plugin features that may trigger Graph API requests.
509510
///
510511
/// The [version] string must be in the form `"vX.Y"` (e.g. `"v24.0"`).
511512
/// Refer to Meta's [Graph API changelog](https://developers.facebook.com/docs/graph-api/changelog/)

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: facebook_app_events
22
description: Flutter plugin for Facebook App Events, an app measurement
33
solution that provides insight on app usage and user engagement in Facebook Analytics.
4-
version: 0.24.0
4+
version: 0.25.0
55
homepage: https://github.com/oddbit/flutter_facebook_app_events
66

77
environment:

0 commit comments

Comments
 (0)