Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@ jobs:
brew install xcresultparser
flutter config --enable-swift-package-manager
flutter pub get
cd example/ios
cd example/apps/full-permission/ios
flutter build ios --config-only
cd ../..

- name: Run tests
run: |
xcodebuild test -workspace ./example/ios/Runner.xcworkspace \
xcodebuild test -workspace ./example/apps/full-permission/ios/Runner.xcworkspace \
-scheme EventideTests \
-destination "platform=iOS Simulator,name=${{ env.IPHONE_NAME }},OS=${{ env.IPHONE_OS_VERSION }}" \
-resultBundlePath build/reports/EventideTests.xcresult \
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:

- name: Build and test
run: |
./example/android/gradlew testDebugUnitTest -p ./example/android/
./example/apps/full-permission/android/gradlew testDebugUnitTest -p ./example/apps/full-permission/android/

- name: Upload coverage report as artifact
uses: actions/upload-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## 1.x.x
* **Restored ETNotSupportedByPlatform** as it was thrown by `createAttendee()` and `removeAttendee()` methods on iOS.
* **Splitted example app** into 3 "use-case" apps

## 1.0.0
* **Breaking Change - Android Permissions:** Removed default calendar permissions from eventide's `AndroidManifest.xml`. Apps must now declare needed permissions based on their usage:
Expand Down
File renamed without changes.
14 changes: 14 additions & 0 deletions example/apps/full-permission/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# eventide_example

Demonstrates how to use the eventide plugin with full calendar permissions.

## Run example app

Example app is set to use Swift Package Manager by default. Therefore there is no Podfile.

```sh
flutter config --enable-swift-package-manager
flutter pub get
# Mandatory to get a FlutterGeneratedPluginSwiftPackage with a correct iOS minimum version
flutter build ios --config-only --no-codesign
```
File renamed without changes.
File renamed without changes.
738 changes: 738 additions & 0 deletions example/apps/full-permission/ios/Runner.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

53 changes: 53 additions & 0 deletions example/apps/full-permission/ios/Runner/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>eventide_example</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>eventide_example</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSCalendarsFullAccessUsageDescription</key>
<string>We need access to your calendar to add information about your trip.</string>
<key>NSCalendarsUsageDescription</key>
<string>We need access to your calendar to add information about your trip.</string>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:eventide_example/calendar/logic/calendar_cubit.dart';
import 'package:eventide_example/calendar/ui/components/calendar_form.dart';
import 'package:eventide_example_full_permission/calendar/logic/calendar_cubit.dart';
import 'package:eventide_example_full_permission/calendar/ui/components/calendar_form.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:value_state/value_state.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import 'package:calendar_view/calendar_view.dart';
import 'package:eventide/eventide.dart';
import 'package:eventide_example/calendar/logic/calendar_cubit.dart';
import 'package:eventide_example/calendar/ui/components/custom_drawer.dart';
import 'package:eventide_example/event_details/ui/views/event_details_screen.dart';
import 'package:eventide_example/calendar/ui/components/event_form.dart';
import 'package:eventide_example_full_permission/calendar/logic/calendar_cubit.dart';
import 'package:eventide_example_full_permission/calendar/ui/components/custom_drawer.dart';
import 'package:eventide_example_full_permission/event_details/ui/views/event_details_screen.dart';
import 'package:eventide_example_full_permission/calendar/ui/components/event_form.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:value_state/value_state.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import 'dart:io';
import 'dart:math';

import 'package:eventide/eventide.dart';
import 'package:eventide_example/event_details/logic/event_details_cubit.dart';
import 'package:eventide_example/event_details/ui/components/attendee_form.dart';
import 'package:eventide_example_full_permission/event_details/logic/event_details_cubit.dart';
import 'package:eventide_example_full_permission/event_details/ui/components/attendee_form.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:value_state/value_state.dart';
Expand Down
Loading