You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.