day_sdk 1.0.3
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 = 36or 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
GoogleMapspod (one copy withgoogle_maps_flutter), andpod installdownloadsDaySDK.xcframeworkand 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.
DaySdkis static, like the native one:DaySdk.initialize(environment:, onSessionInvalid:), thenDaySdk.start/resume/signOut/lastAuthenticatedAt. No instance to keep.DaySdk.stateandDaySdk.isOnlinestreams.DaySdkAttendancewidget - the attendance screen as a platform view, withDaySdkConfiguration(DaySdkColors,DaySdkFont.assets) followed when it changes.DaySdk.setGoogleMapsApiKeyfor iOS.- Removed:
headersanddevSession(the SDK no longer takes them),DaySdkFailed.code.DayProfilegainsroleandstatus. - Android needs
FlutterFragmentActivityandcompileSdk = 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,signOutandlastAuthenticatedAt.DaySdkStatemirrors the native SDK's states;DaySdkReadycarries aDayProfile.