Skip to content

Commit

Permalink
Release 4.3.2: packages cleanup (#503)
Browse files Browse the repository at this point in the history
* packages cleanup

* changelog

* flutter_timezone
  • Loading branch information
thomassth authored Nov 7, 2023
1 parent ef6e1bd commit f7f3bb0
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 14 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@

<!-- To benefit from the current changelog reader in CI/CD, please follow the changelog format from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -->

## [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

## [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
Expand Down Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions example/lib/presentation/event_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -313,7 +313,7 @@ class _EventItemState extends State<EventItem> {
void setCurentLocation() async {
String? timezone;
try {
timezone = await FlutterNativeTimezone.getLocalTimezone();
timezone = await FlutterTimezone.getLocalTimezone();
} catch (e) {
print('Could not get the local timezone');
}
Expand Down
4 changes: 2 additions & 2 deletions example/lib/presentation/pages/calendar_event.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -72,7 +72,7 @@ class _CalendarEventPageState extends State<CalendarEventPage> {

void getCurentLocation() async {
try {
_timezone = await FlutterNativeTimezone.getLocalTimezone();
_timezone = await FlutterTimezone.getLocalTimezone();
} catch (e) {
print('Could not get the local timezone');
}
Expand Down
11 changes: 5 additions & 6 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 1 addition & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit f7f3bb0

Please sign in to comment.