loup-v / beacons

Flutter beacons plugin for Android and iOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues with using this plugin in newest version of flutter

tmello01 opened this issue · comments

commented

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

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)