mobileappdevhm / dev-team-1-cie-app-in-flutter

Development Team 01 (Flutter)
https://mobileappdevhm.github.io/dev-team-1-cie-app-in-flutter/
8 stars 1 forks source link

Feature -> Export Schedule to ICS - File #181

Closed RedTo closed 6 years ago

RedTo commented 6 years ago

Added a possibility to save schedule as ics file to the downloads folder.

ICS - File could be imported into a calendar.

(Issue: #156)

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 589


Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/utils/fileStore.dart 4 18 22.22%
lib/views/tabs.dart 8 24 33.33%
lib/utils/icsExport.dart 0 27 0.0%
<!-- Total: 13 70 18.57% -->
Files with Coverage Reduction New Missed Lines %
lib/utils/fileStore.dart 1 22.73%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build 587: -1.9%
Covered Lines: 1211
Relevant Lines: 1730

💛 - Coveralls
heatsink commented 6 years ago

Hang on, getting this stack trace compiling for iOS. I will investigate.

Running "flutter packages get" in dev-team-1-cie-app-in-flutter... 11.9s
Launching lib/main.dart on iPhone 7 in debug mode...
Running pod install...                                       0.6s
CocoaPods' output:
↳
      Preparing

    Analyzing dependencies

    Inspecting targets to integrate
      Using `ARCHS` setting to build architectures of target `Pods-Runner`: (`arm64`)

    Fetching external sources
    -> Fetching podspec for `Flutter` from `Pods/.symlinks/flutter/ios`
    -> Fetching podspec for `connectivity` from `Pods/.symlinks/plugins/connectivity-0.3.1/ios`
    -> Fetching podspec for `path_provider` from `Pods/.symlinks/plugins/path_provider-0.4.1/ios`
    -> Fetching podspec for `simple_permissions` from `Pods/.symlinks/plugins/simple_permissions-0.1.5/ios`
    -> Fetching podspec for `url_launcher` from `Pods/.symlinks/plugins/url_launcher-3.0.2/ios`

    Resolving dependencies of `Podfile`
    [!] CocoaPods could not find compatible versions for pod "simple_permissions":
      In Podfile:
        simple_permissions (from `Pods/.symlinks/plugins/simple_permissions-0.1.5/ios`)

    Specs satisfying the `simple_permissions (from `Pods/.symlinks/plugins/simple_permissions-0.1.5/ios`)` dependency were found, but they required a higher minimum deployment target.

    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/molinillo-0.6.4/lib/molinillo/resolution.rb:328:in `raise_error_unless_state'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/molinillo-0.6.4/lib/molinillo/resolution.rb:310:in `block in unwind_for_conflict'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/molinillo-0.6.4/lib/molinillo/resolution.rb:308:in `tap'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/molinillo-0.6.4/lib/molinillo/resolution.rb:308:in `unwind_for_conflict'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/molinillo-0.6.4/lib/molinillo/resolution.rb:684:in `attempt_to_activate'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/molinillo-0.6.4/lib/molinillo/resolution.rb:254:in `process_topmost_state'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/molinillo-0.6.4/lib/molinillo/resolution.rb:182:in `resolve'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/molinillo-0.6.4/lib/molinillo/resolver.rb:43:in `resolve'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/resolver.rb:110:in `resolve'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer/analyzer.rb:770:in `block in resolve_dependencies'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/user_interface.rb:64:in `section'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer/analyzer.rb:767:in `resolve_dependencies'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer/analyzer.rb:85:in `analyze'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer.rb:243:in `analyze'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer.rb:154:in `block in resolve_dependencies'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/user_interface.rb:64:in `section'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer.rb:153:in `resolve_dependencies'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer.rb:116:in `install!'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/command/install.rb:41:in `run'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/command.rb:52:in `run'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/bin/pod:55:in `<top (required)>'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/bin/pod:22:in `load'
    /usr/local/Cellar/cocoapods/1.4.0/libexec/bin/pod:22:in `<main>'
Error output from CocoaPods:
↳

    [!] Automatically assigning platform `ios` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
Error running pod install
Error launching application on iPhone 7.
RedTo commented 6 years ago

Seems like the simple permission package, which I have used to allow the app to write and read to and fro external storage is the problem. Maybe I have forgotten to do something for iOS? Sadly I'm coaching my swim kids at the moment and at home I do not have an internet connection. But I can try to look into it tomorrow, thanks for informing!

Sean Wallace notifications@github.com schrieb am Mi., 20. Juni 2018, 18:18:

Hang on, getting this stack trace compiling for iOS. I will investigate.

Running "flutter packages get" in dev-team-1-cie-app-in-flutter... 11.9s Launching lib/main.dart on iPhone 7 in debug mode... Running pod install... 0.6s CocoaPods' output: ↳ Preparing

Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-Runner`: (`arm64`)

Fetching external sources
-> Fetching podspec for `Flutter` from `Pods/.symlinks/flutter/ios`
-> Fetching podspec for `connectivity` from `Pods/.symlinks/plugins/connectivity-0.3.1/ios`
-> Fetching podspec for `path_provider` from `Pods/.symlinks/plugins/path_provider-0.4.1/ios`
-> Fetching podspec for `simple_permissions` from `Pods/.symlinks/plugins/simple_permissions-0.1.5/ios`
-> Fetching podspec for `url_launcher` from `Pods/.symlinks/plugins/url_launcher-3.0.2/ios`

Resolving dependencies of `Podfile`
[!] CocoaPods could not find compatible versions for pod "simple_permissions":
  In Podfile:
    simple_permissions (from `Pods/.symlinks/plugins/simple_permissions-0.1.5/ios`)

Specs satisfying the `simple_permissions (from `Pods/.symlinks/plugins/simple_permissions-0.1.5/ios`)` dependency were found, but they required a higher minimum deployment target.

/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/molinillo-0.6.4/lib/molinillo/resolution.rb:328:in `raise_error_unless_state'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/molinillo-0.6.4/lib/molinillo/resolution.rb:310:in `block in unwind_for_conflict'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/molinillo-0.6.4/lib/molinillo/resolution.rb:308:in `tap'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/molinillo-0.6.4/lib/molinillo/resolution.rb:308:in `unwind_for_conflict'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/molinillo-0.6.4/lib/molinillo/resolution.rb:684:in `attempt_to_activate'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/molinillo-0.6.4/lib/molinillo/resolution.rb:254:in `process_topmost_state'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/molinillo-0.6.4/lib/molinillo/resolution.rb:182:in `resolve'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/molinillo-0.6.4/lib/molinillo/resolver.rb:43:in `resolve'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/resolver.rb:110:in `resolve'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer/analyzer.rb:770:in `block in resolve_dependencies'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/user_interface.rb:64:in `section'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer/analyzer.rb:767:in `resolve_dependencies'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer/analyzer.rb:85:in `analyze'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer.rb:243:in `analyze'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer.rb:154:in `block in resolve_dependencies'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/user_interface.rb:64:in `section'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer.rb:153:in `resolve_dependencies'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer.rb:116:in `install!'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/command/install.rb:41:in `run'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/command.rb:52:in `run'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/bin/pod:55:in `<top (required)>'
/usr/local/Cellar/cocoapods/1.4.0/libexec/bin/pod:22:in `load'
/usr/local/Cellar/cocoapods/1.4.0/libexec/bin/pod:22:in `<main>'

Error output from CocoaPods: ↳

[!] Automatically assigning platform `ios` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform` <https://guides.cocoapods.org/syntax/podfile.html#platform>.

Error running pod install Error launching application on iPhone 7.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/mobileappdevhm/dev-team-1-cie-app-in-flutter/pull/181#issuecomment-398809749, or mute the thread https://github.com/notifications/unsubscribe-auth/AO7G52MKE_DPynTnyr5H1x3p9VDR1Ukoks5t-nXRgaJpZM4UvXec .

heatsink commented 6 years ago

From the API:

screen shot 2018-06-21 at 8 06 42 pm

This will be fun