Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with using this plugin in newest version of flutter #28

Open
tmello01 opened this issue Dec 19, 2018 · 1 comment
Open

Issues with using this plugin in newest version of flutter #28

tmello01 opened this issue Dec 19, 2018 · 1 comment

Comments

@tmello01
Copy link

tmello01 commented Dec 19, 2018

I was having the same initial errors as defined in issue #1. However, after following the instructions, I now no longer get an error, instead don't get a build at all. The Xcode build time doubled, and now the application hangs on the Install and Launch option.

Flutter version: 1.0
CocoaPods version: 1.5.3

I've attached my pod file if that helps.
Podfile.zip

@d-wolf
Copy link

d-wolf commented Mar 6, 2019

You can try this pull request #30.

I needed to add this to the info.plist:

<key>NSLocationAlwaysUsageDescription</key>
<string>Reason why app needs location</string>
<key>NSLocationUsageDescription</key>
<string>Reason why app needs location</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Reason why app needs location</string>
<key>UIBackgroundModes</key>
<array>
    <string>fetch</string>
    <string>location</string>
    <string>remote-notification</string>
</array>

In case of a Dart VM error, this should work: flutter/flutter#24641 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants