Skip to content

Commit

Permalink
Create platform interface and restructure folders to accomodate (#427)
Browse files Browse the repository at this point in the history
* move existing plugin to another folder

* initial commit of platform interface

* add abstract class for platform-specific notification details

* remove method channel implementation

* remove platform notification details

* add periodicallyShow method with related enum to platform interface

* add tests and release notes

* update cirrus script due to restructuring and add platform interface test task

* change osx instance in cirrus script for building ios example
  • Loading branch information
MaikuB authored Jan 7, 2020
1 parent 206e08b commit c888502
Show file tree
Hide file tree
Showing 149 changed files with 269 additions and 361 deletions.
20 changes: 14 additions & 6 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,31 @@ build_example_android_task:
pub_cache:
folder: ~/.pub-cache
build_script:
- cd example
- cd flutter_local_notifications/example
- flutter build apk

build_example_ios_task:
osx_instance:
image: mojave-flutter
image: mojave-xcode-11.3-flutter
pub_cache:
folder: ~/.pub-cache
update_pods_script: pod repo update # to fetch all the latest versions
build_script:
- cd example
- flutter upgrade #workaround until Cirrus has updated to latest stable Flutter SDK
- cd flutter_local_notifications/example
- flutter build ios --no-codesign

test_task:
test_platform_interface_task:
container:
image: cirrusci/flutter:stable
test_script:
- cd flutter_local_notifications_platform_interface
- flutter test

test_plugin_task:
container:
image: cirrusci/flutter:stable
pub_cache:
folder: ~/.pub-cache
test_script: flutter test
test_script:
- cd flutter_local_notifications
- flutter test
12 changes: 0 additions & 12 deletions example/android.iml

This file was deleted.

Binary file removed example/android/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
160 changes: 0 additions & 160 deletions example/android/gradlew

This file was deleted.

90 changes: 0 additions & 90 deletions example/android/gradlew.bat

This file was deleted.

17 changes: 0 additions & 17 deletions example/flutter_local_notifications_example.iml

This file was deleted.

26 changes: 0 additions & 26 deletions example/flutter_local_notifications_example_android.iml

This file was deleted.

18 changes: 0 additions & 18 deletions flutter_local_notifications.iml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,9 @@
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
"${PODS_ROOT}/.symlinks/flutter/ios/Flutter.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Flutter.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit c888502

Please sign in to comment.