beacons
beacons copied to clipboard
Issues with using this plugin in newest version of flutter
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 https://github.com/loup-v/beacons/pull/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: https://github.com/flutter/flutter/issues/24641#issuecomment-442920402