Skip to main content

day_sdk 1.0.3 copy "day_sdk: ^1.0.3" to clipboard
day_sdk: ^1.0.3 copied to clipboard

Flutter plugin for the Day.io SDK - sign the employee in from your backend and show the Day.io attendance screen in your app.

1.0.3 #

Embeds Day.io SDK 1.0.3.

  • Android needs compileSdk = 36 or newer (was 37): no Android library the SDK brings needs more.
  • iOS: CocoaPods works as well as Swift Package Manager, so an app keeps the dependency manager it has. With CocoaPods, Google Maps is the app's own GoogleMaps pod (one copy with google_maps_flutter), and pod install downloads DaySDK.xcframework and SQLCipher.

1.0.2 #

Embeds Day.io SDK 1.0.2.

  • The SDK's UI is translated, with Brazilian Portuguese; the host app can set the SDK's language over the device's.
  • Plurals follow the rules of the language their text is in.
  • Switching back to a previous employee keeps the SDK working; on iOS the database key is created once even when two threads open databases at the same time.
  • SDK screens no longer leak on rotation when their saved state is lost.
  • Calendar day markers as in the design.

1.0.1 #

The Day.io SDK is embedded: every call reaches the native SDK. The plugin now has the version of the Day.io SDK it embeds.

  • DaySdk is static, like the native one: DaySdk.initialize(environment:, onSessionInvalid:), then DaySdk.start / resume / signOut / lastAuthenticatedAt. No instance to keep.
  • DaySdk.state and DaySdk.isOnline streams.
  • DaySdkAttendance widget - the attendance screen as a platform view, with DaySdkConfiguration (DaySdkColors, DaySdkFont.assets) followed when it changes.
  • DaySdk.setGoogleMapsApiKey for iOS.
  • Removed: headers and devSession (the SDK no longer takes them), DaySdkFailed.code. DayProfile gains role and status.
  • Android needs FlutterFragmentActivity and compileSdk = 37; iOS needs Swift Package Manager.

0.1.0 #

Preview of the Dart API. The Day.io SDK is not embedded yet: the native side logs each call and returns demo data.

  • DaySdk.initialize, start, resume, signOut and lastAuthenticatedAt.
  • DaySdkState mirrors the native SDK's states; DaySdkReady carries a DayProfile.
1
likes
150
points
1.21k
downloads

Documentation

API reference

Publisher

verified publisherday.io

Weekly Downloads

Flutter plugin for the Day.io SDK - sign the employee in from your backend and show the Day.io attendance screen in your app.

Homepage

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on day_sdk

Packages that implement day_sdk