From 80350176da24985263e084b70253434e255351a2 Mon Sep 17 00:00:00 2001 From: Brett Lim Date: Fri, 3 Apr 2020 14:01:45 +1100 Subject: [PATCH 1/2] update project hierarchy --- .gitignore | 6 +- device_calendar/CHANGELOG.md => CHANGELOG.md | 2 +- device_calendar/LICENSE => LICENSE | 0 device_calendar/README.md => README.md | 0 ...ysis_options.yaml => analysis_options.yaml | 0 .../android => android}/.gitignore | 0 .../android => android}/build.gradle | 0 .../android => android}/gradle.properties | 0 .../gradle/wrapper/gradle-wrapper.jar | Bin .../gradle/wrapper/gradle-wrapper.properties | 0 {device_calendar/android => android}/gradlew | 0 .../android => android}/gradlew.bat | 0 .../android => android}/settings.gradle | 0 .../src/main/AndroidManifest.xml | 0 .../devicecalendar/CalendarDelegate.kt | 0 .../devicecalendar/DayOfWeekSerializer.kt | 0 .../devicecalendar/DeviceCalendarPlugin.kt | 0 .../RecurrenceFrequencySerializer.kt | 0 .../devicecalendar/common/Constants.kt | 0 .../devicecalendar/common/DayOfWeek.kt | 0 .../devicecalendar/common/ErrorCodes.kt | 0 .../devicecalendar/common/ErrorMessages.kt | 0 .../common/RecurrenceFrequency.kt | 0 .../devicecalendar/models/Attendee.kt | 0 .../devicecalendar/models/Calendar.kt | 0 .../CalendarMethodsParametersCacheModel.kt | 0 .../devicecalendar/models/Event.kt | 0 .../devicecalendar/models/RecurrenceRule.kt | 0 .../devicecalendar/models/Reminder.kt | 0 azure-pipelines.yml | 26 ++-- ...device_calendar.iml => device_calendar.iml | 0 device_calendar/.gitignore | 17 --- ...android.iml => device_calendar_android.iml | 0 .../example => example}/.gitignore | 0 .../example => example}/.metadata | 0 .../example => example}/README.md | 0 .../example => example}/analysis_options.yaml | 0 .../example => example}/android/.gitignore | 0 .../.idea/caches/build_file_checksums.ser | Bin 0 -> 666 bytes example/android/.idea/codeStyles/Project.xml | 116 ++++++++++++++++++ example/android/.idea/gradle.xml | 21 ++++ example/android/.idea/misc.xml | 9 ++ example/android/.idea/modules.xml | 10 ++ example/android/.idea/runConfigurations.xml | 12 ++ example/android/.idea/vcs.xml | 6 + .../android/app/build.gradle | 0 .../android/app/src/main/AndroidManifest.xml | 0 .../devicecalendarexample/MainActivity.kt | 0 .../main/res/drawable/launch_background.xml | 0 .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin .../app/src/main/res/values/styles.xml | 0 .../example => example}/android/build.gradle | 0 .../android/gradle.properties | 0 .../android/gradle/wrapper/gradle-wrapper.jar | Bin .../gradle/wrapper/gradle-wrapper.properties | 0 .../example => example}/android/gradlew | 0 .../example => example}/android/gradlew.bat | 0 .../android/settings.gradle | 0 .../device_calendar_example.iml | 0 .../device_calendar_example_android.iml | 0 .../example => example}/ios/.gitignore | 0 .../ios/Flutter/AppFrameworkInfo.plist | 0 .../ios/Flutter/Debug.xcconfig | 0 .../ios/Flutter/Release.xcconfig | 0 .../example => example}/ios/Podfile | 0 .../example => example}/ios/Podfile.lock | 0 .../ios/Runner.xcodeproj/project.pbxproj | 0 .../contents.xcworkspacedata | 0 .../xcshareddata/xcschemes/Runner.xcscheme | 0 .../contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../ios/Runner/AppDelegate.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../Icon-App-1024x1024@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin .../Icon-App-83.5x83.5@2x.png | Bin .../LaunchImage.imageset/Contents.json | 0 .../LaunchImage.imageset/LaunchImage.png | Bin .../LaunchImage.imageset/LaunchImage@2x.png | Bin .../LaunchImage.imageset/LaunchImage@3x.png | Bin .../LaunchImage.imageset/README.md | 0 .../Runner/Base.lproj/LaunchScreen.storyboard | 0 .../ios/Runner/Base.lproj/Main.storyboard | 0 .../example => example}/ios/Runner/Info.plist | 0 .../ios/Runner/Runner-Bridging-Header.h | 0 .../lib/common/app_routes.dart | 0 .../example => example}/lib/main.dart | 0 .../lib/presentation/date_time_picker.dart | 0 .../lib/presentation/event_item.dart | 0 .../lib/presentation/input_dropdown.dart | 0 .../lib/presentation/pages/calendar_add.dart | 0 .../presentation/pages/calendar_event.dart | 0 .../presentation/pages/calendar_events.dart | 0 .../lib/presentation/pages/calendars.dart | 0 .../presentation/pages/event_attendee.dart | 0 .../presentation/pages/event_reminders.dart | 0 .../presentation/recurring_event_dialog.dart | 0 .../example => example}/pubspec.yaml | 0 .../example => example}/test_driver/app.dart | 0 .../test_driver/app_test.dart | 0 {device_calendar/ios => ios}/.gitignore | 0 {device_calendar/ios => ios}/Assets/.gitkeep | 0 .../Classes/DeviceCalendarPlugin.h | 0 .../Classes/DeviceCalendarPlugin.m | 0 .../Classes/SwiftDeviceCalendarPlugin.swift | 0 .../ios => ios}/device_calendar.podspec | 0 .../lib => lib}/device_calendar.dart | 0 .../src/common/calendar_enums.dart | 0 .../lib => lib}/src/common/error_codes.dart | 0 .../src/common/error_messages.dart | 0 .../src/common/recurrence_frequency.dart | 0 .../lib => lib}/src/device_calendar.dart | 0 .../lib => lib}/src/models/attendee.dart | 0 .../lib => lib}/src/models/calendar.dart | 0 .../lib => lib}/src/models/event.dart | 0 .../android/attendance_status.dart | 0 .../android/attendee_details.dart | 0 .../ios/attendance_status.dart | 0 .../ios/attendee_details.dart | 0 .../src/models/recurrence_rule.dart | 0 .../lib => lib}/src/models/reminder.dart | 0 .../lib => lib}/src/models/result.dart | 0 .../src/models/retrieve_events_params.dart | 0 device_calendar/pubspec.yaml => pubspec.yaml | 0 .../test => test}/device_calendar_test.dart | 0 .../test_driver => test_driver}/app.dart | 0 143 files changed, 191 insertions(+), 34 deletions(-) rename device_calendar/CHANGELOG.md => CHANGELOG.md (99%) rename device_calendar/LICENSE => LICENSE (100%) rename device_calendar/README.md => README.md (100%) rename device_calendar/analysis_options.yaml => analysis_options.yaml (100%) rename {device_calendar/android => android}/.gitignore (100%) rename {device_calendar/android => android}/build.gradle (100%) rename {device_calendar/android => android}/gradle.properties (100%) rename {device_calendar/android => android}/gradle/wrapper/gradle-wrapper.jar (100%) rename {device_calendar/android => android}/gradle/wrapper/gradle-wrapper.properties (100%) rename {device_calendar/android => android}/gradlew (100%) rename {device_calendar/android => android}/gradlew.bat (100%) rename {device_calendar/android => android}/settings.gradle (100%) rename {device_calendar/android => android}/src/main/AndroidManifest.xml (100%) rename {device_calendar/android => android}/src/main/kotlin/com/builttoroam/devicecalendar/CalendarDelegate.kt (100%) rename {device_calendar/android => android}/src/main/kotlin/com/builttoroam/devicecalendar/DayOfWeekSerializer.kt (100%) rename {device_calendar/android => android}/src/main/kotlin/com/builttoroam/devicecalendar/DeviceCalendarPlugin.kt (100%) rename {device_calendar/android => android}/src/main/kotlin/com/builttoroam/devicecalendar/RecurrenceFrequencySerializer.kt (100%) rename {device_calendar/android => android}/src/main/kotlin/com/builttoroam/devicecalendar/common/Constants.kt (100%) rename {device_calendar/android => android}/src/main/kotlin/com/builttoroam/devicecalendar/common/DayOfWeek.kt (100%) rename {device_calendar/android => android}/src/main/kotlin/com/builttoroam/devicecalendar/common/ErrorCodes.kt (100%) rename {device_calendar/android => android}/src/main/kotlin/com/builttoroam/devicecalendar/common/ErrorMessages.kt (100%) rename {device_calendar/android => android}/src/main/kotlin/com/builttoroam/devicecalendar/common/RecurrenceFrequency.kt (100%) rename {device_calendar/android => android}/src/main/kotlin/com/builttoroam/devicecalendar/models/Attendee.kt (100%) rename {device_calendar/android => android}/src/main/kotlin/com/builttoroam/devicecalendar/models/Calendar.kt (100%) rename {device_calendar/android => android}/src/main/kotlin/com/builttoroam/devicecalendar/models/CalendarMethodsParametersCacheModel.kt (100%) rename {device_calendar/android => android}/src/main/kotlin/com/builttoroam/devicecalendar/models/Event.kt (100%) rename {device_calendar/android => android}/src/main/kotlin/com/builttoroam/devicecalendar/models/RecurrenceRule.kt (100%) rename {device_calendar/android => android}/src/main/kotlin/com/builttoroam/devicecalendar/models/Reminder.kt (100%) rename device_calendar/device_calendar.iml => device_calendar.iml (100%) delete mode 100644 device_calendar/.gitignore rename device_calendar/device_calendar_android.iml => device_calendar_android.iml (100%) rename {device_calendar/example => example}/.gitignore (100%) rename {device_calendar/example => example}/.metadata (100%) rename {device_calendar/example => example}/README.md (100%) rename {device_calendar/example => example}/analysis_options.yaml (100%) rename {device_calendar/example => example}/android/.gitignore (100%) create mode 100644 example/android/.idea/caches/build_file_checksums.ser create mode 100644 example/android/.idea/codeStyles/Project.xml create mode 100644 example/android/.idea/gradle.xml create mode 100644 example/android/.idea/misc.xml create mode 100644 example/android/.idea/modules.xml create mode 100644 example/android/.idea/runConfigurations.xml create mode 100644 example/android/.idea/vcs.xml rename {device_calendar/example => example}/android/app/build.gradle (100%) rename {device_calendar/example => example}/android/app/src/main/AndroidManifest.xml (100%) rename {device_calendar/example => example}/android/app/src/main/kotlin/com/builttoroam/devicecalendarexample/MainActivity.kt (100%) rename {device_calendar/example => example}/android/app/src/main/res/drawable/launch_background.xml (100%) rename {device_calendar/example => example}/android/app/src/main/res/mipmap-hdpi/ic_launcher.png (100%) rename {device_calendar/example => example}/android/app/src/main/res/mipmap-mdpi/ic_launcher.png (100%) rename {device_calendar/example => example}/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png (100%) rename {device_calendar/example => example}/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png (100%) rename {device_calendar/example => example}/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png (100%) rename {device_calendar/example => example}/android/app/src/main/res/values/styles.xml (100%) rename {device_calendar/example => example}/android/build.gradle (100%) rename {device_calendar/example => example}/android/gradle.properties (100%) rename {device_calendar/example => example}/android/gradle/wrapper/gradle-wrapper.jar (100%) rename {device_calendar/example => example}/android/gradle/wrapper/gradle-wrapper.properties (100%) rename {device_calendar/example => example}/android/gradlew (100%) rename {device_calendar/example => example}/android/gradlew.bat (100%) rename {device_calendar/example => example}/android/settings.gradle (100%) rename {device_calendar/example => example}/device_calendar_example.iml (100%) rename {device_calendar/example => example}/device_calendar_example_android.iml (100%) rename {device_calendar/example => example}/ios/.gitignore (100%) rename {device_calendar/example => example}/ios/Flutter/AppFrameworkInfo.plist (100%) rename {device_calendar/example => example}/ios/Flutter/Debug.xcconfig (100%) rename {device_calendar/example => example}/ios/Flutter/Release.xcconfig (100%) rename {device_calendar/example => example}/ios/Podfile (100%) rename {device_calendar/example => example}/ios/Podfile.lock (100%) rename {device_calendar/example => example}/ios/Runner.xcodeproj/project.pbxproj (100%) rename {device_calendar/example => example}/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata (100%) rename {device_calendar/example => example}/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (100%) rename {device_calendar/example => example}/ios/Runner.xcworkspace/contents.xcworkspacedata (100%) rename {device_calendar/example => example}/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {device_calendar/example => example}/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename {device_calendar/example => example}/ios/Runner/AppDelegate.swift (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png (100%) rename {device_calendar/example => example}/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md (100%) rename {device_calendar/example => example}/ios/Runner/Base.lproj/LaunchScreen.storyboard (100%) rename {device_calendar/example => example}/ios/Runner/Base.lproj/Main.storyboard (100%) rename {device_calendar/example => example}/ios/Runner/Info.plist (100%) rename {device_calendar/example => example}/ios/Runner/Runner-Bridging-Header.h (100%) rename {device_calendar/example => example}/lib/common/app_routes.dart (100%) rename {device_calendar/example => example}/lib/main.dart (100%) rename {device_calendar/example => example}/lib/presentation/date_time_picker.dart (100%) rename {device_calendar/example => example}/lib/presentation/event_item.dart (100%) rename {device_calendar/example => example}/lib/presentation/input_dropdown.dart (100%) rename {device_calendar/example => example}/lib/presentation/pages/calendar_add.dart (100%) rename {device_calendar/example => example}/lib/presentation/pages/calendar_event.dart (100%) rename {device_calendar/example => example}/lib/presentation/pages/calendar_events.dart (100%) rename {device_calendar/example => example}/lib/presentation/pages/calendars.dart (100%) rename {device_calendar/example => example}/lib/presentation/pages/event_attendee.dart (100%) rename {device_calendar/example => example}/lib/presentation/pages/event_reminders.dart (100%) rename {device_calendar/example => example}/lib/presentation/recurring_event_dialog.dart (100%) rename {device_calendar/example => example}/pubspec.yaml (100%) rename {device_calendar/example => example}/test_driver/app.dart (100%) rename {device_calendar/example => example}/test_driver/app_test.dart (100%) rename {device_calendar/ios => ios}/.gitignore (100%) rename {device_calendar/ios => ios}/Assets/.gitkeep (100%) rename {device_calendar/ios => ios}/Classes/DeviceCalendarPlugin.h (100%) rename {device_calendar/ios => ios}/Classes/DeviceCalendarPlugin.m (100%) rename {device_calendar/ios => ios}/Classes/SwiftDeviceCalendarPlugin.swift (100%) rename {device_calendar/ios => ios}/device_calendar.podspec (100%) rename {device_calendar/lib => lib}/device_calendar.dart (100%) rename {device_calendar/lib => lib}/src/common/calendar_enums.dart (100%) rename {device_calendar/lib => lib}/src/common/error_codes.dart (100%) rename {device_calendar/lib => lib}/src/common/error_messages.dart (100%) rename {device_calendar/lib => lib}/src/common/recurrence_frequency.dart (100%) rename {device_calendar/lib => lib}/src/device_calendar.dart (100%) rename {device_calendar/lib => lib}/src/models/attendee.dart (100%) rename {device_calendar/lib => lib}/src/models/calendar.dart (100%) rename {device_calendar/lib => lib}/src/models/event.dart (100%) rename {device_calendar/lib => lib}/src/models/platform_specifics/android/attendance_status.dart (100%) rename {device_calendar/lib => lib}/src/models/platform_specifics/android/attendee_details.dart (100%) rename {device_calendar/lib => lib}/src/models/platform_specifics/ios/attendance_status.dart (100%) rename {device_calendar/lib => lib}/src/models/platform_specifics/ios/attendee_details.dart (100%) rename {device_calendar/lib => lib}/src/models/recurrence_rule.dart (100%) rename {device_calendar/lib => lib}/src/models/reminder.dart (100%) rename {device_calendar/lib => lib}/src/models/result.dart (100%) rename {device_calendar/lib => lib}/src/models/retrieve_events_params.dart (100%) rename device_calendar/pubspec.yaml => pubspec.yaml (100%) rename {device_calendar/test => test}/device_calendar_test.dart (100%) rename {device_calendar/test_driver => test_driver}/app.dart (100%) diff --git a/.gitignore b/.gitignore index dc649c50..8afe5ddc 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,6 @@ pubspec.lock # If you don't generate documentation locally you can remove this line. doc/api/ device_calendar.code-workspace -device_calendar/example/.flutter-plugins-dependencies -device_calendar/example/ios/Flutter/flutter_export_environment.sh -device_calendar/example/ios/Flutter/Flutter.podspec +example/.flutter-plugins-dependencies +example/ios/Flutter/flutter_export_environment.sh +example/ios/Flutter/Flutter.podspec diff --git a/device_calendar/CHANGELOG.md b/CHANGELOG.md similarity index 99% rename from device_calendar/CHANGELOG.md rename to CHANGELOG.md index 37f474b3..e86a0f21 100644 --- a/device_calendar/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## 3.2.0 * Added time zone support -* Project clean up +* Project directory and code clean up ## 3.1.0 6th March 2020 - Bug fixes and new features diff --git a/device_calendar/LICENSE b/LICENSE similarity index 100% rename from device_calendar/LICENSE rename to LICENSE diff --git a/device_calendar/README.md b/README.md similarity index 100% rename from device_calendar/README.md rename to README.md diff --git a/device_calendar/analysis_options.yaml b/analysis_options.yaml similarity index 100% rename from device_calendar/analysis_options.yaml rename to analysis_options.yaml diff --git a/device_calendar/android/.gitignore b/android/.gitignore similarity index 100% rename from device_calendar/android/.gitignore rename to android/.gitignore diff --git a/device_calendar/android/build.gradle b/android/build.gradle similarity index 100% rename from device_calendar/android/build.gradle rename to android/build.gradle diff --git a/device_calendar/android/gradle.properties b/android/gradle.properties similarity index 100% rename from device_calendar/android/gradle.properties rename to android/gradle.properties diff --git a/device_calendar/android/gradle/wrapper/gradle-wrapper.jar b/android/gradle/wrapper/gradle-wrapper.jar similarity index 100% rename from device_calendar/android/gradle/wrapper/gradle-wrapper.jar rename to android/gradle/wrapper/gradle-wrapper.jar diff --git a/device_calendar/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from device_calendar/android/gradle/wrapper/gradle-wrapper.properties rename to android/gradle/wrapper/gradle-wrapper.properties diff --git a/device_calendar/android/gradlew b/android/gradlew similarity index 100% rename from device_calendar/android/gradlew rename to android/gradlew diff --git a/device_calendar/android/gradlew.bat b/android/gradlew.bat similarity index 100% rename from device_calendar/android/gradlew.bat rename to android/gradlew.bat diff --git a/device_calendar/android/settings.gradle b/android/settings.gradle similarity index 100% rename from device_calendar/android/settings.gradle rename to android/settings.gradle diff --git a/device_calendar/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml similarity index 100% rename from device_calendar/android/src/main/AndroidManifest.xml rename to android/src/main/AndroidManifest.xml diff --git a/device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/CalendarDelegate.kt b/android/src/main/kotlin/com/builttoroam/devicecalendar/CalendarDelegate.kt similarity index 100% rename from device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/CalendarDelegate.kt rename to android/src/main/kotlin/com/builttoroam/devicecalendar/CalendarDelegate.kt diff --git a/device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/DayOfWeekSerializer.kt b/android/src/main/kotlin/com/builttoroam/devicecalendar/DayOfWeekSerializer.kt similarity index 100% rename from device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/DayOfWeekSerializer.kt rename to android/src/main/kotlin/com/builttoroam/devicecalendar/DayOfWeekSerializer.kt diff --git a/device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/DeviceCalendarPlugin.kt b/android/src/main/kotlin/com/builttoroam/devicecalendar/DeviceCalendarPlugin.kt similarity index 100% rename from device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/DeviceCalendarPlugin.kt rename to android/src/main/kotlin/com/builttoroam/devicecalendar/DeviceCalendarPlugin.kt diff --git a/device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/RecurrenceFrequencySerializer.kt b/android/src/main/kotlin/com/builttoroam/devicecalendar/RecurrenceFrequencySerializer.kt similarity index 100% rename from device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/RecurrenceFrequencySerializer.kt rename to android/src/main/kotlin/com/builttoroam/devicecalendar/RecurrenceFrequencySerializer.kt diff --git a/device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/common/Constants.kt b/android/src/main/kotlin/com/builttoroam/devicecalendar/common/Constants.kt similarity index 100% rename from device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/common/Constants.kt rename to android/src/main/kotlin/com/builttoroam/devicecalendar/common/Constants.kt diff --git a/device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/common/DayOfWeek.kt b/android/src/main/kotlin/com/builttoroam/devicecalendar/common/DayOfWeek.kt similarity index 100% rename from device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/common/DayOfWeek.kt rename to android/src/main/kotlin/com/builttoroam/devicecalendar/common/DayOfWeek.kt diff --git a/device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/common/ErrorCodes.kt b/android/src/main/kotlin/com/builttoroam/devicecalendar/common/ErrorCodes.kt similarity index 100% rename from device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/common/ErrorCodes.kt rename to android/src/main/kotlin/com/builttoroam/devicecalendar/common/ErrorCodes.kt diff --git a/device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/common/ErrorMessages.kt b/android/src/main/kotlin/com/builttoroam/devicecalendar/common/ErrorMessages.kt similarity index 100% rename from device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/common/ErrorMessages.kt rename to android/src/main/kotlin/com/builttoroam/devicecalendar/common/ErrorMessages.kt diff --git a/device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/common/RecurrenceFrequency.kt b/android/src/main/kotlin/com/builttoroam/devicecalendar/common/RecurrenceFrequency.kt similarity index 100% rename from device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/common/RecurrenceFrequency.kt rename to android/src/main/kotlin/com/builttoroam/devicecalendar/common/RecurrenceFrequency.kt diff --git a/device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/models/Attendee.kt b/android/src/main/kotlin/com/builttoroam/devicecalendar/models/Attendee.kt similarity index 100% rename from device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/models/Attendee.kt rename to android/src/main/kotlin/com/builttoroam/devicecalendar/models/Attendee.kt diff --git a/device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/models/Calendar.kt b/android/src/main/kotlin/com/builttoroam/devicecalendar/models/Calendar.kt similarity index 100% rename from device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/models/Calendar.kt rename to android/src/main/kotlin/com/builttoroam/devicecalendar/models/Calendar.kt diff --git a/device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/models/CalendarMethodsParametersCacheModel.kt b/android/src/main/kotlin/com/builttoroam/devicecalendar/models/CalendarMethodsParametersCacheModel.kt similarity index 100% rename from device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/models/CalendarMethodsParametersCacheModel.kt rename to android/src/main/kotlin/com/builttoroam/devicecalendar/models/CalendarMethodsParametersCacheModel.kt diff --git a/device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/models/Event.kt b/android/src/main/kotlin/com/builttoroam/devicecalendar/models/Event.kt similarity index 100% rename from device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/models/Event.kt rename to android/src/main/kotlin/com/builttoroam/devicecalendar/models/Event.kt diff --git a/device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/models/RecurrenceRule.kt b/android/src/main/kotlin/com/builttoroam/devicecalendar/models/RecurrenceRule.kt similarity index 100% rename from device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/models/RecurrenceRule.kt rename to android/src/main/kotlin/com/builttoroam/devicecalendar/models/RecurrenceRule.kt diff --git a/device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/models/Reminder.kt b/android/src/main/kotlin/com/builttoroam/devicecalendar/models/Reminder.kt similarity index 100% rename from device_calendar/android/src/main/kotlin/com/builttoroam/devicecalendar/models/Reminder.kt rename to android/src/main/kotlin/com/builttoroam/devicecalendar/models/Reminder.kt diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c3fc51d2..8f2933ed 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -31,13 +31,13 @@ stages: displayName: 'Flutter build - Android' inputs: target: 'aab' - projectDirectory: 'device_calendar/example' + projectDirectory: 'example' - task: FlutterBuild@0 displayName: 'Flutter build - iOS' inputs: target: 'ios' - projectDirectory: 'device_calendar/example' + projectDirectory: 'example' iosCodesign: false # -----------CD Pre-release ----------- @@ -60,10 +60,10 @@ stages: inputs: targetType: 'inline' script: | - [string] $version = select-string -path "$(Build.SourcesDirectory)/device_calendar/pubspec.yaml" -pattern "$(versionNumberRegex)" | %{ $_.Matches[0].Value } + [string] $version = select-string -path "$(Build.SourcesDirectory)/pubspec.yaml" -pattern "$(versionNumberRegex)" | %{ $_.Matches[0].Value } Write-Host "##vso[task.setvariable variable=currentVersion]$version" - [string] $pubspecContent = Get-Content -Path "$(Build.SourcesDirectory)/device_calendar/pubspec.yaml" -Raw + [string] $pubspecContent = Get-Content -Path "$(Build.SourcesDirectory)/pubspec.yaml" -Raw Write-Host " (i) Current version: $version" Write-Host " (i) Original pubspec.yaml content: $pubspecContent" @@ -74,14 +74,14 @@ stages: Write-Host " (i) Updated pubspec.yaml content: $newPubspecContent" - $newPubspecContent | Set-Content -Path "$(Build.SourcesDirectory)/device_calendar/pubspec.yaml" + $newPubspecContent | Set-Content -Path "$(Build.SourcesDirectory)/pubspec.yaml" - task: PowerShell@2 displayName: 'Pre-release versioning - CHANGELOG.md' inputs: targetType: 'inline' script: | - [string] $changelogContent = Get-Content -Path "$(Build.SourcesDirectory)/device_calendar/CHANGELOG.md" -Raw + [string] $changelogContent = Get-Content -Path "$(Build.SourcesDirectory)/CHANGELOG.md" -Raw Write-Host " (i) Current version: $env.currentVersion" Write-Host " (i) Original CHANGELOG.md content: $changelogContent" @@ -90,7 +90,7 @@ stages: Write-Host " (i) Updated CHANGELOG.md content: $newChangelogContent" - $newChangelogContent | Set-Content -Path "$(Build.SourcesDirectory)/device_calendar/CHANGELOG.md" + $newChangelogContent | Set-Content -Path "$(Build.SourcesDirectory)/CHANGELOG.md" - task: PowerShell@2 displayName: 'Create publisher credentials file' @@ -112,13 +112,13 @@ stages: - task: CmdLine@2 displayName: 'Dry run publish' inputs: - workingDirectory: '$(Build.SourcesDirectory)/device_calendar' + workingDirectory: '$(Build.SourcesDirectory)' script: '$(flutterExecPath) pub publish --dry-run' - task: CmdLine@2 displayName: 'Publish' inputs: - workingDirectory: '$(Build.SourcesDirectory)/device_calendar' + workingDirectory: '$(Build.SourcesDirectory)' script: '$(flutterExecPath) pub publish --force' # ----------- CD Production ----------- @@ -141,7 +141,7 @@ stages: inputs: targetType: 'inline' script: | - [string] $version = select-string -path "$(Build.SourcesDirectory)/device_calendar/pubspec.yaml" -pattern "$(versionNumberRegex)" | %{ $_.Matches[0].Value } + [string] $version = select-string -path "$(Build.SourcesDirectory)/pubspec.yaml" -pattern "$(versionNumberRegex)" | %{ $_.Matches[0].Value } Write-Host "##vso[task.setvariable variable=currentVersion]$version" @@ -150,7 +150,7 @@ stages: inputs: targetType: 'inline' script: | - [string] $summary = select-string -path "$(Build.SourcesDirectory)/device_calendar/CHANGELOG.md" -pattern "($([regex]::escape($env:currentVersion))).*" | %{ $_.Matches[0].Value } + [string] $summary = select-string -path "$(Build.SourcesDirectory)/CHANGELOG.md" -pattern "($([regex]::escape($env:currentVersion))).*" | %{ $_.Matches[0].Value } Write-Host "##vso[task.setvariable variable=versionSummary]$summary" @@ -174,13 +174,13 @@ stages: - task: CmdLine@2 displayName: 'Dry run publish' inputs: - workingDirectory: '$(Build.SourcesDirectory)/device_calendar' + workingDirectory: '$(Build.SourcesDirectory)' script: '$(flutterExecPath) pub publish --dry-run' - task: CmdLine@2 displayName: 'Publish' inputs: - workingDirectory: '$(Build.SourcesDirectory)/device_calendar' + workingDirectory: '$(Build.SourcesDirectory)' script: '$(flutterExecPath) pub publish --force' - task: GitHubReleasePublish@1 diff --git a/device_calendar/device_calendar.iml b/device_calendar.iml similarity index 100% rename from device_calendar/device_calendar.iml rename to device_calendar.iml diff --git a/device_calendar/.gitignore b/device_calendar/.gitignore deleted file mode 100644 index d969c0aa..00000000 --- a/device_calendar/.gitignore +++ /dev/null @@ -1,17 +0,0 @@ -# See https://www.dartlang.org/tools/private-files.html - -# Files and directories created by pub -.idea -.DS_Store -.packages -.pub/ -.vscode/ -build/ -# If you're building an application, you may want to check-in your pubspec.lock -pubspec.lock - -# Directory created by dartdoc -# If you don't generate documentation locally you can remove this line. -doc/api/ - -ios/.generated/ \ No newline at end of file diff --git a/device_calendar/device_calendar_android.iml b/device_calendar_android.iml similarity index 100% rename from device_calendar/device_calendar_android.iml rename to device_calendar_android.iml diff --git a/device_calendar/example/.gitignore b/example/.gitignore similarity index 100% rename from device_calendar/example/.gitignore rename to example/.gitignore diff --git a/device_calendar/example/.metadata b/example/.metadata similarity index 100% rename from device_calendar/example/.metadata rename to example/.metadata diff --git a/device_calendar/example/README.md b/example/README.md similarity index 100% rename from device_calendar/example/README.md rename to example/README.md diff --git a/device_calendar/example/analysis_options.yaml b/example/analysis_options.yaml similarity index 100% rename from device_calendar/example/analysis_options.yaml rename to example/analysis_options.yaml diff --git a/device_calendar/example/android/.gitignore b/example/android/.gitignore similarity index 100% rename from device_calendar/example/android/.gitignore rename to example/android/.gitignore diff --git a/example/android/.idea/caches/build_file_checksums.ser b/example/android/.idea/caches/build_file_checksums.ser new file mode 100644 index 0000000000000000000000000000000000000000..1efc677bb8d8dad04bd0adf19c9270cd7615decb GIT binary patch literal 666 zcmZ4UmVvdnh`~NNKUXg?FQq6yGexf?KR>5fFEb@IQ7^qHF(oHeub?PDD>b=9F91S2 zm1gFoxMk*~I%lLNXBU^|7Q2L-Ts|(GuF1r}QPHR4k|6tMBjjcLst69Rp zlLYcFOjjX89RnLkVc!Z(&SLrFKeNkuZR(mEY)crD^h1kNi;DG=N{aN7ih#E1yQG$- z=HwUTrskFCyXBOYl%y6ZKm)N@KMf)fUyxIpo|#vypORXZnVcG*oS2iEmy%ed4~-9f z?A9;7@bu#vrHaKfj`T(Sd|rN_gh3!DAE*};Sp}&@C7G$krEs^toA~&C^^pRRZ8G+J zr>{SnQo^8x;Z~>z^$~H7VayfTo}2v)n^;~paL#!1!>O)>K@gAX-m`ZtMAf6u&bEGZ jsya_78R){qf&v`g*&1>8{}yu%-W`31ZaY}29;g5ShO_Sq literal 0 HcmV?d00001 diff --git a/example/android/.idea/codeStyles/Project.xml b/example/android/.idea/codeStyles/Project.xml new file mode 100644 index 00000000..681f41ae --- /dev/null +++ b/example/android/.idea/codeStyles/Project.xml @@ -0,0 +1,116 @@ + + + + + + + +
+ + + + xmlns:android + + ^$ + + + +
+
+ + + + xmlns:.* + + ^$ + + + BY_NAME + +
+
+ + + + .*:id + + http://schemas.android.com/apk/res/android + + + +
+
+ + + + .*:name + + http://schemas.android.com/apk/res/android + + + +
+
+ + + + name + + ^$ + + + +
+
+ + + + style + + ^$ + + + +
+
+ + + + .* + + ^$ + + + BY_NAME + +
+
+ + + + .* + + http://schemas.android.com/apk/res/android + + + ANDROID_ATTRIBUTE_ORDER + +
+
+ + + + .* + + .* + + + BY_NAME + +
+
+
+
+
+
\ No newline at end of file diff --git a/example/android/.idea/gradle.xml b/example/android/.idea/gradle.xml new file mode 100644 index 00000000..7f7a0d67 --- /dev/null +++ b/example/android/.idea/gradle.xml @@ -0,0 +1,21 @@ + + + + + + + \ No newline at end of file diff --git a/example/android/.idea/misc.xml b/example/android/.idea/misc.xml new file mode 100644 index 00000000..7bfef59d --- /dev/null +++ b/example/android/.idea/misc.xml @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/example/android/.idea/modules.xml b/example/android/.idea/modules.xml new file mode 100644 index 00000000..c34eb2fe --- /dev/null +++ b/example/android/.idea/modules.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/example/android/.idea/runConfigurations.xml b/example/android/.idea/runConfigurations.xml new file mode 100644 index 00000000..7f68460d --- /dev/null +++ b/example/android/.idea/runConfigurations.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/example/android/.idea/vcs.xml b/example/android/.idea/vcs.xml new file mode 100644 index 00000000..c2365ab1 --- /dev/null +++ b/example/android/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/device_calendar/example/android/app/build.gradle b/example/android/app/build.gradle similarity index 100% rename from device_calendar/example/android/app/build.gradle rename to example/android/app/build.gradle diff --git a/device_calendar/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml similarity index 100% rename from device_calendar/example/android/app/src/main/AndroidManifest.xml rename to example/android/app/src/main/AndroidManifest.xml diff --git a/device_calendar/example/android/app/src/main/kotlin/com/builttoroam/devicecalendarexample/MainActivity.kt b/example/android/app/src/main/kotlin/com/builttoroam/devicecalendarexample/MainActivity.kt similarity index 100% rename from device_calendar/example/android/app/src/main/kotlin/com/builttoroam/devicecalendarexample/MainActivity.kt rename to example/android/app/src/main/kotlin/com/builttoroam/devicecalendarexample/MainActivity.kt diff --git a/device_calendar/example/android/app/src/main/res/drawable/launch_background.xml b/example/android/app/src/main/res/drawable/launch_background.xml similarity index 100% rename from device_calendar/example/android/app/src/main/res/drawable/launch_background.xml rename to example/android/app/src/main/res/drawable/launch_background.xml diff --git a/device_calendar/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from device_calendar/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png rename to example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/device_calendar/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from device_calendar/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png rename to example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/device_calendar/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from device_calendar/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png rename to example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/device_calendar/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from device_calendar/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png rename to example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/device_calendar/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from device_calendar/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png rename to example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/device_calendar/example/android/app/src/main/res/values/styles.xml b/example/android/app/src/main/res/values/styles.xml similarity index 100% rename from device_calendar/example/android/app/src/main/res/values/styles.xml rename to example/android/app/src/main/res/values/styles.xml diff --git a/device_calendar/example/android/build.gradle b/example/android/build.gradle similarity index 100% rename from device_calendar/example/android/build.gradle rename to example/android/build.gradle diff --git a/device_calendar/example/android/gradle.properties b/example/android/gradle.properties similarity index 100% rename from device_calendar/example/android/gradle.properties rename to example/android/gradle.properties diff --git a/device_calendar/example/android/gradle/wrapper/gradle-wrapper.jar b/example/android/gradle/wrapper/gradle-wrapper.jar similarity index 100% rename from device_calendar/example/android/gradle/wrapper/gradle-wrapper.jar rename to example/android/gradle/wrapper/gradle-wrapper.jar diff --git a/device_calendar/example/android/gradle/wrapper/gradle-wrapper.properties b/example/android/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from device_calendar/example/android/gradle/wrapper/gradle-wrapper.properties rename to example/android/gradle/wrapper/gradle-wrapper.properties diff --git a/device_calendar/example/android/gradlew b/example/android/gradlew similarity index 100% rename from device_calendar/example/android/gradlew rename to example/android/gradlew diff --git a/device_calendar/example/android/gradlew.bat b/example/android/gradlew.bat similarity index 100% rename from device_calendar/example/android/gradlew.bat rename to example/android/gradlew.bat diff --git a/device_calendar/example/android/settings.gradle b/example/android/settings.gradle similarity index 100% rename from device_calendar/example/android/settings.gradle rename to example/android/settings.gradle diff --git a/device_calendar/example/device_calendar_example.iml b/example/device_calendar_example.iml similarity index 100% rename from device_calendar/example/device_calendar_example.iml rename to example/device_calendar_example.iml diff --git a/device_calendar/example/device_calendar_example_android.iml b/example/device_calendar_example_android.iml similarity index 100% rename from device_calendar/example/device_calendar_example_android.iml rename to example/device_calendar_example_android.iml diff --git a/device_calendar/example/ios/.gitignore b/example/ios/.gitignore similarity index 100% rename from device_calendar/example/ios/.gitignore rename to example/ios/.gitignore diff --git a/device_calendar/example/ios/Flutter/AppFrameworkInfo.plist b/example/ios/Flutter/AppFrameworkInfo.plist similarity index 100% rename from device_calendar/example/ios/Flutter/AppFrameworkInfo.plist rename to example/ios/Flutter/AppFrameworkInfo.plist diff --git a/device_calendar/example/ios/Flutter/Debug.xcconfig b/example/ios/Flutter/Debug.xcconfig similarity index 100% rename from device_calendar/example/ios/Flutter/Debug.xcconfig rename to example/ios/Flutter/Debug.xcconfig diff --git a/device_calendar/example/ios/Flutter/Release.xcconfig b/example/ios/Flutter/Release.xcconfig similarity index 100% rename from device_calendar/example/ios/Flutter/Release.xcconfig rename to example/ios/Flutter/Release.xcconfig diff --git a/device_calendar/example/ios/Podfile b/example/ios/Podfile similarity index 100% rename from device_calendar/example/ios/Podfile rename to example/ios/Podfile diff --git a/device_calendar/example/ios/Podfile.lock b/example/ios/Podfile.lock similarity index 100% rename from device_calendar/example/ios/Podfile.lock rename to example/ios/Podfile.lock diff --git a/device_calendar/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj similarity index 100% rename from device_calendar/example/ios/Runner.xcodeproj/project.pbxproj rename to example/ios/Runner.xcodeproj/project.pbxproj diff --git a/device_calendar/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from device_calendar/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/device_calendar/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from device_calendar/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/device_calendar/example/ios/Runner.xcworkspace/contents.xcworkspacedata b/example/ios/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from device_calendar/example/ios/Runner.xcworkspace/contents.xcworkspacedata rename to example/ios/Runner.xcworkspace/contents.xcworkspacedata diff --git a/device_calendar/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from device_calendar/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/device_calendar/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from device_calendar/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/device_calendar/example/ios/Runner/AppDelegate.swift b/example/ios/Runner/AppDelegate.swift similarity index 100% rename from device_calendar/example/ios/Runner/AppDelegate.swift rename to example/ios/Runner/AppDelegate.swift diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png rename to example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png rename to example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png rename to example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png rename to example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png rename to example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png rename to example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png rename to example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png rename to example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png rename to example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png rename to example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png rename to example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png rename to example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png rename to example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png rename to example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png rename to example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json rename to example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png rename to example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png rename to example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png rename to example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png diff --git a/device_calendar/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md similarity index 100% rename from device_calendar/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md rename to example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md diff --git a/device_calendar/example/ios/Runner/Base.lproj/LaunchScreen.storyboard b/example/ios/Runner/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from device_calendar/example/ios/Runner/Base.lproj/LaunchScreen.storyboard rename to example/ios/Runner/Base.lproj/LaunchScreen.storyboard diff --git a/device_calendar/example/ios/Runner/Base.lproj/Main.storyboard b/example/ios/Runner/Base.lproj/Main.storyboard similarity index 100% rename from device_calendar/example/ios/Runner/Base.lproj/Main.storyboard rename to example/ios/Runner/Base.lproj/Main.storyboard diff --git a/device_calendar/example/ios/Runner/Info.plist b/example/ios/Runner/Info.plist similarity index 100% rename from device_calendar/example/ios/Runner/Info.plist rename to example/ios/Runner/Info.plist diff --git a/device_calendar/example/ios/Runner/Runner-Bridging-Header.h b/example/ios/Runner/Runner-Bridging-Header.h similarity index 100% rename from device_calendar/example/ios/Runner/Runner-Bridging-Header.h rename to example/ios/Runner/Runner-Bridging-Header.h diff --git a/device_calendar/example/lib/common/app_routes.dart b/example/lib/common/app_routes.dart similarity index 100% rename from device_calendar/example/lib/common/app_routes.dart rename to example/lib/common/app_routes.dart diff --git a/device_calendar/example/lib/main.dart b/example/lib/main.dart similarity index 100% rename from device_calendar/example/lib/main.dart rename to example/lib/main.dart diff --git a/device_calendar/example/lib/presentation/date_time_picker.dart b/example/lib/presentation/date_time_picker.dart similarity index 100% rename from device_calendar/example/lib/presentation/date_time_picker.dart rename to example/lib/presentation/date_time_picker.dart diff --git a/device_calendar/example/lib/presentation/event_item.dart b/example/lib/presentation/event_item.dart similarity index 100% rename from device_calendar/example/lib/presentation/event_item.dart rename to example/lib/presentation/event_item.dart diff --git a/device_calendar/example/lib/presentation/input_dropdown.dart b/example/lib/presentation/input_dropdown.dart similarity index 100% rename from device_calendar/example/lib/presentation/input_dropdown.dart rename to example/lib/presentation/input_dropdown.dart diff --git a/device_calendar/example/lib/presentation/pages/calendar_add.dart b/example/lib/presentation/pages/calendar_add.dart similarity index 100% rename from device_calendar/example/lib/presentation/pages/calendar_add.dart rename to example/lib/presentation/pages/calendar_add.dart diff --git a/device_calendar/example/lib/presentation/pages/calendar_event.dart b/example/lib/presentation/pages/calendar_event.dart similarity index 100% rename from device_calendar/example/lib/presentation/pages/calendar_event.dart rename to example/lib/presentation/pages/calendar_event.dart diff --git a/device_calendar/example/lib/presentation/pages/calendar_events.dart b/example/lib/presentation/pages/calendar_events.dart similarity index 100% rename from device_calendar/example/lib/presentation/pages/calendar_events.dart rename to example/lib/presentation/pages/calendar_events.dart diff --git a/device_calendar/example/lib/presentation/pages/calendars.dart b/example/lib/presentation/pages/calendars.dart similarity index 100% rename from device_calendar/example/lib/presentation/pages/calendars.dart rename to example/lib/presentation/pages/calendars.dart diff --git a/device_calendar/example/lib/presentation/pages/event_attendee.dart b/example/lib/presentation/pages/event_attendee.dart similarity index 100% rename from device_calendar/example/lib/presentation/pages/event_attendee.dart rename to example/lib/presentation/pages/event_attendee.dart diff --git a/device_calendar/example/lib/presentation/pages/event_reminders.dart b/example/lib/presentation/pages/event_reminders.dart similarity index 100% rename from device_calendar/example/lib/presentation/pages/event_reminders.dart rename to example/lib/presentation/pages/event_reminders.dart diff --git a/device_calendar/example/lib/presentation/recurring_event_dialog.dart b/example/lib/presentation/recurring_event_dialog.dart similarity index 100% rename from device_calendar/example/lib/presentation/recurring_event_dialog.dart rename to example/lib/presentation/recurring_event_dialog.dart diff --git a/device_calendar/example/pubspec.yaml b/example/pubspec.yaml similarity index 100% rename from device_calendar/example/pubspec.yaml rename to example/pubspec.yaml diff --git a/device_calendar/example/test_driver/app.dart b/example/test_driver/app.dart similarity index 100% rename from device_calendar/example/test_driver/app.dart rename to example/test_driver/app.dart diff --git a/device_calendar/example/test_driver/app_test.dart b/example/test_driver/app_test.dart similarity index 100% rename from device_calendar/example/test_driver/app_test.dart rename to example/test_driver/app_test.dart diff --git a/device_calendar/ios/.gitignore b/ios/.gitignore similarity index 100% rename from device_calendar/ios/.gitignore rename to ios/.gitignore diff --git a/device_calendar/ios/Assets/.gitkeep b/ios/Assets/.gitkeep similarity index 100% rename from device_calendar/ios/Assets/.gitkeep rename to ios/Assets/.gitkeep diff --git a/device_calendar/ios/Classes/DeviceCalendarPlugin.h b/ios/Classes/DeviceCalendarPlugin.h similarity index 100% rename from device_calendar/ios/Classes/DeviceCalendarPlugin.h rename to ios/Classes/DeviceCalendarPlugin.h diff --git a/device_calendar/ios/Classes/DeviceCalendarPlugin.m b/ios/Classes/DeviceCalendarPlugin.m similarity index 100% rename from device_calendar/ios/Classes/DeviceCalendarPlugin.m rename to ios/Classes/DeviceCalendarPlugin.m diff --git a/device_calendar/ios/Classes/SwiftDeviceCalendarPlugin.swift b/ios/Classes/SwiftDeviceCalendarPlugin.swift similarity index 100% rename from device_calendar/ios/Classes/SwiftDeviceCalendarPlugin.swift rename to ios/Classes/SwiftDeviceCalendarPlugin.swift diff --git a/device_calendar/ios/device_calendar.podspec b/ios/device_calendar.podspec similarity index 100% rename from device_calendar/ios/device_calendar.podspec rename to ios/device_calendar.podspec diff --git a/device_calendar/lib/device_calendar.dart b/lib/device_calendar.dart similarity index 100% rename from device_calendar/lib/device_calendar.dart rename to lib/device_calendar.dart diff --git a/device_calendar/lib/src/common/calendar_enums.dart b/lib/src/common/calendar_enums.dart similarity index 100% rename from device_calendar/lib/src/common/calendar_enums.dart rename to lib/src/common/calendar_enums.dart diff --git a/device_calendar/lib/src/common/error_codes.dart b/lib/src/common/error_codes.dart similarity index 100% rename from device_calendar/lib/src/common/error_codes.dart rename to lib/src/common/error_codes.dart diff --git a/device_calendar/lib/src/common/error_messages.dart b/lib/src/common/error_messages.dart similarity index 100% rename from device_calendar/lib/src/common/error_messages.dart rename to lib/src/common/error_messages.dart diff --git a/device_calendar/lib/src/common/recurrence_frequency.dart b/lib/src/common/recurrence_frequency.dart similarity index 100% rename from device_calendar/lib/src/common/recurrence_frequency.dart rename to lib/src/common/recurrence_frequency.dart diff --git a/device_calendar/lib/src/device_calendar.dart b/lib/src/device_calendar.dart similarity index 100% rename from device_calendar/lib/src/device_calendar.dart rename to lib/src/device_calendar.dart diff --git a/device_calendar/lib/src/models/attendee.dart b/lib/src/models/attendee.dart similarity index 100% rename from device_calendar/lib/src/models/attendee.dart rename to lib/src/models/attendee.dart diff --git a/device_calendar/lib/src/models/calendar.dart b/lib/src/models/calendar.dart similarity index 100% rename from device_calendar/lib/src/models/calendar.dart rename to lib/src/models/calendar.dart diff --git a/device_calendar/lib/src/models/event.dart b/lib/src/models/event.dart similarity index 100% rename from device_calendar/lib/src/models/event.dart rename to lib/src/models/event.dart diff --git a/device_calendar/lib/src/models/platform_specifics/android/attendance_status.dart b/lib/src/models/platform_specifics/android/attendance_status.dart similarity index 100% rename from device_calendar/lib/src/models/platform_specifics/android/attendance_status.dart rename to lib/src/models/platform_specifics/android/attendance_status.dart diff --git a/device_calendar/lib/src/models/platform_specifics/android/attendee_details.dart b/lib/src/models/platform_specifics/android/attendee_details.dart similarity index 100% rename from device_calendar/lib/src/models/platform_specifics/android/attendee_details.dart rename to lib/src/models/platform_specifics/android/attendee_details.dart diff --git a/device_calendar/lib/src/models/platform_specifics/ios/attendance_status.dart b/lib/src/models/platform_specifics/ios/attendance_status.dart similarity index 100% rename from device_calendar/lib/src/models/platform_specifics/ios/attendance_status.dart rename to lib/src/models/platform_specifics/ios/attendance_status.dart diff --git a/device_calendar/lib/src/models/platform_specifics/ios/attendee_details.dart b/lib/src/models/platform_specifics/ios/attendee_details.dart similarity index 100% rename from device_calendar/lib/src/models/platform_specifics/ios/attendee_details.dart rename to lib/src/models/platform_specifics/ios/attendee_details.dart diff --git a/device_calendar/lib/src/models/recurrence_rule.dart b/lib/src/models/recurrence_rule.dart similarity index 100% rename from device_calendar/lib/src/models/recurrence_rule.dart rename to lib/src/models/recurrence_rule.dart diff --git a/device_calendar/lib/src/models/reminder.dart b/lib/src/models/reminder.dart similarity index 100% rename from device_calendar/lib/src/models/reminder.dart rename to lib/src/models/reminder.dart diff --git a/device_calendar/lib/src/models/result.dart b/lib/src/models/result.dart similarity index 100% rename from device_calendar/lib/src/models/result.dart rename to lib/src/models/result.dart diff --git a/device_calendar/lib/src/models/retrieve_events_params.dart b/lib/src/models/retrieve_events_params.dart similarity index 100% rename from device_calendar/lib/src/models/retrieve_events_params.dart rename to lib/src/models/retrieve_events_params.dart diff --git a/device_calendar/pubspec.yaml b/pubspec.yaml similarity index 100% rename from device_calendar/pubspec.yaml rename to pubspec.yaml diff --git a/device_calendar/test/device_calendar_test.dart b/test/device_calendar_test.dart similarity index 100% rename from device_calendar/test/device_calendar_test.dart rename to test/device_calendar_test.dart diff --git a/device_calendar/test_driver/app.dart b/test_driver/app.dart similarity index 100% rename from device_calendar/test_driver/app.dart rename to test_driver/app.dart From 2a7a9ae94853fd1b1c6df6ca423ccfcd08f62622 Mon Sep 17 00:00:00 2001 From: Brett Lim Date: Fri, 3 Apr 2020 15:22:33 +1100 Subject: [PATCH 2/2] Update remaining items --- CHANGELOG.md | 44 ++++++++++++++++++++++---------------------- README.md | 4 ++-- azure-pipelines.yml | 2 +- example/README.md | 2 +- pubspec.yaml | 2 +- 5 files changed, 27 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e86a0f21..4d78a113 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,26 +3,26 @@ ## 3.2.0 * Added time zone support -* Project directory and code clean up +* Project hierarchy update and clean up -## 3.1.0 6th March 2020 - Bug fixes and new features +## 3.1.0 25th March 2020 - Bug fixes and new features -* Boolean variable `isDefault` added for issue [145](https://github.com/builttoroam/flutter_plugins/issues/145) (**NOTE**: This is not supported Android API 16 or lower, `isDefault` will always be false) -* Events with 'null' title now defaults to 'New Event', issue [126](https://github.com/builttoroam/flutter_plugins/issues/126) -* Updated property summaries for issues [121](https://github.com/builttoroam/flutter_plugins/issues/121) and [122](https://github.com/builttoroam/flutter_plugins/issues/122) -* Updated example documentation for issue [119](https://github.com/builttoroam/flutter_plugins/issues/119) +* Boolean variable `isDefault` added for issue [145](https://github.com/builttoroam/device_calendar/issues/145) (**NOTE**: This is not supported Android API 16 or lower, `isDefault` will always be false) +* Events with 'null' title now defaults to 'New Event', issue [126](https://github.com/builttoroam/device_calendar/issues/126) +* Updated property summaries for issues [121](https://github.com/builttoroam/device_calendar/issues/121) and [122](https://github.com/builttoroam/device_calendar/issues/122) +* Updated example documentation for issue [119](https://github.com/builttoroam/device_calendar/issues/119) * Read-only calendars cannot be edited or deleted for the example app * Added `DayOfWeekGroup` enum and an extension `getDays` to get corresponding dates of the enum values * Added to retrieve colour for calendars. Thanks to [nadavfima](https://github.com/nadavfima) for the contribution and PR to add colour support for both Android and iOS * Added compatibility with a new Flutter plugin for Android. Thanks to the PR submitted by [RohitKumarMishra](https://github.com/RohitKumarMishra) -* [Android] Fixed all day timezone issue [164](https://github.com/builttoroam/flutter_plugins/issues/164) -* Added support for deleting individual or multiple instances of a recurring event for issue [108](https://github.com/builttoroam/flutter_plugins/issues/108) -* Ability to add local calendars with a desired colour for issue [115](https://github.com/builttoroam/flutter_plugins/issues/115) -* Returns account name and type for each calendars for issue [179](https://github.com/builttoroam/flutter_plugins/issues/179) +* [Android] Fixed all day timezone issue [164](https://github.com/builttoroam/device_calendar/issues/164) +* Added support for deleting individual or multiple instances of a recurring event for issue [108](https://github.com/builttoroam/device_calendar/issues/108) +* Ability to add local calendars with a desired colour for issue [115](https://github.com/builttoroam/device_calendar/issues/115) +* Returns account name and type for each calendars for issue [179](https://github.com/builttoroam/device_calendar/issues/179) ## 3.0.0+3 3rd February 2020 -* Fixed all day conditional check for issue [162](https://github.com/builttoroam/flutter_plugins/issues/162) +* Fixed all day conditional check for issue [162](https://github.com/builttoroam/device_calendar/issues/162) ## 3.0.0+2 30th January 2020 @@ -30,7 +30,7 @@ ## 3.0.0+1 28th January 2020 -* Updated `event.url` property in `createOrUpdateEvent` method to be null-aware for issue [152](https://github.com/builttoroam/flutter_plugins/issues/152) +* Updated `event.url` property in `createOrUpdateEvent` method to be null-aware for issue [152](https://github.com/builttoroam/device_calendar/issues/152) ## 3.0.0 21st January 2020 @@ -55,7 +55,7 @@ ## 1.0.0+3 9th January 2020 * Flutter upgrade to 1.12.13 -* Added an URL input for calendar events for issue [132](https://github.com/builttoroam/flutter_plugins/issues/132) +* Added an URL input for calendar events for issue [132](https://github.com/builttoroam/device_calendar/issues/132) ## 1.0.0+2 30th August 2019 @@ -67,11 +67,11 @@ ## 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/flutter_plugins/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/flutter_plugins/issues/99) -* Made event title optional to fix issue [72](https://github.com/builttoroam/flutter_plugins/issues/72) -* Return information about the organiser of the event as per issue [73](https://github.com/builttoroam/flutter_plugins/issues/73) +* 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) +* Return information about the organiser of the event as per issue [73](https://github.com/builttoroam/device_calendar/issues/73) * Return attendance status of attendees and if they're required for an event. These are details are different across iOS and Android and so are returned within platform-specific objects * Ability to modify attendees for an event * Ability to create reminders for events expressed in minutes before the event starts @@ -86,7 +86,7 @@ ## 0.2.1 5th August 2019 -* [Android] Fixes issue [101](https://github.com/builttoroam/flutter_plugins/issues/101) where plugin results in a crash with headless execution +* [Android] Fixes issue [101](https://github.com/builttoroam/device_calendar/issues/101) where plugin results in a crash with headless execution ## 0.2.0 30th July 2019 @@ -96,7 +96,7 @@ ## 0.1.3 5th July 2019 -* [iOS] Fixes issue [94](https://github.com/builttoroam/flutter_plugins/issues/94) that occurred on 32-bit iOS devices around date of events. Thanks to the PR submitted by [duzenko](https://github.com/duzenko) +* [iOS] Fixes issue [94](https://github.com/builttoroam/device_calendar/issues/94) that occurred on 32-bit iOS devices around date of events. Thanks to the PR submitted by [duzenko](https://github.com/duzenko) ## 0.1.2+2 28th May 2019 @@ -109,11 +109,11 @@ ## 0.1.2 - 16th May 2019 -* [Android] An updated fix to address issue [79](https://github.com/builttoroam/flutter_plugins/issues/79), thanks to the PR submitted by [Gerry High](https://github.com/gerryhigh) +* [Android] An updated fix to address issue [79](https://github.com/builttoroam/device_calendar/issues/79), thanks to the PR submitted by [Gerry High](https://github.com/gerryhigh) ## 0.1.1 - 1st March 2019 -* Fixed issue [79](https://github.com/builttoroam/flutter_plugins/issues/79) where on Android, the plugin was indicating that it was handling permissions that it shouldn't have +* Fixed issue [79](https://github.com/builttoroam/device_calendar/issues/79) where on Android, the plugin was indicating that it was handling permissions that it shouldn't have ## 0.1.0 - 26th February 2019 @@ -127,7 +127,7 @@ ## 0.0.7 - 16th November 2018 -* Fixes issue [##67](https://github.com/builttoroam/flutter_plugins/issues/67) and [##68](https://github.com/builttoroam/flutter_plugins/issues/68). Thanks to PR submitted by huzhiren. +* Fixes issue [##67](https://github.com/builttoroam/device_calendar/issues/67) and [##68](https://github.com/builttoroam/device_calendar/issues/68). Thanks to PR submitted by huzhiren. ## 0.0.6 - 18th June 2018 diff --git a/README.md b/README.md index 12541f3f..c89bac21 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Device Calendar Plugin -[![pub package](https://img.shields.io/pub/v/device_calendar.svg)](https://pub.dartlang.org/packages/device_calendar) [![Build Status](https://dev.azure.com/builttoroam/Flutter%20Plugins/_apis/build/status/Device%20Calendar)](https://dev.azure.com/builttoroam/Flutter%20Plugins/_build/latest?definitionId=106) +[![pub package](https://img.shields.io/pub/v/device_calendar.svg)](https://pub.dartlang.org/packages/device_calendar) [![Build Status](https://dev.azure.com/builttoroam/Flutter%20Plugins/_apis/build/status/Device%20Calendar)](https://dev.azure.com/builttoroam/Flutter%20Plugins/_build/latest?definitionId=111) A cross platform plugin for modifying calendars on the user's device. @@ -30,7 +30,7 @@ The following will need to be added to the manifest file for your application to ``` -If you have Proguard enabled, you may need to add the following to your configuration (thanks to [Britannio Jarrett](https://github.com/britannio) who posted about it [here](https://github.com/builttoroam/flutter_plugins/issues/99)) +If you have Proguard enabled, you may need to add the following to your configuration (thanks to [Britannio Jarrett](https://github.com/britannio) who posted about it [here](https://github.com/builttoroam/device_calendar/issues/99)) ``` -keep class com.builttoroam.devicecalendar.** { *; } diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8f2933ed..7b548a5a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -188,7 +188,7 @@ stages: inputs: githubEndpoint: 'GitHub Tagging' manuallySetRepository: false - githubRepository: 'builttoroam/flutter_plugins' + githubRepository: 'builttoroam/device_calendar' githubTag: 'v$(currentVersion)' githubReleaseTitle: '$(versionSummary)' githubReleaseDraft: false diff --git a/example/README.md b/example/README.md index 6ce2dfc5..3bf319dd 100644 --- a/example/README.md +++ b/example/README.md @@ -1,6 +1,6 @@ # Examples -Most of the APIs are covered in [calendar_event.dart](https://github.com/builttoroam/flutter_plugins/blob/master/device_calendar/example/lib/presentation/pages/calendar_event.dart) or [calendar_events.dart](https://github.com/builttoroam/flutter_plugins/blob/master/device_calendar/example/lib/presentation/pages/calendar_events.dart) files in the example app. +Most of the APIs are covered in [calendar_event.dart](https://github.com/builttoroam/device_calendar/blob/master/example/lib/presentation/pages/calendar_event.dart) or [calendar_events.dart](https://github.com/builttoroam/device_calendar/blob/master/example/lib/presentation/pages/calendar_events.dart) files in the example app. You'll be able to get a reference of how the APIs are used. For a full API reference, the documentation can be found at [pub.dev](https://pub.dev/documentation/device_calendar/latest/device_calendar/device_calendar-library.html). diff --git a/pubspec.yaml b/pubspec.yaml index 5af40c0c..c1f35d96 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: device_calendar description: A cross platform plugin for modifying calendars on the user's device. version: 3.2.0 -homepage: https://github.com/builttoroam/flutter_plugins/tree/master/device_calendar +homepage: https://github.com/builttoroam/device_calendar/tree/master dependencies: flutter: