Skip to content

v0.30.3

Choose a tag to compare

@github-actions github-actions released this 12 Jul 08:47
· 12 commits to main since this release
05de767

0.30.3

  • Fix (Android): getApplicationId now reads the live FacebookSdk.getApplicationId() instead of the app id captured when the plugin attached to the engine, so app-id changes made programmatically after startup are reflected — matching iOS (Settings.shared.appID) and the documented behavior.
  • Fix (Android): logPushNotificationOpen now returns a clean INVALID_ARGUMENT error when the payload contains a value an Android Bundle cannot represent (e.g. a list), instead of an opaque platform exception. The error message names the offending key and suggests JSON-encoding structured values.
  • Fix: setDataProcessingOptions validates in the Dart layer that country and state fit in a signed 32-bit integer (the type the native APIs take) and throws a RangeError otherwise. Out-of-range values previously surfaced as an opaque ClassCastException on Android; iOS already rejected them natively.
  • Stop sending explicit nulls over the method channel for omitted arguments of setDataProcessingOptions and logPushNotificationOpen, consistent with the rest of the API.