diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fa175fa..a5b9f85a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ +## [4.3.2](https://github.com/builttoroam/device_calendar/releases/tag/4.3.2) + +- Removed unnecessary package to reduce build error + ## [4.3.1](https://github.com/builttoroam/device_calendar/releases/tag/4.3.1) - Fixed an [issue](https://github.com/builttoroam/device_calendar/issues/470) that prevented the plugin from being used with Kotlin 1.7.10 @@ -9,7 +13,7 @@ ## [4.3.0](https://github.com/builttoroam/device_calendar/releases/tag/4.3.0) - Updated multiple underlying dependencies - - *Note:* `timezone 0.9.0` [removed named database files](https://pub.dev/packages/timezone/changelog#090). If you are only using `device_calendar`, you can ignore this note. + - _Note:_ `timezone 0.9.0` [removed named database files](https://pub.dev/packages/timezone/changelog#090). If you are only using `device_calendar`, you can ignore this note. - Added support for all-day multi-day events on iOS - Fixed iOS issue of adding attendees to events - Fixed Android issue of the `ownerAccount` being null @@ -114,7 +118,7 @@ ## 1.0.0 28th August 2019 -- **BREAKING CHANGE** `retrieveCalendars` and `retrieveEvents` now return lists that cannot be modified (`UnmodifiableListView`) to address part of issue [113](https://github.com/builttoroam/device_calendar/issues/113) +- **BREAKING CHANGE** `retrieveCalendars` and `retrieveEvents` now return lists that cannot be modified (`UnmodifiableListView`) to address part of issue [113](https://github.com/builttoroam/device_calendar/issues/113) - Support for more advanced recurrence rules - Update README to include information about using ProGuard for issue [99](https://github.com/builttoroam/device_calendar/issues/99) - Made event title optional to fix issue [72](https://github.com/builttoroam/device_calendar/issues/72) diff --git a/example/lib/presentation/event_item.dart b/example/lib/presentation/event_item.dart index ca401086..04d0d70e 100644 --- a/example/lib/presentation/event_item.dart +++ b/example/lib/presentation/event_item.dart @@ -2,7 +2,7 @@ import 'dart:io'; import 'package:device_calendar/device_calendar.dart'; import 'package:flutter/material.dart'; -import 'package:flutter_native_timezone/flutter_native_timezone.dart'; +import 'package:flutter_timezone/flutter_timezone.dart'; import 'package:intl/intl.dart'; import 'recurring_event_dialog.dart'; @@ -313,7 +313,7 @@ class _EventItemState extends State { void setCurentLocation() async { String? timezone; try { - timezone = await FlutterNativeTimezone.getLocalTimezone(); + timezone = await FlutterTimezone.getLocalTimezone(); } catch (e) { print('Could not get the local timezone'); } diff --git a/example/lib/presentation/pages/calendar_event.dart b/example/lib/presentation/pages/calendar_event.dart index cb258367..96a7e5b4 100644 --- a/example/lib/presentation/pages/calendar_event.dart +++ b/example/lib/presentation/pages/calendar_event.dart @@ -4,7 +4,7 @@ import 'package:collection/collection.dart'; import 'package:device_calendar/device_calendar.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; -import 'package:flutter_native_timezone/flutter_native_timezone.dart'; +import 'package:flutter_timezone/flutter_timezone.dart'; import 'package:intl/intl.dart'; import '../date_time_picker.dart'; @@ -72,7 +72,7 @@ class _CalendarEventPageState extends State { void getCurentLocation() async { try { - _timezone = await FlutterNativeTimezone.getLocalTimezone(); + _timezone = await FlutterTimezone.getLocalTimezone(); } catch (e) { print('Could not get the local timezone'); } diff --git a/example/pubspec.yaml b/example/pubspec.yaml index e840c944..5b8b0fe0 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -4,34 +4,33 @@ version: 3.2.0 publish_to: none environment: - sdk: '>=2.12.0 <3.0.0' + sdk: ">=2.12.0 <3.0.0" dependencies: flutter: sdk: flutter intl: uuid: + flutter_timezone: ^1.0.7 # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: + device_calendar: + path: ../ dev_dependencies: integration_test: sdk: flutter flutter_test: sdk: flutter - test: - - device_calendar: - path: ../ + flutter_lints: ^2.0.1 # For information on the generic Dart part of this file, see the # following page: https://www.dartlang.org/tools/pub/pubspec # The following section is specific to Flutter. flutter: - # The following line ensures that the Material Icons font is # included with your application, so that you can use the icons in # the material Icons class. diff --git a/pubspec.yaml b/pubspec.yaml index 45018475..4b4c0b55 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: device_calendar description: A cross platform plugin for modifying calendars on the user's device. -version: 4.3.1 +version: 4.3.2 homepage: https://github.com/builttoroam/device_calendar/tree/master dependencies: @@ -9,7 +9,6 @@ dependencies: collection: ^1.16.0 sprintf: ^7.0.0 timezone: ^0.9.0 - flutter_native_timezone: ^2.0.0 dev_dependencies: flutter_test: