All changes
ImprovedFlutter SDKFlutter SDK v0.2.1

Flutter SDK 0.2.1 shows the real API error and a clear timeout

Flutter SDK 0.2.1 shows the server's real error message and code, reports timeouts as network errors, and calls api.pushfire.app.

When a PushFire call fails, the SDK now tells you why.

  • PushFireApiException carries the HTTP status, the error code and the server's message, instead of "API request failed".
  • A request that times out now throws PushFireNetworkException with "timed out after N seconds".
  • The SDK calls https://api.pushfire.app/functions/v1/ by default.
  • The log shows one line per failed request with the method, endpoint, status and message.